Payloads

Receive these events at your endpoint and read their contents in data:

  • conversation.*
  • message.*
  • comment.*
  • client.*
  • referral.received (Meta ads)
  • case.*
  • template.status.updated (WhatsApp templates)
  • model_provider.status.updated (AI providers)

For whatsapp.flows.*, use WhatsApp Flows: these events need your response to continue the flow. They share this envelope with resourceType: "flow_response".

Common envelope

All these events reach your endpoint via a JSON POST with this structure:

{
  "id": "9f8c...",
  "event": "conversation.created",
  "workspaceId": "ws_456",
  "timestamp": "2026-05-06T19:00:00.000Z",
  "source": "system.conversation.created",
  "resourceType": "conversation",
  "resourceId": "conv_123",
  "changes": null,
  "data": {}
}
FieldTypeDescription
idstringUnique event identifier
eventstringName of the event that triggered the webhook
workspaceIdstringWorkspace where the event happened
timestampstringISO-8601 date of the event
sourcestringOrigin of the event — see the source field
resourceTypeconversation \| message \| comment \| client \| case \| template \| flow_responseType of resource affected
resourceIdstring \| nullIdentifier of the affected resource
changesobject \| nullDetected changes. null for creation/deletion events
dataobjectNormalized snapshot of the resource

The source field

Identifies the origin of the event. For conversation, message, comment, and customer events, its value follows the format:

<origin>.<resource>.<action>[.<qualifier>]
  • origin: one of api, dashboard, inbound, agent, system, scheduler, campaign.
  • resource: client, conversation, message, comment, audience, scheduled_event, webhook, moderation, supervisor.
  • action: verb / state (created, updated, deleted, processed, dispatched, etc.).
  • qualifier (optional): bulk, auto, campaign.

For WhatsApp Flows, source is always whatsapp.flows. Cases use <actor>.case.<action>: see Cases. For template.status.updated it is inbound.template.status_updated, inbound.template.category_updated, or inbound.template.quality_updated, depending on Meta's notice.

Use source for auditing or debugging. Identify what changed through event, resourceType, resourceId, and changes.

Read the channel platform from data.conversation.platform for conversation and message events, or data.comment.platform for comments. Do not infer it from source.

Common examples by event:

eventPossible source values
client.createdapi.client.created, inbound.client.created, campaign.client.created
client.updatedapi.client.updated, api.client.blocked, api.client.unblocked, api.client.strikes_reset, api.conversation.status_changed, dashboard.client.updated, dashboard.client.blocked, dashboard.client.unblocked, dashboard.client.strikes_reset, inbound.client.profile_updated, inbound.client.refreshed, inbound.client.identifiers_updated, agent.supervisor.applied, system.moderation.applied
client.tags.updatedapi.client.tagged.bulk, api.audience.added, api.audience.removed, api.audience.cleared, dashboard.client.updated
client.customFields.updatedapi.client.custom_fields_updated, inbound.client.custom_fields_updated, agent.client.confirmation_saved, dashboard.client.updated
conversation.createdsystem.conversation.created, dashboard.conversation.created, campaign.conversation.created, dashboard.comment.private_reply, api.comment.private_reply, agent.comment.private_reply
conversation.status.updatedapi.conversation.updated, api.conversation.finished, api.conversation.marked_spam, api.conversation.archived, api.conversation.reactivated, dashboard.conversation.stopped, api.conversation.stopped, campaign.conversation.updated
conversation.expiredsystem.conversation.expired_by_inactivity, agent.conversation.expired, api.conversation.archived.auto, api.conversation.updated
conversation.operation.updatedapi.case.opened, api.case.accepted, api.case.closed, dashboard.case.opened, dashboard.case.accepted, dashboard.case.closed, dashboard.conversation.assistance_accepted, dashboard.conversation.assistance_declined, system.conversation.assistance_auto_accepted, agent.case.closed, system.case.expired
conversation.owners.updatedapi.conversation.operator_assigned, api.conversation.operators_set, dashboard.conversation.assistance_accepted, api.case.opened, api.case.accepted, api.case.assigned, api.case.note_created, dashboard.case.assigned, dashboard.case.note_created, agent.case.note_created
conversation.tags.updatedapi.conversation.tagged, dashboard.conversation.assistance_requested
message.createdinbound.message.received, dashboard.comment.private_reply, api.comment.private_reply, agent.comment.private_reply, agent.message.generated, agent.message.processed, agent.message.dispatched, agent.message.service_sent, agent.message.summary_generated, campaign.message.received, dashboard.message.system_inserted, scheduler.scheduled_event.created
message.updatedinbound.message.delivery_updated, inbound.message.delivery_failed, inbound.message.delivery_updated.campaign, agent.message.processed, agent.message.status_updated, agent.message.dispatched, dashboard.message.resent, scheduler.scheduled_event.processing, scheduler.scheduled_event.sent, scheduler.scheduled_event.failed, api.scheduled_event.cancelled
comment.createdinbound.comment.received
comment.updatedinbound.comment.updated, dashboard.comment.updated, api.comment.updated
comment.deletedinbound.comment.deleted, dashboard.comment.deleted, api.comment.deleted
whatsapp.flows.*whatsapp.flows
case.*agent.case.opened, user.case.accepted, api.case.closed, system.case.expired… See Cases
template.status.updatedinbound.template.status_updated, inbound.template.category_updated, inbound.template.quality_updated
model_provider.status.updatedsystem.model_provider.call, user.model_provider.verified

