List events

SDK platic.webhooks.events()

List the 29 events available for webhook subscriptions. They are grouped into 9 categories: conversations, messages, comments, contacts, ads, WhatsApp Flows, cases, WhatsApp templates, and AI providers.

Example

await platic.webhooks.events();

Response

{
  "status": "success",
  "data": {
    "events": [
      "conversation.created",
      "conversation.status.updated",
      "conversation.operation.updated",
      "conversation.owners.updated",
      "conversation.tags.updated",
      "conversation.expired",
      "message.created",
      "message.updated",
      "message.deleted",
      "comment.created",
      "comment.updated",
      "comment.deleted",
      "client.created",
      "client.updated",
      "client.owners.updated",
      "client.tags.updated",
      "client.customFields.updated",
      "referral.received",
      "whatsapp.flows.init",
      "whatsapp.flows.screen_advance",
      "whatsapp.flows.back",
      "whatsapp.flows.exchanges",
      "case.created",
      "case.updated",
      "case.assigned",
      "case.note.created",
      "case.closed",
      "template.status.updated",
      "model_provider.status.updated"
    ],
    "categories": {
      "conversation": [
        "conversation.created",
        "conversation.status.updated",
        "conversation.operation.updated",
        "conversation.owners.updated",
        "conversation.tags.updated",
        "conversation.expired"
      ],
      "message": [
        "message.created",
        "message.updated",
        "message.deleted"
      ],
      "comment": [
        "comment.created",
        "comment.updated",
        "comment.deleted"
      ],
      "client": [
        "client.created",
        "client.updated",
        "client.owners.updated",
        "client.tags.updated",
        "client.customFields.updated"
      ],
      "ads": [
        "referral.received"
      ],
      "whatsappFlow": [
        "whatsapp.flows.init",
        "whatsapp.flows.screen_advance",
        "whatsapp.flows.back",
        "whatsapp.flows.exchanges"
      ],
      "case": [
        "case.created",
        "case.updated",
        "case.assigned",
        "case.note.created",
        "case.closed"
      ],
      "template": [
        "template.status.updated"
      ],
      "modelProvider": [
        "model_provider.status.updated"
      ]
    }
  }
}

Conversations (6):

EventDescription
conversation.createdNew conversation created
conversation.status.updatedConversation status updated (open, pending, finished, spam, …)
conversation.operation.updatedConversation operation / pipeline updated
conversation.owners.updatedConversation owners updated
conversation.tags.updatedConversation tags updated
conversation.expiredConversation expired (24-hour WhatsApp window)

Messages (3):

EventDescription
message.createdNew message created
message.updatedMessage updated
message.deletedMessage deleted — not available yet. The event is declared in the catalog, but no emitter currently fires it. Subscribing produces no events.

Comments (3):

EventDescription
comment.createdNew public comment created by a customer or by the brand
comment.updatedPublic comment content or moderation updated
comment.deletedPublic comment deleted

Customers (5):

EventDescription
client.createdNew customer created
client.updatedCustomer updated
client.owners.updatedCustomer owners updated
client.tags.updatedCustomer tags updated
client.customFields.updatedCustomer custom fields updated

Meta Ads (1):

EventDescription
referral.receivedA customer started a conversation from a Meta ad (Click-to-WhatsApp, Click-to-Messenger, or Instagram ads). Includes ad_id, ctwa_clid, the ad context, and the text the customer sent. Only on channels connected directly with Meta.

WhatsApp Flows (4) — require a response:

EventDescription
whatsapp.flows.initFlow start (action: "INIT" from Meta)
whatsapp.flows.screen_advanceScreen advance (action: "data_exchange")
whatsapp.flows.backReturn to the previous screen (action: "BACK")
whatsapp.flows.exchanges"Umbrella" subscription — receives the three above on a single webhook

Cases (5):

EventDescription
case.createdA case was opened, by the agent, a person, or the API
case.updatedA case's priority, fields, or summary changed
case.assignedA case's assignees changed, or someone took it
case.note.createdA note was added to a case
case.closedA case was closed, by hand or when it expired

WhatsApp templates (1):

EventDescription
template.status.updatedMeta changed the status, category, or quality of a template: approved it, rejected it, paused it…

AI providers (1):

EventDescription
model_provider.status.updatedThe workspace's own key for an AI provider stopped working (rejected, out of credit, or without access to its models) or works again

Errors

?workspace= is not needed: the catalog is the same for every workspace.

Statusdetails.codeWhen it happens
401UNAUTHENTICATEDThe credential is missing or not valid
403FORBIDDENThe person does not have the Integrations module. The message is Missing integrations permission
{
  "code": 403,
  "error": "Forbidden - You don't have permission for this resource",
  "details": {
    "code": "FORBIDDEN",
    "message": "Missing integrations permission"
  }
}

The general error format is in Errors.

Use these pages to implement your endpoint:

  • Delivery and signatures: headers, envelope, and validation with secret.
  • Payloads: structure of conversation.*, message.*, comment.*, client.*, referral.received, case.*, template.status.updated, and model_provider.status.updated.
  • WhatsApp Flows: whatsapp.flows.* events, timeout, and the expected response shape.