Skip to Content
Docs
API referenceManagement API

Webhooks

List event types

GET
/webhooks/event-types

List system and custom event types.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Query Parameters

type?string

Filter by kind (system|custom)

scope?string

Filter by scope (project|organization)

name?string

Partial name match

page?integer

Page number

limit?integer

Items per page

Response Body

OK

application/json
  1. response
data?array<>
object?string
pagination?

Pagination is the page answered (api-route-review D9).

Example Request
curl -X GET 'https://api.us.pontive.com/v1/webhooks/event-types'
Example Response
{  "data": [    {      "created_at": "string",      "description": "string",      "name": "string",      "object": "string",      "payload_schema": "string",      "schema_mode": "strict",      "scope": "project",      "type": "system",      "updated_at": "string"    }  ],  "object": "string",  "pagination": {    "limit": 0,    "page": 0,    "total": 0,    "total_pages": 0  }}

Get event type

GET
/webhooks/event-types/{event_type_name}

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

event_type_name*string

Event type name (e.g. user.created)

Response Body

OK

application/json
  1. response
created_at?string
description?string
name?string
object?string
payload_schema?string
schema_mode?string
Value in"strict""lenient"
scope?string
Value in"project""organization"
type?string
Value in"system""custom"
updated_at?string
Example Request
curl -X GET 'https://api.us.pontive.com/v1/webhooks/event-types/string'
Example Response
{  "created_at": "string",  "description": "string",  "name": "string",  "object": "string",  "payload_schema": "string",  "schema_mode": "strict",  "scope": "project",  "type": "system",  "updated_at": "string"}

List events

GET
/webhooks/events

Query events for inspection, walked by cursor (api-route-review D41): newest first, next_cursor passed as before to page back (null at the end), or as after to poll for what was created since, oldest first.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Query Parameters

type?string

Filter by event type

organization_id?string

Filter by organization (org_…)

from?string

RFC 3339: created at or after

to?string

RFC 3339: created before

after?string

Cursor: events created after it, oldest first (polling)

before?string

Cursor: older events, newest first

limit?integer

Items per page

Response Body

OK

application/json
  1. response
data?array<>
next_cursor?string
object?string
Example Request
curl -X GET 'https://api.us.pontive.com/v1/webhooks/events'
Example Response
{  "data": [    {      "created_at": "string",      "data": {},      "id": "string",      "object": "string",      "organization_id": "string",      "previous_attributes": {},      "source": "system",      "type": "string"    }  ],  "next_cursor": "string",  "object": "string"}

Get event

GET
/webhooks/events/{event_id}

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

event_id*string

Event id (evt_…)

Response Body

OK

application/json
  1. response
created_at?string
data?
id?string
object?string
organization_id?string
previous_attributes?
source?string
Value in"system""custom""meta""test"
type?string
Example Request
curl -X GET 'https://api.us.pontive.com/v1/webhooks/events/string'
Example Response
{  "created_at": "string",  "data": {},  "id": "string",  "object": "string",  "organization_id": "string",  "previous_attributes": {},  "source": "system",  "type": "string"}
GET
/webhooks/subscriptions

List webhook subscriptions with filtering and pagination. A token acting for a user through an actor (RFC 8693 act) sees each custom header's name with the value "••••••".

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Query Parameters

scope?string

Filter by scope (project|organization)

status?string

Filter by status (active|paused|failing|disabled)

organization_id?string

Filter organization-scope subscriptions by organization (org_…)

sort?string

Sort field; prefix with - for descending. Allowed: created_at, updated_at, status, url. Default: -created_at

page?integer

Page number

limit?integer

Items per page

Response Body

OK

application/json
  1. response
data?array<>
object?string
pagination?

Pagination is the page answered (api-route-review D9).

