List webhooks
const url = 'https://optlo.com/api/v1/webhooks?limit=50';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://optlo.com/api/v1/webhooks?limit=50' \ --header 'Authorization: Bearer <token>'Lists workspace subscriptions. Signing secrets are excluded. Active subscriptions receive matching new events.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Maximum number of resources to return on one page.
Opaque cursor from the preceding page. Bound to workspace, resource and filters; survives key rotation.
Response
Section titled “Response”Success
Show child attributes
Resources on this page.
Show child attributes
Unique identifier for the webhook subscription.
HTTPS endpoint that receives matching events.
Event types this subscription receives.
Time the subscription was created.
Whether the subscription is active or disabled. Disabled subscriptions receive no new events.
Time the subscription was disabled, or null while active.
Reason the subscription was disabled: manually, an HTTP 410 response, or repeated failures. Null while active.
Pass this cursor to retrieve the next page. Null when no further page is available. When polling events in ascending order, retain the cursor even on empty pages.
Example
{ "data": [ { "id": "hook_mR9kL3xN6pB2vQ8z_B8kN4pR6xZ2", "url": "https://example.com/webhooks/optlo", "types": [ "message.created" ], "createdAt": "2026-10-13T08:00:00.000Z", "status": "active", "disabledAt": null, "disabledReason": null } ], "nextCursor": null}