Workflow

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.

19 connected guidesLive filterPermission-aware instructions
19 guides
Category

xConnect

Open guide →
Guide

Understand authenticated API context

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

Open guide →
Guide

Understand administrator calling permission

Require Use internal calling for administrator API operations.

Open guide →
Guide

Read current phone state

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

Open guide →
Guide

Search the directory API

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

Open guide →
Guide

Read the Live now API

Use GET with optional limit; default limit is 100.

Open guide →
Guide

Create a browser SIP session

Use POST to receive the current authorised browser session credentials.

Open guide →
Guide

Initiate an internal call

Use POST with extension to request an authorised call.

Open guide →
Guide

Record a call action

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

Open guide →
Guide

Read call history

Use GET with optional limit; default limit is 25.

Open guide →
Guide

Mark missed calls read

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

Open guide →
Guide

Update authenticated presence

Use POST with online true/false values.

Open guide →
Guide

Respect HTTP method restrictions

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

Open guide →
Guide

Include current CSRF evidence

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

Open guide →
Guide

Handle authentication-required responses

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

Open guide →
Guide

Handle permission or tenant-isolation responses

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

Open guide →
Guide

Handle validation responses

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

Open guide →
Guide

Handle rate-limit responses

Wait and reduce request frequency after a 429 response.

Open guide →
Guide

Handle voice-engine unavailable responses

Restore gateway readiness before retrying a 503 response.

Open guide →