Sample - Stripe API
GET/v1/webhook_endpoints

List webhook endpoints

Lists webhook endpoints configured for the account. Use cursor parameters to paginate the endpoint collection and expand to request additional response fields.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

4 parameters
ending_beforestringoptional
An object ID cursor that returns results preceding the specified item.
expandarray<string>optional
Fields to expand in each returned object.
limitintegeroptional
Maximum number of objects to return, from 1 to 100. Defaults to 10 when omitted.
starting_afterstringoptional
An object ID cursor that returns results following the specified item.

2 status codes
200Returns a list object containing webhook endpoints in `data`, a `has_more` pagination flag, the list object type, and the list URL.
dataarray<NotificationWebhookEndpoint>required
has_morebooleanrequired
True if this list has another page of items after this one that can be fetched.
objectstringrequired
String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
Allowed:list
urlstringrequired
The URL where this list can be accessed.
defaultError response.
errorobjectrequired

Error handling

Each cursor value must be an object ID of no more than 5,000 characters. Each value in expand must be a string of no more than 5,000 characters, and limit ranges from 1 to 100 and defaults to 10 when omitted.