Versioning (Interaction Content 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
Interaction Content API supports versions 2 and 3. Version 1 is limited availability only.
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.