GET /webhooks/types
List the valid event types
| Scope | webhooks:read |
| Cost | Free |
Discover the vocabulary here rather than copying it out of
documentation that may have drifted. An unknown type on create is
rejected — a typo'd subscription that saves, shows as enabled and then
silently never delivers is the worst failure mode this API could hand
you.
Responses
200
The event types a subscription may register for.
{
"data": [
"AccountRealTimeCalls",
"AccountEndedCalls",
"UserEndedCalls",
"AccountSMS",
"AccountAITranscription"
]
}
Errors
| Status | Meaning |
|---|---|
401 | unauthenticated — no credential, or one that is invalid, revoked or expired. The WWW-Authenticate header names the scope the endpoint wanted. |
403 | Two different failures share this status, and the type tells them apart: |
500 | internal_error — something failed on our side. For a send, nothing was charged, guaranteed, which is what makes a retry safe. |
See Errors for the full catalog and what to do about each.
Example
curl -X GET 'https://api.account.telebroad.com/api/public/v1/webhooks/types' \
-H "Authorization: Bearer $TB_KEY"