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
curl https://api.platic.ai/v1/webhooks/events \
-H "Authorization: Bearer $PLATIC_API_KEY" 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):
| Event | Description |
|---|---|
conversation.created | New conversation created |
conversation.status.updated | Conversation status updated (open, pending, finished, spam, …) |
conversation.operation.updated | Conversation operation / pipeline updated |
conversation.owners.updated | Conversation owners updated |
conversation.tags.updated | Conversation tags updated |
conversation.expired | Conversation expired (24-hour WhatsApp window) |
Messages (3):
| Event | Description |
|---|---|
message.created | New message created |
message.updated | Message updated |
message.deleted | Message deleted — not available yet. The event is declared in the catalog, but no emitter currently fires it. Subscribing produces no events. |
Comments (3):
| Event | Description |
|---|---|
comment.created | New public comment created by a customer or by the brand |
comment.updated | Public comment content or moderation updated |
comment.deleted | Public comment deleted |
Customers (5):
| Event | Description |
|---|---|
client.created | New customer created |
client.updated | Customer updated |
client.owners.updated | Customer owners updated |
client.tags.updated | Customer tags updated |
client.customFields.updated | Customer custom fields updated |
Meta Ads (1):
| Event | Description |
|---|---|
referral.received | A 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:
| Event | Description |
|---|---|
whatsapp.flows.init | Flow start (action: "INIT" from Meta) |
whatsapp.flows.screen_advance | Screen advance (action: "data_exchange") |
whatsapp.flows.back | Return to the previous screen (action: "BACK") |
whatsapp.flows.exchanges | "Umbrella" subscription — receives the three above on a single webhook |
Cases (5):
| Event | Description |
|---|---|
case.created | A case was opened, by the agent, a person, or the API |
case.updated | A case's priority, fields, or summary changed |
case.assigned | A case's assignees changed, or someone took it |
case.note.created | A note was added to a case |
case.closed | A case was closed, by hand or when it expired |
WhatsApp templates (1):
| Event | Description |
|---|---|
template.status.updated | Meta changed the status, category, or quality of a template: approved it, rejected it, paused it… |
AI providers (1):
| Event | Description |
|---|---|
model_provider.status.updated | The 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.
| Status | details.code | When it happens |
|---|---|---|
401 | UNAUTHENTICATED | The credential is missing or not valid |
403 | FORBIDDEN | The 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.
Related documentation
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, andmodel_provider.status.updated. - WhatsApp Flows:
whatsapp.flows.*events, timeout, and the expected response shape.