Get Webhook
Retrieve a webhook by its ID.
GET https://developers.chatway.app/api/v1/webhooks/{webhook}Example request
curl -X GET "https://developers.chatway.app/api/v1/webhooks/{webhook}" \
-H "X-API-KEY: your_api_key"Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
webhook | path | Yes | string |
Responses
200
WebhookResource
application/json
data (object, required)type (string, required)id (string, required)attributes (array, required)
mock (boolean, required)
403
Examples
Response 200 example
{
"data": {
"type": "webhook",
"id": "id",
"attributes": []
},
"mock": true
}