{
"eventId": "<string>",
"name": "message.received",
"timestamp": "2023-11-07T05:31:56Z",
"data": {
"agent": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"message": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"from": "<string>",
"subject": "<string>"
}
},
"cursor": "<string>"
}Webhooks
Message received
An email or text arrived for the agent account. The event leaves the message’s text out; read it with its id.
WEBHOOK
message.received
{
"eventId": "<string>",
"name": "message.received",
"timestamp": "2023-11-07T05:31:56Z",
"data": {
"agent": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"message": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"from": "<string>",
"subject": "<string>"
}
},
"cursor": "<string>"
}Headers
The event's id, the same on every retry
When Artil signed the delivery, in Unix seconds
v1, followed by the base64 HMAC-SHA256 of the id, timestamp and body under the webhook's secret, as Standard Webhooks describes
Body
application/json
Response
Artil removes the webhook