Conversations

Events:

Eventchanges
conversation.creatednull
conversation.status.updated{ "status": { "before", "after" } }
conversation.operation.updated{ "operation": { "before", "after" } }
conversation.owners.updated{ "owners": { "added": [], "removed": [] } }
conversation.tags.updated{ "tags": { "added": [], "removed": [] } }
conversation.expired{ "isFinished": { "before", "after": true } }

For conversation.* events, data always has:

{
  "client": {
    "id": "521234567890",
    "phoneNumber": "521234567890",
    "creationDate": "2026-05-06T19:00:00.000Z",
    "lastUpdate": "2026-05-06T19:00:00.000Z",
    "name": "John Smith",
    "firstname": "John",
    "email": null
  },
  "conversation": {
    "id": "conv_123",
    "conversationId": "521234567890",
    "canSendDirectMessage": true,
    "workspaceId": "ws_456",
    "channelId": "521555000111",
    "contactName": "John Smith",
    "phoneNumber": "521234567890",
    "topic": "",
    "platform": "whatsapp",
    "email": null,
    "owners": [],
    "tags": [],
    "creationDate": "2026-05-06T19:00:00.000Z",
    "lastUpdate": "2026-05-06T19:00:00.000Z",
    "status": "open",
    "operation": "automatic",
    "messageCount": 1,
    "messages": []
  }
}
FieldTypeDescription
idstring \| nullUnique, canonical conversation ID
conversationIdstring \| nullChat thread ID; it does not identify the client
canSendDirectMessagebooleanCan only be false on WhatsApp, Instagram, and Messenger/Facebook; calculated from the latest user message. Always true for internal chats
workspaceIdstring \| nullOwning workspace
channelIdstring \| nullChannel where it happened
contactNamestring \| nullContact name
phoneNumberstring \| nullContact phone number
topicstringConversation topic
platformstring \| nullContact channel: whatsapp, instagram, messenger, email, sms, etc.
emailobject \| nullOn an email thread, { subject, mailbox, provider, contactEmail }; null on other channels. See the email block
ownersstring[]Assigned owners, identified by email
tagsstring[]Assigned tags
creationDatestring \| nullISO-8601 date
lastUpdatestring \| nullISO-8601 date
statusstring \| nullCurrent state: open, pending, finished, blocked, spam, expired
operationstring \| nullConversation mode: automatic (bot-handled) or manual (operator-handled)
messageCountnumberNumber of messages
messagesunknown[]Serialized messages. Only present in conversation.* events

Messages

Events:

Eventchanges
message.creatednull
message.updatedPer-field changes: content, contentBlocks, contentType, direction, lastUpdate, role, status, files, images, owner
message.deletednull — declared in the catalog, but not emitted yet. Subscribing produces no events today.

