Webhooks
List webhook endpoints
Your workspace’s webhook endpoints, newest first. Their secrets are never listed.
Needs an API key with the generations:read scope.
GET
https://api.tryleap.ai
/
v1
/
webhook_endpoints
List webhook endpoints
curl --request GET \
--url https://api.tryleap.ai/v1/webhook_endpoints \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.tryleap.ai/v1/webhook_endpoints', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.tryleap.ai/v1/webhook_endpoints"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"object": "list",
"url": "/v1/webhook_endpoints",
"data": [
{
"id": "we_5Tq8Lm2Xv9Kr4Wn7Bc1Yd3Hp",
"object": "webhook_endpoint",
"url": "https://example.com/webhooks/leap",
"description": "Production renders",
"events": [
"generation.succeeded",
"generation.failed"
],
"disabled": false,
"disabled_reason": null,
"created_at": "2026-10-04T18:20:03.441Z",
"updated_at": "2026-10-04T18:20:03.441Z"
}
],
"has_more": false,
"next_cursor": null
}
Authorizations
ApiKeyBearer
Your workspace API key, leap_.... Create one at https://app.tryleap.ai/go/api, and keep it on your server.
Query Parameters
Maximum number of rows to return: 1 to 100; default 50.
Pattern:
^\d{1,3}$Send next_cursor as cursor; omit it for the first page.
Required string length:
1 - 512Pattern:
^[A-Za-z0-9_-]+\.[A-Za-z0-9_-]{43}$Response
A page of endpoints.
Forward list envelope. Live lists are not snapshots; totals are not promised.
The list object discriminator.
Allowed value:
"list"The list's resource path, such as /v1/records.
Resource objects in this page, in the requested order.
Show child attributes
Show child attributes
Whether another page is available using next_cursor.
Send as cursor to read the next page; null on the last page.
Required string length:
1 - 512Pattern:
^[A-Za-z0-9_-]+\.[A-Za-z0-9_-]{43}$Last modified on October 4, 2026
⌘I
List webhook endpoints
curl --request GET \
--url https://api.tryleap.ai/v1/webhook_endpoints \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.tryleap.ai/v1/webhook_endpoints', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.tryleap.ai/v1/webhook_endpoints"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"object": "list",
"url": "/v1/webhook_endpoints",
"data": [
{
"id": "we_5Tq8Lm2Xv9Kr4Wn7Bc1Yd3Hp",
"object": "webhook_endpoint",
"url": "https://example.com/webhooks/leap",
"description": "Production renders",
"events": [
"generation.succeeded",
"generation.failed"
],
"disabled": false,
"disabled_reason": null,
"created_at": "2026-10-04T18:20:03.441Z",
"updated_at": "2026-10-04T18:20:03.441Z"
}
],
"has_more": false,
"next_cursor": null
}