List webhooks

Returns all webhooks in the workspace. Restricted to admins only.

Required scopes: WORKSPACE, WEBHOOK_INFO

Resource URL

GET /workspaces/:domain/webhooks

URL Parameters

NameTypeDescription
domain
Required
StringThe workspace domain.

Example

Request

GET https://api.buddy.works/workspaces/buddy/webhooks

Sample Response

HTTP

Status: 200 OK
X-Rate-Limit-Limit: 1
X-Rate-Limit-Remaining: 999

JSON

{
"url": "https://api.buddy.works/workspaces/buddy/webhooks",
"html_url": "https://app.buddy.works/buddy/webhook",
"webhooks": [
{
"url": "https://api.buddy.works/workspaces/buddy/webhooks/1",
"html_url": "https://app.buddy.works/buddy/webhook/1",
"id": 1,
"target_url": "http://localhost"
}
]
}