Skip to main content
GET
/
webhooks
/
{webhook_id}
Get webhook
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
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

webhook_id
string
required

an ID of webhook

Response

Success

Standard envelope returning a single webhook in the data field.

status
enum<string>
required
Available options:
ok,
error
Example:

"ok"

data
object
required

Server generated representation of a webhook subscription including its unique identifier and delivery error statistics.