Example Request
curl -X GET 'https://api.us.pontive.com/v1/webhooks/subscriptions'
Example Response
{  "data": [    {      "allow_private_ips": true,      "created_at": "string",      "description": "string",      "event_types": [        "string"      ],      "headers": {        "property1": "string",        "property2": "string"      },      "id": "string",      "instance_id": "string",      "last_failure": {        "error": "string",        "response_code": 0,        "timestamp": "string"      },      "metadata": {        "property1": "string",        "property2": "string"      },      "object": "string",      "organization_id": "string",      "scope": "project",      "secret": "string",      "secret_preview": "string",      "stats": {        "last_24h": {          "delivered": 0,          "failed": 0        }      },      "status": "active",      "updated_at": "string",      "url": "string"    }  ],  "object": "string",  "pagination": {    "limit": 0,    "page": 0,    "total": 0,    "total_pages": 0  }}
POST
/webhooks/subscriptions

Register an endpoint for event delivery. The Standard Webhooks signing secret ("whsec_…") is returned ONLY in this response — store it now. Omit scope (or pass "project") for a client subscription; scope "organization" with organization_id creates an organization self-service subscription.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Request Body

Create subscription payload

application/json
  1. body

Create subscription payload

allow_private_ips?boolean
description?string
event_types*array<string>
headers?
metadata?
organization_id?string
scope?string
Value in"project""organization"
url*string

Response Body

Created

application/json
  1. response
allow_private_ips?boolean
created_at?string
description?string
event_types?array<string>
headers?
id?string
instance_id?string
last_failure?
metadata?
object?string
organization_id?string
scope?string
Value in"project""organization"
secret?string

Secret is the plaintext Standard Webhooks signing secret ("whsec_…"). Present only in create/rotate-secret responses; never readable again.

secret_preview?string
stats?
status?string
Value in"active""paused""failing""disabled"
updated_at?string
url?string
Example Request
curl -X POST 'https://api.us.pontive.com/v1/webhooks/subscriptions' \  -H 'Content-Type: application/json' \  -d '{  "event_types": [    "string"  ],  "url": "string"}'
Example Response
{  "allow_private_ips": true,  "created_at": "string",  "description": "string",  "event_types": [    "string"  ],  "headers": {    "property1": "string",    "property2": "string"  },  "id": "string",  "instance_id": "string",  "last_failure": {    "error": "string",    "response_code": 0,    "timestamp": "string"  },  "metadata": {    "property1": "string",    "property2": "string"  },  "object": "string",  "organization_id": "string",  "scope": "project",  "secret": "string",  "secret_preview": "string",  "stats": {    "last_24h": {      "delivered": 0,      "failed": 0    }  },  "status": "active",  "updated_at": "string",  "url": "string"}

Get webhook subscription

GET
/webhooks/subscriptions/{subscription_id}

A token acting for a user through an actor (RFC 8693 act) sees each custom header's name with the value "••••••".

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

subscription_id*string

Subscription id (whs_…)

Response Body

OK

application/json
  1. response
allow_private_ips?boolean
created_at?string
description?string
event_types?array<string>
headers?
id?string
instance_id?string
last_failure?
metadata?
object?string
organization_id?string
scope?string
Value in"project""organization"
secret?string

Secret is the plaintext Standard Webhooks signing secret ("whsec_…"). Present only in create/rotate-secret responses; never readable again.

secret_preview?string
stats?
status?string
Value in"active""paused""failing""disabled"
updated_at?string
url?string
Example Request
curl -X GET 'https://api.us.pontive.com/v1/webhooks/subscriptions/string'
Example Response
{  "allow_private_ips": true,  "created_at": "string",  "description": "string",  "event_types": [    "string"  ],  "headers": {    "property1": "string",    "property2": "string"  },  "id": "string",  "instance_id": "string",  "last_failure": {    "error": "string",    "response_code": 0,    "timestamp": "string"  },  "metadata": {    "property1": "string",    "property2": "string"  },  "object": "string",  "organization_id": "string",  "scope": "project",  "secret": "string",  "secret_preview": "string",  "stats": {    "last_24h": {      "delivered": 0,      "failed": 0    }  },  "status": "active",  "updated_at": "string",  "url": "string"}
PATCH
/webhooks/subscriptions/{subscription_id}

