API > Response formats

The default response format is a simple XML block. This can be changed by passing the optional parameter 'format' with one of the following valid formats:

  • 'xml' - The default XML block
  • 'json' - Provides a responses structured as a JSON object

In the event of an invalid format being passed to the API request, you will receive the default XML response with an error indication.