Skip to main content
GET
Get active session

Authorizations

API-Token
string
header
required

16-character API token associated with your OSVI account. Find it in your dashboard under Settings → API.

Query Parameters

customer_id
string
required

Your identifier for the customer.

Example:

"+15551112222"

agent_uuid
string

Optional agent filter. When provided, the response data is a single session object; when omitted, data is keyed by agent UUID.

Example:

"agent_IsZ3Q6Sf_60Eh26XQMGbz-R_og"

Response

Active session(s) found. The shape of data depends on whether agent_uuid was supplied.

success
boolean
Example:

true

data
object

A chat session record.