Patch mutable fields (url, description, event_types, headers, metadata). A token acting for a user through an actor (RFC 8693 act) may not set headers (403 actor_refused: custom headers can hold credentials) and sees them masked ("••••••") in the response.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

subscription_id*string

Subscription id (whs_…)

Request Body

Update payload

application/json
  1. body

Update payload

description?string
event_types?array<string>
headers?
metadata?
url?string

Response Body

OK

application/json
  1. response
allow_private_ips?boolean
created_at?string
description?string
event_types?array<string>
headers?
id?string
instance_id?string
last_failure?
metadata?
object?string
organization_id?string
scope?string
Value in"project""organization"
secret?string

Secret is the plaintext Standard Webhooks signing secret ("whsec_…"). Present only in create/rotate-secret responses; never readable again.

secret_preview?string
stats?
status?string
Value in"active""paused""failing""disabled"
updated_at?string
url?string
Example Request
curl -X PATCH 'https://api.us.pontive.com/v1/webhooks/subscriptions/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "allow_private_ips": true,  "created_at": "string",  "description": "string",  "event_types": [    "string"  ],  "headers": {    "property1": "string",    "property2": "string"  },  "id": "string",  "instance_id": "string",  "last_failure": {    "error": "string",    "response_code": 0,    "timestamp": "string"  },  "metadata": {    "property1": "string",    "property2": "string"  },  "object": "string",  "organization_id": "string",  "scope": "project",  "secret": "string",  "secret_preview": "string",  "stats": {    "last_24h": {      "delivered": 0,      "failed": 0    }  },  "status": "active",  "updated_at": "string",  "url": "string"}
DELETE
/webhooks/subscriptions/{subscription_id}

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

subscription_id*string

Subscription id (whs_…)

Response Body

No Content

Example Request
curl -X DELETE 'https://api.us.pontive.com/v1/webhooks/subscriptions/string'
Example Response
Empty

List deliveries

GET
/webhooks/subscriptions/{subscription_id}/deliveries

List a subscription's delivery attempts (full request/response records), walked by cursor as the events are (api-route-review D41). A token acting for a user through an actor (RFC 8693 act) sees the recorded request and response headers' names with the value "••••••".

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

subscription_id*string

Subscription id (whs_…)

Query Parameters

status?string

Filter by status (pending|inflight|success|failed|error)

event_id?string

Filter by event (evt_…)

from?string

RFC 3339: created at or after

to?string

RFC 3339: created before

after?string

Cursor: attempts made after it, oldest first (polling)

before?string

Cursor: older attempts, newest first

limit?integer

Items per page

Response Body

OK

application/json
  1. response
data?array<>
next_cursor?string
object?string
Example Request
curl -X GET 'https://api.us.pontive.com/v1/webhooks/subscriptions/string/deliveries'
Example Response
{  "data": [    {      "attempt_number": 0,      "created_at": "string",      "delivered_at": "string",      "duration_ms": 0,      "error": "string",      "event_id": "string",      "id": "string",      "next_retry_at": "string",      "object": "string",      "request": {        "headers": {          "property1": "string",          "property2": "string"        },        "method": "string",        "url": "string"      },      "response": {        "body_preview": "string",        "code": 0,        "headers": {          "property1": "string",          "property2": "string"        }      },      "response_code": 0,      "retried_by": "string",      "status": "pending",      "subscription_id": "string"    }  ],  "next_cursor": "string",  "object": "string"}

Get delivery

GET
/webhooks/subscriptions/{subscription_id}/deliveries/{delivery_id}

A token acting for a user through an actor (RFC 8693 act) sees the recorded request and response headers' names with the value "••••••".

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

subscription_id*string

Subscription id (whs_…)

delivery_id*string

Delivery id (del_…)

Response Body

OK

application/json
  1. response
attempt_number?integer
created_at?string
delivered_at?string
duration_ms?integer
error?string
event_id?string
id?string
next_retry_at?string
object?string
request?
response?
response_code?integer
retried_by?string

