The endpoint-based webhook system lets you register multiple destinations per organization, each with its own secret, its own status, and its own subscription to a subset of event types. This is the recommended model for all new integrations. Compare to the legacy single-URL webhook, which is kept for backward compatibility but only supports one URL per org.Documentation Index
Fetch the complete documentation index at: https://docs.thunderphone.com/llms.txt
Use this file to discover all available pages before exploring further.
Endpoints
| Method | Path | Required role | Description |
|---|---|---|---|
GET | /v1/developer/webhook-endpoints | admin+ | List endpoints |
POST | /v1/developer/webhook-endpoints | admin+ | Create an endpoint |
PATCH | /v1/developer/webhook-endpoints/{endpoint_id} | admin+ | Update label / URL / events / status |
DELETE | /v1/developer/webhook-endpoints/{endpoint_id} | admin+ | Delete an endpoint |
Endpoint object
| Field | Type | Description |
|---|---|---|
id | UUID | Endpoint id |
label | string | Display name, 1–120 chars |
url | string | HTTPS URL; http://localhost allowed for dev |
events | array of string | Subscribed event types (see valid values). Empty array subscribes to all events |
status | string | active, disabled (manually paused), or failing (auto-set after 24 h of non-2xx responses) |
secret_hint | string | Last 6 chars of the signing secret with a whsec_ prefix and ellipsis — enough to cross-reference the secret you saved locally without exposing the full value |
created_at, updated_at | timestamp |
The endpoint’s full
secret is returned once on creation and
never again. Store it securely — if you lose it, delete the endpoint
and recreate it.Valid event types
events is validated against this exact set — values outside the list
return 400. See Events catalog for each type’s
payload shape.
telephony.incoming,telephony.complete,telephony.toolweb.incoming,web.complete,web.toolcall.gradedissue.reportedtest-call.completed
List endpoints
Create an endpoint
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
label | string | yes | 1–120 chars |
url | string | yes | HTTPS URL |
events | array | no | Empty/omitted subscribes to all events. Must use the values listed in Valid event types |
201 Created with the Endpoint object plus
an extra top-level secret field containing the raw signing key:
Update an endpoint
| Field | Type | Description |
|---|---|---|
label | string | |
url | string | |
events | array | |
status | string | active or disabled (to pause); failing is only set by the server |
200 OK with the updated Endpoint object.
Delete an endpoint
204 No Content. Delivery to the URL stops immediately;
in-flight retries are abandoned.
Related
Events catalog
The full list of
events values you can subscribe to.Webhooks overview
Signature verification and delivery semantics.