GET
/
webhooks
/
{webhook_id}
curl --request GET \
  --url https://api.sandbox.goteal.co/webhooks/{webhook_id} \
  --header 'X-API-KEY: <api-key>'
{
  "webhook_id": "95a0e70b-fe02-4f47-aef9-2efff279df71",
  "name": "user-payroll-submitted",
  "events": [
    "user-payroll-submitted",
    "user-payroll-created"
  ],
  "url": "https://webhooks.company.com",
  "created_at": "2019-05-17T00:00:00.000Z"
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

webhook_id
string
required

ID of the webhook to get

Response

201
application/json
Created
name
string
required

A unique name of the webhook

Example:

"user-payroll-submitted"

events
string[]
required
Example:
[
  "user-payroll-submitted",
  "user-payroll-created"
]
url
string
required
Example:

"https://webhooks.company.com"

webhook_id
string
required

The id of the webhook

Example:

"95a0e70b-fe02-4f47-aef9-2efff279df71"

created_at
string
required
Example:

"2019-05-17T00:00:00.000Z"