For message.* events, data contains client, conversation, and message. The conversation does not include messages[]; the affected message is in data.message.

{
  "client": { "...": "WebhookClientSummary" },
  "conversation": { "...": "WebhookConversation without messages[]" },
  "message": {
    "id": "msg_789",
    "content": "Hi, I need help with my order",
    "contentBlocks": [
      { "type": "text", "text": "Hi, I need help with my order" }
    ],
    "contentType": "text",
    "creationDate": "2026-05-06T19:00:00.000Z",
    "direction": "incoming",
    "files": [],
    "images": [],
    "owner": null,
    "lastUpdate": "2026-05-06T19:00:00.000Z",
    "role": "user",
    "status": "delivered",
    "email": null
  }
}
FieldTypeDescription
idstring \| nullMessage identifier
contentstringPlain-text version of the message
contentBlocksunknown[]Structured blocks
contentTypestringtext by default
creationDatestring \| nullISO-8601 date
directionincoming \| outgoing \| string \| nullAlways normalized to incoming or outgoing. Values like received or sent are translated before being emitted
filesunknown[]Attached files
imagesunknown[]Attached images
owner{ "id": string } \| nullMessage author. id is the operator's email when applicable
lastUpdatestring \| nullISO-8601 date
rolestring \| nulluser, assistant, tool, etc.
statusstring \| nullMessage status. Common values: received, sent, delivered, read, failed
emailobject \| nullOn email, the block with subject, sender, recipients, text, HTML and attachments; null on other channels. See the email block

Example of message.created for an incoming email. On email, content is the plain text:

{
  "client": { "...": "WebhookClientSummary" },
  "conversation": {
    "id": "Hk3pQ9wLx2QmZ7bN1cVd",
    "channelId": "em-sales@example.com",
    "platform": "email",
    "email": {
      "subject": "Your quote",
      "mailbox": "sales@example.com",
      "provider": "gmail",
      "contactEmail": "ana@example.com"
    }
  },
  "message": {
    "id": "msg_790",
    "content": "Thanks, can you send it as a PDF?",
    "direction": "incoming",
    "role": "user",
    "email": {
      "subject": "Re: Your quote",
      "from": { "address": "ana@example.com", "name": "Ana Lopez" },
      "to": ["sales@example.com"],
      "cc": [],
      "messageId": "<CAF1x2@mail.gmail.com>",
      "inReplyTo": "<a9b8c7@example.com>",
      "threadId": "18c4f2a9e1b",
      "text": "Thanks, can you send it as a PDF?",
      "html": "<p>Thanks, can you send it as a PDF?</p>",
      "attachments": []
    }
  }
}

Example of message.updated:

{
  "event": "message.updated",
  "resourceType": "message",
  "resourceId": "msg_789",
  "changes": {
    "status": {
      "before": "sent",
      "after": "read"
    }
  },
  "data": {
    "client": {},
    "conversation": {},
    "message": {}
  }
}

Comments

Events:

Eventchanges
comment.creatednull
comment.updatedPer-field changes with { "before", "after" }: content, contentType, attachments, isSpam, moderation
comment.deletednull

For comment.*, resourceType is comment. data contains client, post, thread, and comment. client summarizes the contact linked to the author; it is null if there is none. Read the platform in data.comment.platform.

data.post.id, data.thread.id, and data.comment.id are the postId, threadId, and commentId of the Posts API, so you can reply to a comment straight from the webhook.

A private reply to a comment creates or reuses a direct-message conversation. That conversation notifies like any other: conversation.created when it is new and message.created for the message, with source dashboard.comment.private_reply (from the inbox), api.comment.private_reply (from the API), or agent.comment.private_reply (sent by the agent).

Example of comment.created:

