WhatsApp API Platform
Webhooks

Get Signing Secret

GET
/api/v1/waba/webhooks/{endpointId}/secret

The secret used to verify the Svix-Signature header on delivered events.

Authorization

ApiKeyAuth
X-API-Key<token>

API key from your dashboard (Settings > API Keys)

In: header

Path Parameters

endpointId*string

The webhook endpoint's id.

Query Parameters

waba_id*string

The WhatsApp number (WABA) these webhooks belong to.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://loading/api/v1/waba/webhooks/string/secret?waba_id=string"
{
  "success": true,
  "data": {
    "secret": "whsec_C2FVsBQIhrscChlQIMV+b5sSYspob7oD"
  }
}
{
  "success": false,
  "message": "to field is required"
}
{
  "success": false,
  "message": "user not authenticated"
}
{
  "success": false,
  "message": "forbidden"
}
{
  "success": false,
  "message": "webhook endpoint not found"
}
{
  "success": true,
  "message": "string"
}