Skip to main content
GET
/
webhooks
/
subscriptions
/
{subscriptionId}
Get Webhook Subscription
curl --request GET \
  --url https://api.chat-dash.com/v1/public/webhooks/subscriptions/{subscriptionId} \
  --header 'Authorization: <authorization>'
{
  "_id": "<string>",
  "clientId": "<string>",
  "agentId": "<string>",
  "webhookUrl": "<string>",
  "events": [
    "call.started"
  ],
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Headers

Authorization
string
required

Client-specific API key for authentication

Path Parameters

subscriptionId
string
required

Webhook subscription ID

Response

Webhook subscription details

_id
string

Unique identifier for the subscription

clientId
string

The client associated with the subscription

agentId
string

The agent associated with the subscription

webhookUrl
string

The URL where event notifications will be sent

events
enum<string>[]

List of events that trigger notifications

createdAt
string<date-time>

When the subscription was created

updatedAt
string<date-time>

When the subscription was last updated