{
  "id": "evt_comment_demo_01",
  "event": "comment.created",
  "workspaceId": "ws_demo_456",
  "timestamp": "2026-08-31T15:42:18.000Z",
  "source": "inbound.comment.received",
  "resourceType": "comment",
  "resourceId": "comment_demo_01",
  "changes": null,
  "data": {
    "client": {
      "id": "client_demo_01",
      "phoneNumber": null,
      "creationDate": "2026-04-12T17:05:00.000Z",
      "lastUpdate": "2026-08-31T15:42:18.000Z",
      "name": "Ana Lopez",
      "firstname": "Ana",
      "email": null
    },
    "post": {
      "id": "post_demo_01",
      "externalId": "18000000000123456",
      "platform": "instagram",
      "channelId": "channel_demo_01",
      "title": "Which color do you prefer this summer?",
      "permalink": "https://www.instagram.com/p/DemoPost123/",
      "contactName": "Platica Demo"
    },
    "thread": {
      "id": "comment_demo_01",
      "status": "open",
      "needsReply": true,
      "commentCount": 1,
      "topic": "Instagram comments",
      "tags": []
    },
    "comment": {
      "id": "comment_demo_01",
      "postId": "18000000000123456",
      "parentCommentId": null,
      "rootCommentId": "comment_demo_01",
      "permalink": "https://www.instagram.com/p/DemoPost123/c/DemoComment456/",
      "platform": "instagram",
      "channelId": "channel_demo_01",
      "content": "I love the blue one 💙",
      "contentType": "text",
      "attachments": [],
      "creationDate": "2026-08-31T15:42:18.000Z",
      "lastUpdate": "2026-08-31T15:42:18.000Z",
      "direction": "incoming",
      "role": "user",
      "clientId": "client_demo_01",
      "authorName": "Ana Lopez",
      "authorPhotoUrl": "https://cdn.example.com/profiles/ana-demo.jpg",
      "authorType": null,
      "isSpam": false,
      "moderation": {
        "action": "none",
        "synced": false,
        "moderatedAt": null
      }
    }
  }
}

post summarizes the related post:

FieldTypeDescription
idstring \| nullPost identifier
externalIdstring \| nullContent identifier on the platform
platformstring \| nullinstagram, facebook, or another supported platform
channelIdstring \| nullConnected channel
titlestring \| nullPost text or title
permalinkstring \| nullPublic URL of the post
contactNamestring \| nullDisplay name for the channel account

thread summarizes the comment thread:

FieldTypeDescription
idstring \| nullThread identifier; matches comment.rootCommentId
statusstring \| nullCurrent thread status
needsReplybooleanWhether the thread needs a reply
commentCountnumberNumber of comments in the thread
topicstring \| nullThread topic
tagsstring[]Thread tags

comment contains the affected comment:

FieldTypeDescription
idstring \| nullComment identifier
postIdstring \| nullExternal post identifier; matches post.externalId
parentCommentIdstring \| nullParent comment when this is a reply
rootCommentIdstring \| nullRoot comment in the thread
permalinkstring \| nullPublic URL of the comment
platformstring \| nullComment platform
channelIdstring \| nullConnected channel
contentstringComment text
contentTypestringContent type, usually text
attachmentsobject[]Public comment attachments
creationDatestring \| nullISO-8601 creation date
lastUpdatestring \| nullISO-8601 last update date
directionincoming \| outgoing \| nullincoming for customers and outgoing for the brand
rolestring \| nullNormalized author role
clientIdstring \| nullAssociated customer, when available
authorNamestring \| nullAuthor display name
authorPhotoUrlstring \| nullURL of the author's public photo
authorTypestring \| nullAuthor type
isSpambooleanWhether the comment is marked as spam
moderation{ "action": "none" \| "hidden" \| "deleted", "synced": boolean, "moderatedAt": string \| null }Moderation state

Each attachments item can include:

FieldTypeDescription
idstring \| nullAttachment identifier
typestringimage, video, link, or unsupported
statusstringAttachment availability status
urlstring \| nullURL available to the integration
mimestring \| nullMIME type, when available
titlestring \| nullAttachment title
bytesnumber \| nullSize in bytes, when available

In comment.updated, each changed field includes its previous and new values. data keeps the same shape and contains the snapshot after the change. For example, the changes fragment for a moderation update can be:

{
  "moderation": {
    "before": {
      "action": "none",
      "synced": false,
      "moderatedAt": null
    },
    "after": {
      "action": "hidden",
      "synced": true,
      "moderatedAt": "2026-08-31T15:48:02.000Z"
    }
  }
}

