Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Versioning is required in the accept header in the following format where n represents the version number you want to access.

Code Block
themeMidnight
Accept: application/vnd.newvoicemedia.v{n}+json


Info

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.