Versioning (Agent Availability API)
Versioning is required in the accept header in the following format where n represents the version number you want to access.
Accept: application/vnd.newvoicemedia.v{n}+json
Currently, the only supported version of Agent Availability API is version 1.
If the version header is missing, you will receive a 400 Bad Request
 error.
Whenever a new endpoint version is created, the whole API is versioned; if there is a new version (v{n}) for a given endpoint, you can assume that the new version (v{n}) of the whole API is supported.
Some endpoints return the same data format amongst different versions.