Customers

Events:

Eventchanges
client.creatednull
client.updatedPer basic-field changes: phoneNumber, name, firstname, lastname, email, birthdate, gender, company, country, state, city, address, postalCode, status, moderation, creationDate, lastUpdate, deleted
client.owners.updated{ "owners": { "added": [], "removed": [] } }
client.tags.updated{ "tags": { "added": [], "removed": [] } }
client.customFields.updated{ "customFields": { "<field>": { "before", "after" } } } or { "customFields": { "<field>": { "added": [], "removed": [] } } }

For client.* events, data is the normalized customer directly:

{
  "id": "521234567890",
  "workspaceId": "ws_456",
  "phoneNumber": "521234567890",
  "name": "John Smith",
  "firstname": "John",
  "lastname": "Smith",
  "email": "john@acme.com",
  "birthdate": null,
  "gender": null,
  "company": "Acme Inc.",
  "country": "MX",
  "state": null,
  "city": null,
  "address": null,
  "postalCode": null,
  "status": "active",
  "moderation": {
    "totalStrikes": 0,
    "lastAction": null,
    "lastSource": null,
    "lastSeverity": null,
    "lastFlaggedAt": null,
    "lastCategories": [],
    "lastMatchedTerms": [],
    "blockedAt": null,
    "blockedBy": null,
    "blockedReason": null
  },
  "tags": ["vip"],
  "owners": ["agent1@acme.com"],
  "customFields": {
    "placas": "ABC123"
  },
  "creationDate": "2026-05-06T19:00:00.000Z",
  "lastUpdate": "2026-05-06T19:00:00.000Z",
  "deleted": false
}

Blocking and moderation

status and moderation always travel inside data, and moderation is returned in full even when the customer has no incidents. Its fields are documented in Get a Customer.

When you block or unblock a customer you get a client.updated carrying changes.status, plus one conversation.status.updated per open conversation that was synced. If you only care about the block itself, filter by the event's source rather than by how many events arrived.

Actionsource on the client.updated
Block via the APIapi.client.blocked
Unblock via the APIapi.client.unblocked
Strike reset via the APIapi.client.strikes_reset
Block / unblock from the dashboarddashboard.client.blocked, dashboard.client.unblocked
Strike reset from the dashboarddashboard.client.strikes_reset
Automatic block by moderationsystem.moderation.applied
Conversation marked as spamapi.conversation.status_changed

Example of client.customFields.updated:

{
  "event": "client.customFields.updated",
  "resourceType": "client",
  "resourceId": "521234567890",
  "changes": {
    "customFields": {
      "placas": {
        "before": "ABC123",
        "after": "XYZ789"
      },
      "visitas": {
        "added": [
          {
            "id": "visit_5",
            "creationDate": "2026-05-06T19:00:00.000Z",
            "lastUpdate": "2026-05-06T19:00:00.000Z",
            "content": "Visita de seguimiento"
          }
        ],
        "removed": []
      }
    }
  },
  "data": {
    "id": "521234567890",
    "customFields": {
      "placas": "XYZ789",
      "visitas": []
    }
  }
}

Meta Ads

Event:

EventchangesresourceType
referral.receivednullclient

Sent when an inbound message comes from a Meta ad: Click-to-WhatsApp, Click-to-Messenger, or Instagram ads. data contains client, conversation, and referral with the ad attribution.

