List webhook endpoints
Lists all webhook endpoints for the authenticated organization. Signing secrets are never included in list responses.
Authorization
BearerAuth API key authentication. Use your API key as the bearer token.
In: header
Query Parameters
Response Body
application/json
application/json
curl -X GET "https://example.com/v1/webhooks"{
"data": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"url": "string",
"events": [
"string"
],
"active": true,
"verification_status": "pending",
"verified_at": "string",
"verification_last_error": "string",
"consecutive_failures": 0,
"suspended_at": "string",
"created_at": "string",
"updated_at": "string"
}
],
"has_more": true
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}Get a waitlist entry
Returns a single waitlist entry by ID.
Create a webhook endpoint
Creates a new webhook endpoint for the authenticated organization. The signing secret is returned in the response — this is the only time it will be shown. Use the secret to verify webhook signatures via the `X-Astrocal-Signature` header. Astrocal immediately POSTs a verification challenge to the URL, which your endpoint must echo back. The endpoint receives no events until `verification_status` is `verified`. Creation always succeeds — check `verification_status` in the response and retry with `POST /v1/webhooks/{id}/verify` if it is not yet verified. An organization may hold at most 50 webhook endpoints.