Webhooks

List webhook subscriptions

get

Get a paginated list of webhook subscriptions with optional filtering

Authorizations
OAuth2applicationRequired
Token URL:
Query parameters
limitintegerOptional

Number of items to return

afterstringOptional

Cursor for forward pagination

beforestringOptional

Cursor for backward pagination

topicstring · enumOptional

Filter by webhook topic

Possible values:
is_activebooleanOptional

Filter by active status

Responses
chevron-right
200

OK

application/json
end_cursorstringOptionalExample: gaFpxBACEaXBVABEYbHG+X9LyLnH
has_next_pagebooleanOptionalExample: true
has_previous_pagebooleanOptional
start_cursorstringOptionalExample: gaFpxBACEaXBVABEYbHG+X9LyLnH
get
/webhooks
200

OK

Subscribe to a webhook

post

Subscribe to a webhook with the provided information

Authorizations
OAuth2applicationRequired
Token URL:
Body

Subscribe to a webhook

endpoint_urlstringOptional
secret_keystringOptional
topicstring · enumOptionalPossible values:
Responses
post
/webhooks

Unsubscribe from a webhook

delete

Remove a webhook subscription by ID

Authorizations
OAuth2applicationRequired
Token URL:
Path parameters
subscription_idstringRequired

Subscription ID

Responses
chevron-right
200

OK

application/json

Webhook subscription information

created_atstringOptional
endpoint_urlstringOptional
idstringOptional
is_activebooleanOptional
partner_idstringOptional
secret_last_4_digitsstringOptional
topicstring · enumOptionalPossible values:
updated_atstringOptional
delete
/webhooks/{subscription_id}

List webhook events

get

Get a paginated list of webhook events with optional filtering

Authorizations
OAuth2applicationRequired
Token URL:
Query parameters
limitintegerOptional

Number of items to return

afterstringOptional

Cursor for forward pagination

beforestringOptional

Cursor for backward pagination

topicstring · enumOptional

Filter by webhook topic

Possible values:
statusstring · enumOptional

Filter by event status

Possible values:
from_datestringOptional

Filter events created after this date (ISO 8601)

to_datestringOptional

Filter events created before this date (ISO 8601)

Responses
chevron-right
200

OK

application/json
end_cursorstringOptionalExample: gaFpxBACEaXBVABEYbHG+X9LyLnH
has_next_pagebooleanOptionalExample: true
has_previous_pagebooleanOptional
start_cursorstringOptionalExample: gaFpxBACEaXBVABEYbHG+X9LyLnH
get
/webhooks/events
200

OK

Retry failed webhooks

post

Retry all failed webhook events for the partner

Authorizations
OAuth2applicationRequired
Token URL:
Responses
chevron-right
200

OK

application/json

Response from retrying webhooks

messagestringOptional
post
/webhooks/retry

Last updated

Was this helpful?