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:

EventWhen
message.deliveredThe phone received the message. [Depends on delivery reports]
message.failedThe message was not sent after all retries. It is refunded.
message.replyThe 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]