cURL
curl --request GET \ --url https://app.timelines.ai/integrations/api/webhooks/{webhook_id} \ --header 'Authorization: Bearer <token>'
{ "status": "ok", "data": { "id": 789456, "event_type": "message:sent:new", "enabled": true, "url": "http://www.example.com/api/hook", "errors_counter": 0 } }
Get the webhook subscription identified by webhook_id.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
an ID of webhook
Success
Standard envelope returning a single webhook in the data field.
ok
error
"ok"
Server generated representation of a webhook subscription including its unique identifier and delivery error statistics.
Show child attributes