webhooks
Add a webhook
Adds a webhook: an HTTPS URL that receives one or both event types, for every inbox on the account (including ones created later) or for up to 10 listed inboxes. The 201 response includes the signing secret; after that it appears only when you retrieve it.
- message.received: a received message is ready to read.
- message.sent: the provider accepted a sent message. This is not delivery.
A delivery carries identifiers only (id, type, timestamp, data.inbox_id, data.message_id): fetch the message through the API, and deduplicate on id. Verify the signature on the raw body and answer with a 2xx within 15 seconds once you've stored the event: see Verify and acknowledge.
If the response is lost, list webhooks, find the URL and retrieve its secret rather than adding it again.
post/v1/webhooks
Request
- Base URL: https://cherami.to
- URL: https://cherami.to/v1/webhooks
- Auth: HTTP bearer
Request body
Response
Created.
Changes
No recorded changes to this operation across all 1 revision of this API.