Messages
Events that occur when a new message is created or a message object is updated.
message.created
message.created
{
"data":{
"id":"5e09c7cc-27e8-4d91-89ee-4ea5bafaaa15",
"to":"+14244023931",
"body":"Olá, Clark Kent, obrigado por enviar mensagens à Organização 1. Um membro de nossa equipe entrará em contato com você em breve neste número.",
"from":"+12183925232",
"step_id":null,
"language":null,
"direction":"OUTBOUND",
"channel_id":"be1ecaf2-9ce7-448c-8755-e5009ccc4345",
"contact_id":"8241b8e5-98a2-44d7-975b-15f5c2bf3cf4",
"created_at":"2023-08-24T10:05:18.432652Z",
"updated_at":"2023-08-24T10:05:18.432652Z",
"attachments":[
],
"campaign_id":null,
"conversation_id":"742993a5-c9c6-4d7d-bf09-31417a1c04a9",
"delivery_status":"pending",
"step_contact_id":null,
"translated_body":null,
"campaign_contact_id":null,
"translation_language":null
},
"event":"message.created",
"request_id":"00552b38-d0e7-460f-9877-a7c8c8b2ff8c"
}
message.updated
message.updated
{
"data":{
"id":"5e09c7cc-27e8-4d91-89ee-4ea5bafaaa15",
"to":"+14244023931",
"body":"Olá, Clark Kent, obrigado por enviar mensagens à Organização 1. Um membro de nossa equipe entrará em contato com você em breve neste número.",
"from":"+12183925232",
"step_id":null,
"language":null,
"direction":"OUTBOUND",
"channel_id":"be1ecaf2-9ce7-448c-8755-e5009ccc4345",
"contact_id":"8241b8e5-98a2-44d7-975b-15f5c2bf3cf4",
"created_at":"2023-08-24T10:52:28.430748Z",
"updated_at":"2023-08-24T10:52:28.498798Z",
"attachments":[
],
"campaign_id":null,
"sequence_id":null,
"conversation_id":"742993a5-c9c6-4d7d-bf09-31417a1c04a9",
"delivery_status":"failed",
"step_contact_id":null,
"translated_body":null,
"campaign_contact_id":null,
"translation_language":null
},
"event":"message.updated",
"request_id":"647e08d7-e68e-4efb-bd8c-29038e7ac09a"
}
Updated about 1 year ago