webhooks
Create a webhook subscription
textbee POSTs the events you pick to your delivery URL and signs each request with your signing secret, sent as the X-Signature header. Failed deliveries are retried up to 10 times, and a subscription that keeps failing is paused.
post/api/v1/webhooks
Request
- Base URL: https://api.textbee.dev
- URL: https://api.textbee.dev/api/v1/webhooks
- Auth: API key in header x-api-key
Request body
Example request
{
"name": "Order notifications",
"deliveryUrl": "https://example.com/textbee/webhook",
"events": [
"MESSAGE_RECEIVED"
]
}Response
The subscription was created.
Changes
No recorded changes to this operation across all 1 revision of this API.