{
  "event": "referral.received",
  "resourceType": "client",
  "resourceId": "client_sample_abc123",
  "changes": null,
  "data": {
    "client": {
      "id": "521234567890",
      "phoneNumber": "521234567890",
      "creationDate": "2026-05-06T19:00:00.000Z",
      "lastUpdate": "2026-05-06T19:00:00.000Z",
      "name": "John Smith",
      "firstname": "John",
      "email": null
    },
    "conversation": {
      "id": "conv_123",
      "conversationId": "521234567890",
      "platform": "whatsapp",
      "channelId": "wb-123456789012345"
    },
    "referral": {
      "platform": "whatsapp",
      "source": "ad",
      "ad_id": "120211234567890123",
      "ctwa_clid": "ARAkLkA8rmlFeiCktEJQ-QTwRiyYHAFDLMNDBH0CD3qpjd0HR4irJ6LEkR7JwLzMDopn7vghDWqTXUYWmTzID29SrqLOgUSDRAsNH0_sample",
      "ref": null,
      "headline": "Anuncio de prueba",
      "body": "Texto principal del anuncio de prueba.",
      "media_type": "image",
      "image_url": "https://example.com/ad-image.jpg",
      "video_url": null,
      "thumbnail_url": null,
      "welcome_message": "Hi, I want more information",
      "user_text": "Hi, I want more information",
      "channelId": "wb-123456789012345",
      "messageId": "wamid.sample",
      "conversationId": "521234567890",
      "receivedAt": "2026-05-06T19:00:00.000Z"
    }
  }
}
FieldTypeDescription
platformstringChannel platform: whatsapp, messenger, instagram
sourcestring \| nullSource type reported by Meta, usually ad
ad_idstring \| nullMeta ad identifier
ctwa_clidstring \| nullClick-to-WhatsApp click ID, useful for the Conversions API
refstring \| nullAd ref parameter (Click-to-Messenger / m.me) when present
headlinestring \| nullAd headline
bodystring \| nullAd primary text
media_typestring \| nullAd media type: image, video, etc.
image_urlstring \| nullAd image URL
video_urlstring \| nullAd video URL
thumbnail_urlstring \| nullAd thumbnail URL
welcome_messagestring \| nullWelcome message prefilled in the ad
user_textstring \| nullText the customer sent when starting the conversation
channelIdstring \| nullChannel where the message arrived
messageIdstring \| nullIdentifier of the inbound message that triggered the event
conversationIdstring \| nullConversation identifier
receivedAtstring \| nullISO-8601 date when the attributed message was received

Cases

They arrive when a case changes, whether the agent, a person, the API, or Platica (when it expires) changed it. resourceType is case and resourceId is the case id.

EventWhenchanges
case.createdA case was openednull
case.updatedThe priority, fields, or summary changed{ "priority"?, "fields"?, "summary"? }, each { "before", "after" }. In fields, only the fields that changed; null means it had no value or was removed
case.assignedThe assignees changed, or someone took it{ "assigneeIds": { "added": [], "removed": [] }, "acceptedBy"?: { "before", "after" } }. acceptedBy only comes when someone took it
case.note.createdA note was addednull
case.closedIt was closed, by hand or when it expired{ "status": { "before": "open", "after": "closed" }, "closeReason": { "before": null, "after": "<reason>" } }

source follows the format <actor>.case.<action>. The actor is agent, user, api, or system, and the action is opened, updated, assigned, accepted, note_created, closed, or expired. For example: agent.case.opened, user.case.accepted, system.case.expired.

Read the updated case in data.case and the event that caused the change in data.event, with the fields from the log. The case includes revision and idempotencyKey, the internal id of its opening. For case.closed, data.conversation contains the conversation state. Example of case.assigned when someone takes it:

