Skip to main content
Operata versions the API by URL prefix. Contact data is available under both /v1/ and /v2/. The two versions take the same requests and return different data models.

Endpoint

Parameters

There’s no version header. The version lives in the path, so pin your client to the prefix you tested against.

Response

v1 and v2 differ only in the shape of the contact summary: Query parameters, paging, sorting, and error responses are identical. Detailed contact stats return the same response under both prefixes. Pick v2 for new integrations that want the account, agent, and WebRTC session model. Stay on v1 if you depend on the CTR or contact flow in the single-contact response. The change policy:
  • Additive changes ship in place. New optional fields on responses, new optional query parameters, and new endpoints under an existing version. Your client keeps working without changes.
  • Breaking changes ship under a new prefix. Renamed or removed fields, changed types, and new required parameters go to the next version.
  • Deprecations are announced in the API changelog.

Example

The same query against both versions:

Errors

A path under a prefix with no matching endpoint, such as /v2/data/ccpLogs, returns 404. See Errors for the rest.