Ventia
Webhooks
GET
/webhooks/{id}
api-key<token>

In: query

Path Parameters

id*string

Unique identifier of the webhook.

Response Body

application/json

application/json

application/json

curl -X GET "https://api.getventia.com/api/v1.0/webhooks/string"
{
  "success": true,
  "result": {
    "_id": "67bca48d5fc32659c854f83c",
    "name": "Webhook Test",
    "topics": [
      "interactions.official_whatsapp"
    ],
    "active": true,
    "callbackUrl": "https://localhost:3000/webhook/test"
  }
}
{
  "success": false,
  "error": "Unauthorized"
}
{
  "success": false,
  "error": "Internal server error"
}