xConnect · Version 1.1.3

Authenticated browser API operations

Understand the logged-in state, directory, live, session, initiate, action, history, missed-read and presence operations and their method/permission rules.

18 code-backed guidesExact navigationInterlinked workflows

Guides in this workflow

Follow the guide that matches the exact action, filter, menu change or issue.

Understand authenticated API context

Resolve either an authenticated administrator or client-contact context before returning phone data.

Authenticated staff/client context

Understand administrator calling permission

Require Use internal calling for administrator API operations.

Authenticated staff/client context

Read current phone state

Use the GET state operation to load settings, extension, active incoming call and API URLs.

Authenticated staff/client context

Search the directory API

Use GET with q and optional limit; default limit is 20.

Authenticated staff/client context

Read the Live now API

Use GET with optional limit; default limit is 100.

Authenticated staff/client context

Create a browser SIP session

Use POST to receive the current authorised browser session credentials.

Authenticated staff/client context

Initiate an internal call

Use POST with extension to request an authorised call.

Authenticated staff/client context

Record a call action

Use POST with call UUID, supported action and optional reason.

Authenticated staff/client context

Read call history

Use GET with optional limit; default limit is 25.

Authenticated staff/client context

Mark missed calls read

Use POST with an array or JSON-encoded list of call UUIDs.

Authenticated staff/client context

Update authenticated presence

Use POST with online true/false values.

Authenticated staff/client context

Respect HTTP method restrictions

Use only the required GET or POST method; invalid methods return method-not-allowed.

Authenticated staff/client context

Include current CSRF evidence

Use the returned/current CRM CSRF token for state-changing authenticated requests.

Authenticated staff/client context

Handle authentication-required responses

Prompt the user to sign in when the API returns 401.

Authenticated staff/client context

Handle permission or tenant-isolation responses

Do not retry around a 403; correct permission or ownership.

Authenticated staff/client context

Handle validation responses

Correct extension, call action or request values after a 422 response.

Authenticated staff/client context

Handle rate-limit responses

Wait and reduce request frequency after a 429 response.

Authenticated staff/client context

Handle voice-engine unavailable responses

Restore gateway readiness before retrying a 503 response.

Authenticated staff/client context