Response Format

The Tracker returns a standard HTTP code and, if needed, a body in JSON.
The definition of the response is specific for each endpoint.

Errors definition

In case of an error occurs, the body will contain a code and a message field. The code field should be used to catch the error in your code while the message is there only to help the developer with debugging (its content may change over time).

Common HTTP response codes

Please find below, the common HTTP response codes that can be returned by the Marketing Automation Tracker:

HTTP codeType
204Successful request
400Error. Bad request
401Error. Authentication Needed
403Error. Permission denied
405Error. Method not allowed