Events
Keryk calls your URL when a message changes state or gets a reply.
Set a webhook URL in the dashboard, or callback_url on a single message. Keryk sends a POST with a JSON body for each event:
| Event | When |
|---|---|
message.delivered | The phone received the message. [Depends on delivery reports] |
message.failed | The message was not sent after all retries. It is refunded. |
message.reply | The recipient answered. |
Answer with any 2xx status within [N] seconds. Other answers are retried with backoff.
Draft
The event body is still being designed. [EVENT PAYLOAD]