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

NameInRequiredTypeDescription
webhookpathYesstring

Responses

200

WebhookResource

application/json

403

Examples

Response 200 example

{
    "data": {
        "type": "webhook",
        "id": "id",
        "attributes": []
    },
    "mock": true
}