Versioning (Interaction Control API)

Versioning (Interaction Control API)

Specify the version of the Interaction Control API in the Accept header of each request. The current version is v5.

Format

Value

Format

Value

Pattern

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

Example (v5)

Accept: application/vnd.newvoicemedia.v5+json

If the Accept header is missing from your request, you will receive a 400 Bad Request error.

How versioning works

When a new version of any endpoint is released, the whole API is versioned. For example, if a new version v{n} is released for a given endpoint, the new version v{n} is supported across the entire API.

Same data format across versions

Some endpoints return the same data format across multiple versions.