RetriedBy is the id of the attempt that superseded this one — the next automatic rung or a manual retry. Absent until a successor exists; an attempt that has one cannot be retried again.

status?string
Value in"pending""inflight""success""failed""error"
subscription_id?string
Example Request
curl -X GET 'https://api.us.pontive.com/v1/webhooks/subscriptions/string/deliveries/string'
Example Response
{  "attempt_number": 0,  "created_at": "string",  "delivered_at": "string",  "duration_ms": 0,  "error": "string",  "event_id": "string",  "id": "string",  "next_retry_at": "string",  "object": "string",  "request": {    "headers": {      "property1": "string",      "property2": "string"    },    "method": "string",    "url": "string"  },  "response": {    "body_preview": "string",    "code": 0,    "headers": {      "property1": "string",      "property2": "string"    }  },  "response_code": 0,  "retried_by": "string",  "status": "pending",  "subscription_id": "string"}

Retry delivery

POST
/webhooks/subscriptions/{subscription_id}/deliveries/{delivery_id}/retry

Manually re-attempt a failed or errored delivery: a fresh attempt is scheduled immediately and the prior attempt's retried_by is set to it. Allowed once per attempt — one that already has a successor (automatic rung or earlier manual retry) answers 409.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

subscription_id*string

Subscription id (whs_…)

delivery_id*string

Delivery id (del_…)

Response Body

Accepted

application/json
  1. response
attempt_number?integer
created_at?string
delivered_at?string
duration_ms?integer
error?string
event_id?string
id?string
next_retry_at?string
object?string
request?
response?
response_code?integer
retried_by?string

RetriedBy is the id of the attempt that superseded this one — the next automatic rung or a manual retry. Absent until a successor exists; an attempt that has one cannot be retried again.

status?string
Value in"pending""inflight""success""failed""error"
subscription_id?string
Example Request
curl -X POST 'https://api.us.pontive.com/v1/webhooks/subscriptions/string/deliveries/string/retry'
Example Response
{  "attempt_number": 0,  "created_at": "string",  "delivered_at": "string",  "duration_ms": 0,  "error": "string",  "event_id": "string",  "id": "string",  "next_retry_at": "string",  "object": "string",  "request": {    "headers": {      "property1": "string",      "property2": "string"    },    "method": "string",    "url": "string"  },  "response": {    "body_preview": "string",    "code": 0,    "headers": {      "property1": "string",      "property2": "string"    }  },  "response_code": 0,  "retried_by": "string",  "status": "pending",  "subscription_id": "string"}
POST
/webhooks/subscriptions/{subscription_id}/pause

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

subscription_id*string

Subscription id (whs_…)

Response Body

OK

application/json
  1. response
allow_private_ips?boolean
created_at?string
description?string
event_types?array<string>
headers?
id?string
instance_id?string
last_failure?
metadata?
object?string
organization_id?string
scope?string
Value in"project""organization"
secret?string

Secret is the plaintext Standard Webhooks signing secret ("whsec_…"). Present only in create/rotate-secret responses; never readable again.

secret_preview?string
stats?
status?string
Value in"active""paused""failing""disabled"
updated_at?string
url?string
Example Request
curl -X POST 'https://api.us.pontive.com/v1/webhooks/subscriptions/string/pause'
Example Response
{  "allow_private_ips": true,  "created_at": "string",  "description": "string",  "event_types": [    "string"  ],  "headers": {    "property1": "string",    "property2": "string"  },  "id": "string",  "instance_id": "string",  "last_failure": {    "error": "string",    "response_code": 0,    "timestamp": "string"  },  "metadata": {    "property1": "string",    "property2": "string"  },  "object": "string",  "organization_id": "string",  "scope": "project",  "secret": "string",  "secret_preview": "string",  "stats": {    "last_24h": {      "delivered": 0,      "failed": 0    }  },  "status": "active",  "updated_at": "string",  "url": "string"}
POST
/webhooks/subscriptions/{subscription_id}/resume

