Webhooks
Resend a delivery
POST
Starts again from the first attempt. Disabled endpoint: 409 webhook_disabled. At most 60 per hour, together with test.
Requires the write scope. Owner key or session only: a profile key gets 403 owner_key_required.
bearerheader
AuthorizationBearer <token>An API key (tb_live_...) from the dashboard, or an OAuth access token.
id*stringFormat
uuiddeliveryId*stringFormat
uuidThe new delivery.
application/json- response
id*stringFormat
uuidevent_id*stringtype*stringstatus*stringValue in
"pending""delivered""failed"attempts*integerlast_status*integer|nulllast_error*string|nullnext_attempt_at*|nulldelivered_at*|nullcreated_at*stringFormat
date-timepayload*curl -X POST 'https://api.tebar.app/v1/webhooks/497f6eca-6276-4993-bfeb-53cbbbba6f08/deliveries/497f6eca-6276-4993-bfeb-53cbbbba6f08/resend'Example Response
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"event_id": "string",
"type": "string",
"status": "pending",
"attempts": 0,
"last_status": 0,
"last_error": "string",
"next_attempt_at": "2019-08-24T14:15:22Z",
"delivered_at": "2019-08-24T14:15:22Z",
"created_at": "2019-08-24T14:15:22Z",
"payload": {
"id": "string",
"type": "account.connected",
"created_at": "2019-08-24T14:15:22Z",
"profile_id": "bfcb6779-b1f9-41fc-92d7-88f8bc1d12e8",
"data": {
"property1": null,
"property2": null
}
}
}List deliveries GET
Newest first, kept 30 days. Requires the read scope. Owner key or session only: a profile key gets 403 owner_key_required.
Send a test event POST
Sends webhook.test to this endpoint, whatever events it listens to. Requires the write scope. Owner key or session only: a profile key gets 403 owner_key_required.