Webchats

Get webchat configuration by id

GET
/api/webchats/{id}

Fetch a single webchat configuration by _id. Used by the widget management UI.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/webchats/string"
{  "data": {    "_id": "67d3a0b0c0d0e0f0a0b0c0d0",    "name": "Marketing site widget",    "organizationId": "65a0e0e0e0e0e0e0e0e0e0e0",    "isEnabled": true,    "primaryColor": "#1F2937"  }}