Skip to main content
Resend Docs

Search documentation

Type to search this documentation.

Retrieve a list of webhooks

GET/webhooksRetrieve a list of webhooks

Parameters

limitintegerquery

Maximum number of webhooks to return.

afterstring · uuidquery

Pagination cursor to fetch results after this webhook ID. Cannot be used with 'before'.

beforestring · uuidquery

Pagination cursor to fetch results before this webhook ID. Cannot be used with 'after'.

Responses

200OKapplication/json
objectListWebhooksResponse
dataarray of object

Array containing webhook information.

Show child attributes
Show array items
created_atstring · date-time

Timestamp indicating when the webhook was created.

endpointstring

The URL where webhook events are sent.

eventsarray of string

Array of event types subscribed to.

Show child attributes
idstring · uuid

The ID of the webhook.

statusstring

The status of the webhook.

has_moreboolean

Indicates if there are more results available.

objectstring

Type of the response object.

Example response
{
  "data": [
    {
      "created_at": "2023-10-06T23:47:56.678Z",
      "endpoint": "https://webhook.example.com/handler",
      "events": [
        "email.sent"
      ],
      "id": "479e3145-dd38-476b-932c-529ceb705947",
      "status": "enabled"
    }
  ],
  "has_more": false,
  "object": "list"
}
Documentation menu