Skip to main content
ubscribe to receive a notification when a chat is taken by an agent. The payload includes the full chat plus a narrowed agent object - useful for syncing ownership to your CRM. Event name: chatAssigned\ Required token scopes:
  • Create scenarios
  • Manage scenarios on behalf of user
see Authentication

Subscribe

Send the body below to Import Subscription. You only need to change:
  • url (required) - Located under data.actions[0].params.url. Replace {{yourWebhookURL}} with the destination URL that should receive the events.
  • asStatus - Keep "active" to enable the subscription immediately, or "inactive" to save it as an inactive revision.
Import body
A 201 response returns your new subscription - save its _id to manage it later. You can also add an optional authorUid root field (a Texter user UID) to attribute the subscription to a specific user.

Payload

When the event fires, your URL receives an HTTP POST with eventName: "chatAssigned" and the following eventData:
Chat
The chat that was taken. See the Chat object for all fields.
object
A narrowed agent object: id, crmId, email, displayName, roles.
Example payload

Manage this subscription