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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”name
string
Responses
Section titled “Responses”Webhook information
Media typeapplication/json
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
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
Examplegenerated
{ "additionalProperty": { "url": "https://example.com", "transaction": { "created": "https://example.com", "updated": "https://example.com", "completed": "https://example.com" }, "card": { "updated": "https://example.com" }, "user": { "updated": "https://example.com" } }}Invalid webhook name
Media typeapplication/json
object
code
required
message
Array<string>
Example
{ "code": "invalid name"}Unauthorized
Media typeapplication/json
object
code
required
Example
{ "code": "unauthorized"}User doesn't belong to the organization
Webhook not found
Media typeapplication/json
object
code
required
Example
{ "code": "not found"}