InboxMessage
idstring
conversationIdstring
directionstring
Possible values: [in, out, note, event]
originstring
De onde a mensagem saiu. Respostas por API key aparecem como agent, com sender nulo.
Possible values: [contact, agent, broadcast, flow, api, proxy, app, system]
typestring
Possible values: [text, template, image, video, audio, document, sticker, location, contacts, interactive, button, reaction, order, system, unsupported]
content object
O conteúdo no formato da Cloud API da Meta.
property name*any
O conteúdo no formato da Cloud API da Meta.
statusstring
Possible values: [pending, accepted, sent, delivered, read, failed, unknown, received, recorded]
errorCodeintegernullable
errorstringnullable
contextWamidstringnullable
wamidstringnullable
sender objectnullable
idstring
namestring
broadcastIdstringnullable
media objectnullable
idstring
kindstring
Possible values: [image, video, audio, document, sticker]
mimeTypestring
fileNamestringnullable
sizeBytesintegernullable
statusstring
Example:
storedoccurredAtstring<date-time>
sentAtstring<date-time>nullable
deliveredAtstring<date-time>nullable
readAtstring<date-time>nullable
failedAtstring<date-time>nullable
InboxMessage
{
"id": "string",
"conversationId": "string",
"direction": "in",
"origin": "contact",
"type": "text",
"content": {},
"status": "pending",
"errorCode": 0,
"error": "string",
"contextWamid": "string",
"wamid": "string",
"sender": {
"id": "string",
"name": "string"
},
"broadcastId": "string",
"media": {
"id": "string",
"kind": "image",
"mimeType": "string",
"fileName": "string",
"sizeBytes": 0,
"status": "stored"
},
"occurredAt": "2024-07-29T15:51:28.071Z",
"sentAt": "2024-07-29T15:51:28.071Z",
"deliveredAt": "2024-07-29T15:51:28.071Z",
"readAt": "2024-07-29T15:51:28.071Z",
"failedAt": "2024-07-29T15:51:28.071Z"
}