Show a webhook subscription
const url = 'https://desk.example.com/api/v1/webhooks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://desk.example.com/api/v1/webhooks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>'Required scope: webhooks:read
The subscription, with its 20 most recent delivery attempts.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The subscription’s id.
Responses
Section titled “Responses”The subscription and its recent deliveries.
object
object
Null when the subscription is workspace-wide.
A subscription is disabled automatically after repeated delivery failures.
One attempt to deliver an event to a subscription’s endpoint.
object
An event an outgoing-webhook subscription can listen for.
The id of the event delivered, for de-duplicating on your side.
The endpoint’s HTTP status, or null when the request never completed.
Example
{ "data": { "events": [ "message.created" ], "status": "active", "deliveries": [ { "event_type": "message.created" } ] }}The token is missing, malformed, or revoked.
The shape every error response carries.
object
Examplegenerated
{ "message": "example"}The token lacks the scope this operation requires, or its subject may see the resource but not perform this action on it.
The shape every error response carries.
object
Examplegenerated
{ "message": "example"}The resource does not exist, is outside the token’s workspace, or the
integrations platform is disabled. A channel the subject cannot see is
reported here rather than as a 403, so the API never leaks its
existence.
The shape every error response carries.
object
Examplegenerated
{ "message": "example"}The per-token rate limit (INTEGRATIONS_API_RATE_LIMIT requests per
minute) was exceeded. Retry after the Retry-After header.
The shape every error response carries.
object
Examplegenerated
{ "message": "example"}Headers
Section titled “Headers”Seconds to wait before retrying.