When you make a request to Avaya Communications APIs, it will always return a response regarding the resources you have requested, created, or modified. These responses can be in one of these formats: XML, JSON, or CSV.
When something goes wrong during a request, Avaya Communications APIs respond with an HTTP status code, a message describing what went wrong, the error code, and a link to more information regarding the error. Below is an example of an exception response returned by Avaya Communications APIs when a request is made with invalid credentials.