{
  "id": "3b9f0c2a7e4d1f6a8c5b2e9d0a7f4c1b6e3d8a5f2c9b6e3d0a7f4c1b8e5d2a9f",
  "event": "case.assigned",
  "workspaceId": "Wk5rT8yUi2OpAs4d",
  "timestamp": "2026-11-12T15:12:00.000Z",
  "source": "user.case.accepted",
  "resourceType": "case",
  "resourceId": "Es4kP9wLx2QmZ7bN1cVd",
  "changes": {
    "assigneeIds": { "added": ["Us2qW4eR6tY8uI0o"], "removed": [] },
    "acceptedBy": { "before": null, "after": "Us2qW4eR6tY8uI0o" }
  },
  "data": {
    "case": {
      "id": "Es4kP9wLx2QmZ7bN1cVd",
      "workspaceId": "Wk5rT8yUi2OpAs4d",
      "number": 143,
      "folio": "FAC-0143",
      "escalationId": "Et7hQ2mVx9LpRk3s",
      "escalationSnapshot": {
        "name": "Invoice with an error",
        "prefix": "FAC",
        "color": "#2563EB",
        "keepReplying": false,
        "canClose": false,
        "waitMessage": null,
        "inactivityCloseHours": null,
        "allowManual": true
      },
      "status": "open",
      "priority": "normal",
      "summary": "Asks to correct the tax ID on the invoice for order 48213.",
      "fields": { "numero_pedido": "48213", "rfc": "EJE010101AB1" },
      "contactId": "Ct3fG5hJ7kL9mN1p",
      "conversationId": "Cv8hN2lP4qR6sT0u",
      "channelId": "Ch2wE4rT6yU8iO0p",
      "platform": "whatsapp",
      "relatedConversationIds": [],
      "postId": null,
      "threadId": null,
      "agentId": "Ag6bV8nM1qW3eR5t",
      "openedBy": { "kind": "agent", "id": "Ag6bV8nM1qW3eR5t" },
      "assigneeIds": ["Us9fG3hJ6kL2mN8b", "Us2qW4eR6tY8uI0o"],
      "acceptedBy": "Us2qW4eR6tY8uI0o",
      "acceptedAt": "2026-11-12T15:12:00.000Z",
      "lastActivityAt": "2026-11-12T15:12:00.000Z",
      "maxOpenAt": "2026-11-26T15:04:00.000Z",
      "autoCloseAt": null,
      "closedAt": null,
      "closedBy": null,
      "closeReason": null,
      "closeNote": null,
      "idempotencyKey": "9f1c7a52-3d0e-4b8a-a6f4-2c5e8d1b7a90",
      "revision": 2,
      "createdAt": "2026-11-12T15:04:00.000Z",
      "updatedAt": "2026-11-12T15:12:00.000Z"
    },
    "event": {
      "id": "000002-0",
      "caseId": "Es4kP9wLx2QmZ7bN1cVd",
      "revision": 2,
      "actor": { "kind": "user", "id": "Us2qW4eR6tY8uI0o" },
      "at": "2026-11-12T15:12:00.000Z",
      "kind": "accepted",
      "data": { "userId": "Us2qW4eR6tY8uI0o", "previousUserId": null, "notifyCustomer": false }
    }
  }
}

Differences from the API's case:

  • People come by id only: no assigneeEmails or acceptedByEmail.
  • The case and the event carry revision, which goes up with every change. Use it to discard an event older than the last one you processed.
  • The envelope id comes from the case, its revision, and the event: a retry arrives with the same id.

When a case changes the conversation (pauses it, hands it back to the agent or adds people to it), conversation.operation.updated and conversation.owners.updated arrive too, whoever moved it. A note with viaConversationId also adds the case's assignees to that other conversation, so its conversation.owners.updated arrives. source says who it was:

Whosource
The APIapi.case.opened, api.case.accepted, api.case.closed, api.case.assigned, api.case.note_created
A person in Platicadashboard.case.opened, dashboard.case.accepted, dashboard.case.closed, dashboard.case.assigned, dashboard.case.note_created
The agentsystem.conversation.assistance_auto_accepted when it opens it, agent.case.closed when it closes it, agent.case.note_created when it adds a note from another conversation
Platica, when it expiressystem.case.expired

WhatsApp templates

EventchangesresourceType
template.status.updated{ "status"?, "category"?, "quality"? }, each { "before", "after" }template

Receive status, category, or quality changes for a WhatsApp template. Meta may approve, reject, pause, or disable it. resourceId is its id in Meta. Use the event to follow the review without polling the template.

