cURL
curl --request GET \ --url https://api.leanrails.com/v1/webhook_endpoints \ --header 'Authorization: Basic <encoded-value>'
{ "object": "list", "data": [ { "id": "we_xxx", "object": "webhook_endpoint", "url": "https://example.com/webhook", "enabled_events": [ "payment_intent.succeeded" ], "status": "enabled", "created": 1234567890, "livemode": false, "merchant_id": "mer_xxx", "secret": "whsec_xxx", "description": "<string>" } ], "has_more": true, "url": "/v1/webhook_endpoints", "next_cursor": "<string>" }
Use your secret API key as the username with an empty password.
Override the API version for this request.
Number of objects to return (1-100).
1 <= x <= 100
Cursor for forward pagination. The ID of the last object in the previous page.
A list of WebhookEndpoints.
list
Show child attributes
"/v1/webhook_endpoints"