List webhook endpoints
curl --request GET \
--url https://app.hookie.ai/admin/api/projects/{pid}/webhooks \
--cookie hookie_session=const options = {method: 'GET', headers: {cookie: 'hookie_session='}};
fetch('https://app.hookie.ai/admin/api/projects/{pid}/webhooks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/projects/{pid}/webhooks"
headers = {"cookie": "hookie_session="}
response = requests.get(url, headers=headers)
print(response.text){
"webhooks": [
{
"id": "<string>",
"base_slug": "<string>",
"version": "<string>",
"name": "<string>",
"enabled": 0,
"criteria": "<string>",
"dataset": "<string>",
"mappings": "<string>",
"slug": "<string>",
"require_signature": 0,
"ip_allowlist": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
]
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}Webhooks
List webhook endpoints
Top-level alias: GET /admin/api/webhooks. Readable by any role.
GET
/
admin
/
api
/
projects
/
{pid}
/
webhooks
List webhook endpoints
curl --request GET \
--url https://app.hookie.ai/admin/api/projects/{pid}/webhooks \
--cookie hookie_session=const options = {method: 'GET', headers: {cookie: 'hookie_session='}};
fetch('https://app.hookie.ai/admin/api/projects/{pid}/webhooks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/projects/{pid}/webhooks"
headers = {"cookie": "hookie_session="}
response = requests.get(url, headers=headers)
print(response.text){
"webhooks": [
{
"id": "<string>",
"base_slug": "<string>",
"version": "<string>",
"name": "<string>",
"enabled": 0,
"criteria": "<string>",
"dataset": "<string>",
"mappings": "<string>",
"slug": "<string>",
"require_signature": 0,
"ip_allowlist": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
]
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}Authorizations
sessionbearerAuth
The console's sealed session cookie, set by WorkOS AuthKit. Mutating requests also require the X-Requested-With CSRF header.
Path Parameters
Project id (UUID) belonging to the caller workspace.
Response
All webhook versions in the project, ordered by base_slug then version. slug is the high-entropy public URL credential used at app.hookie.ai/{workspace}/{project}/{slug}; base_slug plus version is the human identity. criteria, mappings and ip_allowlist are JSON-encoded strings as stored.
Show child attributes
Show child attributes