{
  "id": "6f1d0b3c9a8e7f2d4c5b1a0e9d8c7b6a5f4e3d2c1b0a9f8e7d6c5b4a3f2e1d0c",
  "event": "template.status.updated",
  "workspaceId": "ws1",
  "timestamp": "2026-11-13T16:00:00.000Z",
  "source": "inbound.template.status_updated",
  "resourceType": "template",
  "resourceId": "1234567890123456",
  "changes": {
    "status": { "before": "PENDING", "after": "APPROVED" }
  },
  "data": {
    "template": {
      "id": "1234567890123456",
      "name": "confirmacion_pedido",
      "language": "es_MX",
      "category": "UTILITY",
      "status": "APPROVED",
      "previousStatus": "PENDING",
      "quality": null,
      "rejectedReason": null,
      "rejectionInfo": null,
      "wabaId": "102938475610293"
    }
  }
}
Field of data.templateTypeDescription
idstringTemplate id in Meta
name, languagestring \| nullThe name and the language version that changed
categorystring \| nullMARKETING, UTILITY, or AUTHENTICATION
statusstring \| nullThe new status: APPROVED, REJECTED, PAUSED, DISABLED…
previousStatusstring \| nullThe status Platica had stored
qualitystring \| nullThe quality Meta reports (GREEN, YELLOW, RED), if it reports one
rejectedReasonstring \| nullOnly with REJECTED: the reason code Meta gives
rejectionInfoobject \| nullOnly with REJECTED, if Meta sends it: { "reason", "recommendation" }
wabaIdstring \| nullThe template's WhatsApp account

How it behaves:

  • It only arrives if the status, category, or quality changed. changes carries only what changed.
  • before: null means Platica did not have the template stored.
  • If several workspaces share the WhatsApp account, each one gets its own delivery.
  • If Meta repeats the same notice, the envelope id is the same: use it to avoid processing it twice.

AI providers

EventchangesresourceType
model_provider.status.updated{ "health": { "before", "after" } }model_provider

Sent when the workspace's own key for an AI provider stops working or works again. resourceId is the provider: openai, google, anthropic, or xai. It never carries the key.

{
  "id": "3b9e1f0c7d2a4e6b8c0d1f3a5b7c9e1d2f4a6b8c0e2d4f6a8b0c2e4f6a8b0c2e",
  "event": "model_provider.status.updated",
  "workspaceId": "ws1",
  "timestamp": "2026-11-18T18:00:00.000Z",
  "source": "system.model_provider.call",
  "resourceType": "model_provider",
  "resourceId": "openai",
  "changes": {
    "health": { "before": "ok", "after": "no_credit" }
  },
  "data": {
    "modelProvider": {
      "provider": "openai",
      "name": "OpenAI",
      "status": "connected",
      "health": "no_credit",
      "previousHealth": "ok",
      "errorCode": "NO_CREDIT",
      "fallback": "platform",
      "impact": "platform_fallback",
      "models": [
        { "id": "gpt-6.1-sol", "status": "available", "ownKeyOnly": false },
        { "id": "gpt-6-luna", "status": "unverified", "ownKeyOnly": false }
      ]
    }
  }
}
data.modelProvider fieldTypeDescription
provider, namestringThe provider and its name
healthstringHow the key is doing now (table below)
previousHealthstringHow it was before the change
statusstringThe provider status, as in list providers: connected or invalid
errorCodestring \| nullWhat the provider answered, as a code (AUTH_INVALID, NO_CREDIT, AUTH_OR_PERMISSION…). null when it works again
fallbackstringplatform or none
impactstringWhat your agents do now with that provider's models: none (they use your key), platform_fallback (they answer with Platica's account, which charges AI), or not_responding (they don't answer)
modelsarrayEach model of the provider with status (available, unavailable, or unverified) and ownKeyOnly. With platform_fallback, models with ownKeyOnly: true don't answer either
healthWhat happenedWhat to do
okThe key worksNothing
key_rejectedThe provider rejected the key twice in a row: it is invalid or was revokedConnect a new key
no_creditThe provider account has no balanceTop up with the provider. The key stays connected: Platica tries it again every 10 minutes and, when it answers, another event arrives with health: "ok"
no_model_accessThe key can no longer use any of the provider's modelsCheck its permissions and verify it again

source is system.model_provider.call when the change showed up while an agent was answering, and user.model_provider.verified when someone verified the key, in Platica or through the API.

How it behaves:

  • It only arrives when health changes. A key that remains out of credit does not send another event.
  • When the key stops working, the workspace owners and admins also get an email. When it works again, a notice stays in Platica.
  • A temporary rate limit (QUOTA_OR_RATE_LIMIT) does not change health.
  • The first verification of a newly connected key only sends the event if it fails.