Skip to main content
GET
/
webhooks
/
{sid}
Get webhook details
curl --request GET \
  --url https://api.voice-mate.com/v1/webhooks/{sid} \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "webhook": {
    "sid": "<string>",
    "url": "<string>",
    "call_started_event": true,
    "call_ended_event": true,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "phone_number": {
      "sid": "<string>",
      "number": "<string>",
      "name": "<string>"
    },
    "api_key": {
      "sid": "<string>",
      "name": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer auth header. Pass with value 'Bearer {api_key}'. Api key can be found in account Settings -> API Keys page

Path Parameters

sid
string
required

Webhook identifier

Response

Webhook details

status
enum<string>
required
Available options:
success,
error
webhook
object
required