Skip to content

Get webhooks

GET
/webhook/{name}

Retrieve the organization’s webhook information. Without a name, returns all webhooks as a map keyed by name, or an empty object when the organization has no webhooks configured. With a name, returns the matching webhook, or 404 when the organization has no webhooks configured or no webhook with that name exists. Signing secrets are never returned. Only owner and admin roles can read the webhook information.

name
string
/^[a-z0-9-]{1,64}$/

Webhook information

Any of:
object
key
additional properties
object
url
required
string format: uri
transaction
object
created
string format: uri
updated
string format: uri
completed
string format: uri
card
object
updated
string format: uri
user
object
updated
string format: uri

Invalid webhook name

object
code
required
Allowed values: invalid name
Example
invalid name
message
Array<string>

Unauthorized

object
code
required
Allowed values: unauthorized
Example
unauthorized

User doesn’t belong to the organization

Any of:
object
code
required
Allowed values: no organization
Example
no organization

Webhook not found

object
code
required
Allowed values: not found
Example
not found