Webhooks
Get a webhook configuration
Permission
webhooks:readAuthenticationGET
Returns one workspace webhook configuration, including archived resources, delivery-status metadata and a strong ETag, but never its signing secret or secret hash. Cross-workspace IDs are indistinguishable from missing IDs and supplying any request body is rejected.
bearerAuthheader
AuthorizationBearer <token>Use a Voice API key or connected-app OAuth access token. Authentication.
id*stringFormat
uuidWebhook configuration without signing secret.
application/json- response
id*stringFormat
uuidname*stringLength
1 <= length <= 120url*stringPublic HTTPS URL. Credentials, fragments, local/private hosts, and dynamic authorities are rejected.
Match
^https://Format
uriLength
length <= 4096events*array<>Items
1 <= items <= 7active*booleanhas_secret*booleanWhether encrypted signing material is available. The secret value is never returned here.
last_delivery_at*|Format
date-timelast_delivery_status*|nullarchived_at*|Format
date-timecreated_at*stringFormat
date-timeupdated_at*stringFormat
date-timecurl -X GET 'https://api.kejue.co/v1/webhooks/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "url": "http://example.com", "events": [ "call.completed" ], "active": true, "has_secret": true, "last_delivery_at": "2019-08-24T14:15:22Z", "last_delivery_status": "pending", "archived_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}