Register the endpoints Fingerly sends webhooks to. Admin and developer management keys can do all of this. An organization can have up to 10 endpoints.
Path parameter
organization_idstringrequiredYour organization, from Describe the key. A path naming any other organization answers404.
List endpoints
/api/v1/management/organizations/{organization_id}/webhooks Management keyResponse
endpointsWebhookEndpoint[]Every endpoint, newest first.12 child fields
idstringThe endpoint's ID.urlstringWhere deliveries are sent.descriptionstringYour description.environmentstringlivefor production traffic,testfor staging and development.eventsstring[]The event types the endpoint receives.statusstringactive,pausedorfailing.secret_last4stringThe last four characters of the signing secret.previous_secret_expires_atstringDuring a rotation, when the previous secret stops signing.delivered_24hintegerDeliveries that succeeded in the last 24 hours.failed_24hintegerDeliveries that failed in the last 24 hours.last_delivery_atstringWhen the endpoint last received a delivery.created_atstringWhen the endpoint was created.
Create an endpoint
/api/v1/management/organizations/{organization_id}/webhooks Management keyBody
urlstringrequiredAnhttps://URL that resolves to a public address. Redirects are not followed.environmentstringrequiredliveortest.eventsstring[]requiredEvent types, such asidentification.completed.billing.status_changedneedslive.descriptionstringrequiredTo tell endpoints apart. May be empty.
Answers 201 with endpoint and secret, the signing secret, shown once. A request past the limit of 10 endpoints answers 409 with webhook_limit.
Update an endpoint
/api/v1/management/organizations/{organization_id}/webhooks/{webhook_id} Management keyBody
urlstringA new URL.descriptionstringA new description.environmentstringliveortest.eventsstring[]The complete new list of event types.pausedbooleantruepauses the endpoint;falseresumes it.
Send only the fields to change. Answers with the endpoint.
Delete an endpoint
/api/v1/management/organizations/{organization_id}/webhooks/{webhook_id} Management keyRemoves the endpoint and answers 204. Deliveries stop at once.
Rotate the signing secret
/api/v1/management/organizations/{organization_id}/webhooks/{webhook_id}/rotate-secret Management keyBody
previous_secret_valid_hoursintegerDefault24How long the previous secret keeps signing deliveries, from0to168.
Answers with endpoint and the new secret, shown once. See rotate a secret.
Send a test event
/api/v1/management/organizations/{organization_id}/webhooks/{webhook_id}/test Management keyQueues one signed webhook.test delivery and answers 202 with its event_id. A test or redelivery already queued for the endpoint answers 409 with webhook_busy.
Redeliver an event
/api/v1/management/organizations/{organization_id}/webhooks/{webhook_id}/redeliver Management keyBody
event_idstringrequiredThe ID of an event this endpoint received in the last 30 days.
Queues one more delivery of the event, with the same id, and answers 202.
List delivery attempts
/api/v1/management/organizations/{organization_id}/webhook-deliveries Management keyQuery parameters
environmentstringDefault'all'live,testorall.limitintegerDefault50Attempts per page.cursorstringThenext_cursorof the previous page.
Response
deliveriesDelivery[]Attempts from the last 30 days, newest first:id,endpoint_id,endpoint_url,event_id,event,environment,status(delivered,retryingorfailed),response_code,duration_ms,attempt,errorandoccurred_at.next_cursorstringPass it ascursorfor the next page. Omitted on the last page.