Versioning (Agents 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

Agents API supports versions 1.

Whenever a new endpoint version is created, the whole API is versioned. For example, 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.

If the version header is missing, you will receive a 400 Bad Request error.