List webhook endpoints
The organization's webhook endpoints, most recently created first. Secrets are never included.
The organization's webhook endpoints, most recently created first. Secrets are never included.
The organization API key, sent as Authorization: Bearer <key>.
In: header
Query Parameters
How many items to return. Maximum 100.
1 <= value <= 10025How many items to skip from the beginning.
0 <= value0Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/webhooks"{ "data": [ { "createdAt": "2019-08-24T14:15:22Z", "eventTypes": [ "sale.won" ], "id": "string", "previousSecretExpiresAt": "2019-08-24T14:15:22Z", "status": "enabled", "updatedAt": "2019-08-24T14:15:22Z", "url": "string" } ], "pagination": { "limit": 0, "offset": 0, "total": 0 }}Confirm a hold POST
Anterior
Create a webhook endpoint POST
Registers an https endpoint for the organization's events and returns its signing secret, ONCE. Every delivery carries `Trama-Signature: t=<unix>,v1=<hex>`, HMAC-SHA256 of `<t>.<raw body>` with that secret. An organization has at most 20 endpoints, disabled ones included: one more answers 409 `WEBHOOK_ENDPOINT_LIMIT_REACHED`.