Last updated 1 month ago
Get the list of subscribed webhook.
The ID for the workspace.
The ID for the organization.
Get a webhook-subscription.
const response = await fetch('/organizations/{organizationId}/workspaces/{workspaceId}/webhook-subscriptions', { method: 'GET', headers: { "Authorization": "Bearer jwt" }, }); const data = await response.json();
{ "results": [ { "id": "123e4567-e89b-12d3-a456-426614174000", "organizationId": "123e4567-e89b-12d3-a456-426614174000", "workspaceId": "123e4567-e89b-12d3-a456-426614174000", "service": "text", "event": "text", "eventFilters": [ { "key": "text", "value": "text" } ], "template": "text", "url": "text", "signingKey": "text", "status": "active", "createdAt": "2024-07-27T08:53:41.984Z", "updatedAt": "2024-07-27T08:53:41.984Z" } ] }