Reactivate a paused, failing, or disabled subscription.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

subscription_id*string

Subscription id (whs_…)

Response Body

OK

application/json
  1. response
allow_private_ips?boolean
created_at?string
description?string
event_types?array<string>
headers?
id?string
instance_id?string
last_failure?
metadata?
object?string
organization_id?string
scope?string
Value in"project""organization"
secret?string

Secret is the plaintext Standard Webhooks signing secret ("whsec_…"). Present only in create/rotate-secret responses; never readable again.

secret_preview?string
stats?
status?string
Value in"active""paused""failing""disabled"
updated_at?string
url?string
Example Request
curl -X POST 'https://api.us.pontive.com/v1/webhooks/subscriptions/string/resume'
Example Response
{  "allow_private_ips": true,  "created_at": "string",  "description": "string",  "event_types": [    "string"  ],  "headers": {    "property1": "string",    "property2": "string"  },  "id": "string",  "instance_id": "string",  "last_failure": {    "error": "string",    "response_code": 0,    "timestamp": "string"  },  "metadata": {    "property1": "string",    "property2": "string"  },  "object": "string",  "organization_id": "string",  "scope": "project",  "secret": "string",  "secret_preview": "string",  "stats": {    "last_24h": {      "delivered": 0,      "failed": 0    }  },  "status": "active",  "updated_at": "string",  "url": "string"}
POST
/webhooks/subscriptions/{subscription_id}/rotate-secret

Mint a new Standard Webhooks signing secret. The previous secret keeps signing beside the new one for expire_previous_in seconds (0 to 604800, default 86400; 0 ends it now): during the overlap each delivery's webhook-signature header carries one signature per secret, so subscribers rotate with zero downtime. The NEW plaintext secret is returned only here.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Path Parameters

subscription_id*string

Subscription id (whs_…)

Request Body

Rotation options

application/json
  1. body

Rotation options

expire_previous_in?integer

ExpirePreviousIn is how long the previous signing secret keeps signing beside the new one, in seconds: 0 to 604800; absent is 86400, and 0 ends it now.

Range0 <= value <= 604800

Response Body

OK

application/json
  1. response
allow_private_ips?boolean
created_at?string
description?string
event_types?array<string>
headers?
id?string
instance_id?string
last_failure?
metadata?
object?string
organization_id?string
scope?string
Value in"project""organization"
secret?string

Secret is the plaintext Standard Webhooks signing secret ("whsec_…"). Present only in create/rotate-secret responses; never readable again.

secret_preview?string
stats?
status?string
Value in"active""paused""failing""disabled"
updated_at?string
url?string
Example Request
curl -X POST 'https://api.us.pontive.com/v1/webhooks/subscriptions/string/rotate-secret' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "allow_private_ips": true,  "created_at": "string",  "description": "string",  "event_types": [    "string"  ],  "headers": {    "property1": "string",    "property2": "string"  },  "id": "string",  "instance_id": "string",  "last_failure": {    "error": "string",    "response_code": 0,    "timestamp": "string"  },  "metadata": {    "property1": "string",    "property2": "string"  },  "object": "string",  "organization_id": "string",  "scope": "project",  "secret": "string",  "secret_preview": "string",  "stats": {    "last_24h": {      "delivered": 0,      "failed": 0    }  },  "status": "active",  "updated_at": "string",  "url": "string"}

Get webhook usage

GET
/webhooks/usage

Billing-relevant delivery counters for a period (YYYY-MM; defaults to the current month).

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Query Parameters

period?string

Billing period (YYYY-MM)

Response Body

OK

application/json
  1. response
deliveries_count?integer
failed_count?integer
object?string
period?string
retried_count?integer
Example Request
curl -X GET 'https://api.us.pontive.com/v1/webhooks/usage'
Example Response
{  "deliveries_count": 0,  "failed_count": 0,  "object": "string",  "period": "string",  "retried_count": 0}