Skip to main content
The API has been implemented using RESTful principles and uses HTTP request methods. All requests to the API receive an HTTP response code to confirm if the request was successful or not. Your API client should handle each response code as required:
  • 2XX codes - the call was successful.
  • 4XX codes - there was an error with the submitted request, such as a missing parameter or invalid value. You should modify requests before retrying.
  • 5XX codes - there was a server error.
If there has been an error, the following JSON object is returned:
errorMsg - includes details of the error and what corrective action to take; for example, if an incorrect icon name has been specified, then the errorMsg includes a list of all the valid icon names. The API has an 8K limit on the length of the request line and header fields sent to an endpoint. If the 8K limit is exceeded, then the request will be rejected and no error code will be returned. You can read more about status codes at HTTP status codes.