Skip to Content
Webhooks

Get a webhook configuration

Permissionwebhooks:readAuthentication
GET
/webhooks/{id}

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.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Use a Voice API key or connected-app OAuth access token. Authentication.

Path Parameters

id*string
Formatuuid

Response Body

Webhook configuration without signing secret.

application/json
  1. response
id*string
Formatuuid
name*string
Length1 <= length <= 120
url*string

Public HTTPS URL. Credentials, fragments, local/private hosts, and dynamic authorities are rejected.

Match^https://
Formaturi
Lengthlength <= 4096
events*array<>
Items1 <= items <= 7
active*boolean
has_secret*boolean

Whether encrypted signing material is available. The secret value is never returned here.

last_delivery_at*|
Formatdate-time
last_delivery_status*|null
archived_at*|
Formatdate-time
created_at*string
Formatdate-time
updated_at*string
Formatdate-time
Example Request
curl -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"}