GET /webhooks/types
List the valid event types
| Scope | webhooks:read |
| Cost | Free |
Use this endpoint to get the current list of valid event-type names, rather than copying them from documentation that might be out of date.
It matters because a wrong or misspelled type is rejected when you
create a subscription (a 400). That's deliberate: the alternative — a
subscription that saves with a typo, shows as enabled, and then silently
never delivers — would be the worst kind of bug to track down.
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; the type field tells them apart — insufficient_scope (the credential lacks the scope) or permission_denied (the scope is fine, but the user's role lacks the permission). |
500 | internal_error — something failed on our side, not with your request. Safe to retry. |
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"