Webhook subscriptions
Signed events sent to your HTTPS endpoint.
Subscribe an endpoint to event types, then read its deliveries, retry one, send a test event, pause, resume, or rotate its signing secret.
Fields: The webhook object · The webhook delivery object.
The workspace's webhook subscriptions, newest first, whoever created them. At most 20 exist per workspace, so the list is never paged.
Returns a list of webhook objects.
A workspace API token. Each operation lists the scopes it needs; write implies read, and send/complete are never implied.
Success.
The request is invalid.
The token is missing, invalid, expired, or revoked.
The workspace's subscription needs attention.
The token is missing a required scope.
No such object in this workspace.
Rate limited; see Retry-After.
Internal error.
Temporarily unavailable; retry later.
curl https://api.shortcutco.com/v1/webhooks \
-H "Authorization: Bearer $SHORTCUT_TOKEN"{
"data": [
{
"id": "22c7f63c-1f12-4183-8b5c-6cca17a6a811",
"object": "webhook",
"url": "https://example.com/shortcut/webhooks",
"description": null,
"eventTypes": [
"customer.created"
],
"requiredScopes": [
"customers:read"
],
"status": "active",
"consecutiveFailures": 0,
"disabledAt": null,
"previousSecretExpiresAt": null,
"createdVia": "api_token",
"createdAt": "2026-10-16T17:04:12.381Z",
"updatedAt": "2026-10-16T17:04:12.381Z"
}
]
}Subscribes an HTTPS endpoint (port 443, public address) to event types. Subscribing to a family needs its read scope as well as webhooks:manage (for example invoices:read for invoice.paid); those read scopes are stored as requiredScopes, and every payload is limited to them. The response carries the signing secret once; it is not kept for idempotent replays, so a replay omits it. The subscription belongs to the workspace and keeps working if this token is revoked. At most 20 per workspace.
Returns the webhook object.
Errors specific to this endpoint: invalid_webhook_url, webhook_limit_reached, webhook_signing_unavailable. Every endpoint can also return the common errors.
A workspace API token. Each operation lists the scopes it needs; write implies read, and send/complete are never implied.
Any string up to 255 characters. Retrying with the same key returns the first response instead of repeating the write, for 24 hours.
The HTTPS endpoint (port 443) to send events to.
A note to tell subscriptions apart, such as Zapier: new invoices.
Success.
The request is invalid.
The token is missing, invalid, expired, or revoked.
The workspace's subscription needs attention.
The token is missing a required scope.
No such object in this workspace.
Conflict with the current state or an in-flight request with the same idempotency key.
The request cannot be applied, or its idempotency key was used for a different request.
Rate limited; see Retry-After.
Internal error.
Temporarily unavailable; retry later.
curl https://api.shortcutco.com/v1/webhooks \
-X POST \
-H "Authorization: Bearer $SHORTCUT_TOKEN" \
-H "Idempotency-Key: b58d3b2b-b1d7-4672-8e21-b1b9aa6bed00" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com/shortcut/webhooks","eventTypes":["customer.created"]}'{
"data": {
"id": "764b2f0c-7295-4a53-8edf-a59a6b29e0e1",
"object": "webhook",
"url": "https://example.com/shortcut/webhooks",
"description": null,
"eventTypes": [
"customer.created"
],
"requiredScopes": [
"customers:read"
],
"status": "active",
"consecutiveFailures": 0,
"disabledAt": null,
"previousSecretExpiresAt": null,
"createdVia": "api_token",
"createdAt": "2026-10-16T17:04:12.381Z",
"updatedAt": "2026-10-16T17:04:12.381Z",
"secret": "whsec_…"
}
}One webhook subscription. The signing secret is never returned here.
Returns the webhook object.
A workspace API token. Each operation lists the scopes it needs; write implies read, and send/complete are never implied.
The object's id.
Success.
The request is invalid.
The token is missing, invalid, expired, or revoked.
The workspace's subscription needs attention.
The token is missing a required scope.
No such object in this workspace.
Rate limited; see Retry-After.
Internal error.
Temporarily unavailable; retry later.
curl https://api.shortcutco.com/v1/webhooks/2a0b6c09-2655-4750-829f-e2971eea1dde \
-H "Authorization: Bearer $SHORTCUT_TOKEN"{
"data": {
"id": "2a0b6c09-2655-4750-829f-e2971eea1dde",
"object": "webhook",
"url": "https://example.com/shortcut/webhooks",
"description": null,
"eventTypes": [
"customer.created"
],
"requiredScopes": [
"customers:read"
],
"status": "active",
"consecutiveFailures": 0,
"disabledAt": null,
"previousSecretExpiresAt": null,
"createdVia": "api_token",
"createdAt": "2026-10-16T17:04:12.381Z",
"updatedAt": "2026-10-16T17:04:12.381Z"
}
}Deletes a webhook subscription with its delivery history and returns it. Nothing new is sent to it; a request already in progress when it was deleted (at most one per delivery) may still arrive.
Returns the webhook object.
A workspace API token. Each operation lists the scopes it needs; write implies read, and send/complete are never implied.
The object's id.
Success.
The request is invalid.
The token is missing, invalid, expired, or revoked.
The workspace's subscription needs attention.
The token is missing a required scope.
No such object in this workspace.
Conflict with the current state or an in-flight request with the same idempotency key.
The request cannot be applied, or its idempotency key was used for a different request.
Rate limited; see Retry-After.
Internal error.
Temporarily unavailable; retry later.
curl https://api.shortcutco.com/v1/webhooks/2a0b6c09-2655-4750-829f-e2971eea1dde \
-X DELETE \
-H "Authorization: Bearer $SHORTCUT_TOKEN"{
"data": {
"id": "2a0b6c09-2655-4750-829f-e2971eea1dde",
"object": "webhook",
"url": "https://example.com/shortcut/webhooks",
"description": null,
"eventTypes": [
"customer.created"
],
"requiredScopes": [
"customers:read"
],
"status": "active",
"consecutiveFailures": 0,
"disabledAt": null,
"previousSecretExpiresAt": null,
"createdVia": "api_token",
"createdAt": "2026-10-16T17:04:12.381Z",
"updatedAt": "2026-10-16T17:04:12.381Z"
}
}Changes a webhook's URL, description, or event types, or pauses or resumes it. Send only the fields to change. status: paused (from active only) holds everything not yet sent until it is set back to active, which sends the held deliveries, about two a minute; setting a disabled webhook to active turns it back on and resets its failure count, and a disabled webhook cannot be paused (409 state_conflict). Except for pausing, the token must hold the webhook's read scopes (its requiredScopes after the change), so a token cannot redirect events it could not read.
Returns the webhook object.
Errors specific to this endpoint: invalid_webhook_url, state_conflict. Every endpoint can also return the common errors.
A workspace API token. Each operation lists the scopes it needs; write implies read, and send/complete are never implied.
The object's id.
The HTTPS endpoint (port 443) to send events to.
A note to tell subscriptions apart, such as Zapier: new invoices.
paused holds new events until the subscription is set back to active. Setting a disabled subscription to active turns it back on and resets its failure count.
Success.
The request is invalid.
The token is missing, invalid, expired, or revoked.
The workspace's subscription needs attention.
The token is missing a required scope.
No such object in this workspace.
Conflict with the current state or an in-flight request with the same idempotency key.
The request cannot be applied, or its idempotency key was used for a different request.
Rate limited; see Retry-After.
Internal error.
Temporarily unavailable; retry later.
curl https://api.shortcutco.com/v1/webhooks/2a0b6c09-2655-4750-829f-e2971eea1dde \
-X PATCH \
-H "Authorization: Bearer $SHORTCUT_TOKEN" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com/shortcut/webhooks"}'{
"data": {
"id": "2a0b6c09-2655-4750-829f-e2971eea1dde",
"object": "webhook",
"url": "https://example.com/shortcut/webhooks",
"description": null,
"eventTypes": [
"customer.created"
],
"requiredScopes": [
"customers:read"
],
"status": "active",
"consecutiveFailures": 0,
"disabledAt": null,
"previousSecretExpiresAt": null,
"createdVia": "api_token",
"createdAt": "2026-10-16T17:04:12.381Z",
"updatedAt": "2026-10-16T17:04:12.381Z"
}
}The webhook's deliveries, newest first, test events included, with each one's status, attempts, last response status, and a redacted excerpt of the last response. Deliveries are kept for 30 days.
Returns a list of webhook delivery objects.
A workspace API token. Each operation lists the scopes it needs; write implies read, and send/complete are never implied.
The object's id.
How many items to return, 1-200. Defaults to 50.
50The meta.nextCursor from the previous page. Omit it for the first page.
Only deliveries in this status.
Success.
The request is invalid.
The token is missing, invalid, expired, or revoked.
The workspace's subscription needs attention.
The token is missing a required scope.
No such object in this workspace.
Rate limited; see Retry-After.
Internal error.
Temporarily unavailable; retry later.
curl https://api.shortcutco.com/v1/webhooks/08d50ae0-051f-4627-8169-816efdb3bcb5/deliveries \
-H "Authorization: Bearer $SHORTCUT_TOKEN"{
"data": [
{
"id": "35dae517-3225-405e-8e6f-5ba52ab996ec",
"object": "webhook_delivery",
"webhookId": "08d50ae0-051f-4627-8169-816efdb3bcb5",
"eventId": "evt_9b2e4c6a8d0f1e3b5a7c9d2f4e6b8a0c",
"eventType": "customer.updated",
"status": "succeeded",
"attempts": 1,
"nextAttemptAt": null,
"deliveredAt": "2026-10-16T17:04:12.381Z",
"lastResponseStatus": 200,
"lastError": null,
"lastResponseExcerpt": "ok",
"createdAt": "2026-10-16T17:04:12.381Z"
}
],
"meta": {
"nextCursor": null,
"hasMore": false
}
}Sends a failed or exhausted delivery again within about a minute, with the object as it is now. The webhook must be active, and the token must hold its read scopes. Test events cannot be retried; send another.
Returns the webhook delivery object.
Errors specific to this endpoint: delivery_not_retryable, webhook_not_active. Every endpoint can also return the common errors.
A workspace API token. Each operation lists the scopes it needs; write implies read, and send/complete are never implied.
The webhook's id.
The delivery's id.
Any string up to 255 characters. Retrying with the same key returns the first response instead of repeating the write, for 24 hours.
Success.
The request is invalid.
The token is missing, invalid, expired, or revoked.
The workspace's subscription needs attention.
The token is missing a required scope.
No such object in this workspace.
Conflict with the current state or an in-flight request with the same idempotency key.
The request cannot be applied, or its idempotency key was used for a different request.
Rate limited; see Retry-After.
Internal error.
Temporarily unavailable; retry later.
curl https://api.shortcutco.com/v1/webhooks/5473a661-50bd-41a8-8d08-1cef49525836/deliveries/e8d0c5d9-e51b-4120-8165-3c67ddaf77ae/retry \
-X POST \
-H "Authorization: Bearer $SHORTCUT_TOKEN" \
-H "Idempotency-Key: a1fe4769-9e48-42b0-8a92-bdf796dcf93e"{
"data": {
"id": "e8d0c5d9-e51b-4120-8165-3c67ddaf77ae",
"object": "webhook_delivery",
"webhookId": "5473a661-50bd-41a8-8d08-1cef49525836",
"eventId": "evt_9b2e4c6a8d0f1e3b5a7c9d2f4e6b8a0c",
"eventType": "customer.updated",
"status": "pending",
"attempts": 6,
"nextAttemptAt": "2026-10-16T17:04:12.381Z",
"deliveredAt": null,
"lastResponseStatus": 503,
"lastError": null,
"lastResponseExcerpt": "Service Unavailable",
"createdAt": "2026-10-15T09:12:40.000Z"
}
}Issues a new signing secret, returned once as secret. For the next 24 hours every delivery is signed with both the new and the previous secret (two v1= signatures), so the receiver can switch without missing events. A replay omits the secret; rotate again if you lost it. The token must hold the webhook's read scopes.
Returns the webhook object.
Errors specific to this endpoint: webhook_signing_unavailable. Every endpoint can also return the common errors.
A workspace API token. Each operation lists the scopes it needs; write implies read, and send/complete are never implied.
The object's id.
Any string up to 255 characters. Retrying with the same key returns the first response instead of repeating the write, for 24 hours.
Success.
The request is invalid.
The token is missing, invalid, expired, or revoked.
The workspace's subscription needs attention.
The token is missing a required scope.
No such object in this workspace.
Conflict with the current state or an in-flight request with the same idempotency key.
The request cannot be applied, or its idempotency key was used for a different request.
Rate limited; see Retry-After.
Internal error.
Temporarily unavailable; retry later.
curl https://api.shortcutco.com/v1/webhooks/ff89fcb0-fbd4-47f7-881e-733ef468ae85/rotate-secret \
-X POST \
-H "Authorization: Bearer $SHORTCUT_TOKEN" \
-H "Idempotency-Key: ab14ea2a-a75f-4571-83a9-60b89ff39bff"{
"data": {
"id": "ff89fcb0-fbd4-47f7-881e-733ef468ae85",
"object": "webhook",
"url": "https://example.com/shortcut/webhooks",
"description": null,
"eventTypes": [
"customer.created"
],
"requiredScopes": [
"customers:read"
],
"status": "active",
"consecutiveFailures": 0,
"disabledAt": null,
"previousSecretExpiresAt": null,
"createdVia": "api_token",
"createdAt": "2026-10-16T17:04:12.381Z",
"updatedAt": "2026-10-16T17:04:12.381Z",
"secret": "whsec_…"
}
}Sends one signed webhook.test event to the webhook now and returns the delivery with the receiver's answer. It carries no workspace data, is not retried, does not count toward the failure limit, and works whatever the webhook's status.
Returns the webhook delivery object.
A workspace API token. Each operation lists the scopes it needs; write implies read, and send/complete are never implied.
The object's id.
Any string up to 255 characters. Retrying with the same key returns the first response instead of repeating the write, for 24 hours.
Success.
The request is invalid.
The token is missing, invalid, expired, or revoked.
The workspace's subscription needs attention.
The token is missing a required scope.
No such object in this workspace.
Conflict with the current state or an in-flight request with the same idempotency key.
The request cannot be applied, or its idempotency key was used for a different request.
Rate limited; see Retry-After.
Internal error.
Temporarily unavailable; retry later.
curl https://api.shortcutco.com/v1/webhooks/751ee98c-7169-44d3-8db3-601a69fd9b61/test \
-X POST \
-H "Authorization: Bearer $SHORTCUT_TOKEN" \
-H "Idempotency-Key: 14adbca2-10f7-47e9-8d42-3330098c6e77"{
"data": {
"id": "ecfe5acb-e948-4612-8592-d159e1dd0ca0",
"object": "webhook_delivery",
"webhookId": "751ee98c-7169-44d3-8db3-601a69fd9b61",
"eventId": "evt_9b2e4c6a8d0f1e3b5a7c9d2f4e6b8a0c",
"eventType": "webhook.test",
"status": "succeeded",
"attempts": 1,
"nextAttemptAt": null,
"deliveredAt": "2026-10-16T17:04:12.381Z",
"lastResponseStatus": 200,
"lastError": null,
"lastResponseExcerpt": "ok",
"createdAt": "2026-10-16T17:04:12.381Z"
}
}Last updated