Automation user authentication for REST API calls

Please read the REST API documentation. It does not use the credentials in URL parameters but in a HTTP Authorization header.