# Webhook Endpoints

Webhook endpoints are the URLs of your server that receive ChaChing events. Every event is sent to every active endpoint of the account, signed with the endpoint's own signing secret. An account holds at most 16 endpoints.

 - [POST /webhook-endpoints](https://chaching.redocly.app/developer-guide/api/webhook-endpoints/webhookendpointscontroller_create.md): Registers a URL of your server that receives the event types listed in enabled_events; ["*"] receives every event type, including event types added later. The new endpoint is active. An account holds
 - [GET /webhook-endpoints](https://chaching.redocly.app/developer-guide/api/webhook-endpoints/webhookendpointscontroller_list.md): A page of the webhook endpoints of the account, newest first. Requires the secret key.
 - [GET /webhook-endpoints/{id}](https://chaching.redocly.app/developer-guide/api/webhook-endpoints/webhookendpointscontroller_retrieve.md): Retrieves one webhook endpoint of the account. Requires the secret key.
 - [PATCH /webhook-endpoints/{id}](https://chaching.redocly.app/developer-guide/api/webhook-endpoints/webhookendpointscontroller_update.md): Changes the URL and the event types of a webhook endpoint. Send at least one of endpoint and enabled_events; a field you omit keeps its value. A sent enabled_events replaces the whole list. The status
 - [DELETE /webhook-endpoints/{id}](https://chaching.redocly.app/developer-guide/api/webhook-endpoints/webhookendpointscontroller_remove.md): Deletes a webhook endpoint and answers the endpoint as it was before the delete. Requires the secret key.
 - [POST /webhook-endpoints/{id}/enable](https://chaching.redocly.app/developer-guide/api/webhook-endpoints/webhookendpointscontroller_enable.md): Turns an inactive webhook endpoint back on, so it receives events again. There is no request body. Requires the secret key.
 - [POST /webhook-endpoints/{id}/disable](https://chaching.redocly.app/developer-guide/api/webhook-endpoints/webhookendpointscontroller_disable.md): Stops sending events to a webhook endpoint without deleting it. There is no request body. Requires the secret key.
 - [POST /webhook-endpoints/{id}/rotate-secret](https://chaching.redocly.app/developer-guide/api/webhook-endpoints/webhookendpointscontroller_rotatesecret.md): Creates a new signing secret for the endpoint and returns it once, in this response. For 24 hours every delivery carries one v1 signature for the new secret and one for the previous secret; after that
 - [GET /webhook-endpoints/{id}/logs](https://chaching.redocly.app/developer-guide/api/webhook-endpoints/webhookendpointscontroller_logs.md): A page of the deliveries of one webhook endpoint, newest first. Filter with search, a JSON object with any of event_id, event_type, status, response_status_code and created, for example search={"statu
 - [GET /webhook-deliveries](https://chaching.redocly.app/developer-guide/api/webhook-endpoints/webhookdeliveriescontroller_list.md): A page of the deliveries of the account, newest first: one delivery per endpoint that received an event. Filter with search, a JSON object with any of event_id, event_type, status, response_status_cod
 - [GET /webhook-deliveries/{id}](https://chaching.redocly.app/developer-guide/api/webhook-endpoints/webhookdeliveriescontroller_retrieve.md): Retrieves one delivery of the account with the event payload and every attempt made to send it, oldest first. Attempts are kept for 30 days; an older delivery answers an empty attempts list. Requires
 - [POST /webhook-deliveries/{id}/resend](https://chaching.redocly.app/developer-guide/api/webhook-endpoints/webhookdeliveriescontroller_resend.md): Schedules one more attempt to send the delivery to its endpoint and answers 202 with the delivery, status pending, at once; the attempt runs within seconds. The attempt posts the same event body with
 - [GET /events](https://chaching.redocly.app/developer-guide/api/webhook-endpoints/eventscontroller_list.md): A page of the events of the account, newest first: every event that matched at least one webhook endpoint when it happened. Each event shows pending_webhooks, the number of its deliveries that have no
 - [GET /events/{id}](https://chaching.redocly.app/developer-guide/api/webhook-endpoints/eventscontroller_retrieve.md): Retrieves one event of the account by its id, evt_ followed by 24 hexadecimal characters: the envelope every delivery of it posts, with pending_webhooks. Requires the secret key.
