Documentation
Difficulty level:
API - Hook - GET hook/{id}
Getting a specific webhook
GET hook/{id}
Used for
Getting a specific webhook.
Authentication
User needs to be logged in - Administrator level.
Parameters
Parameter | Description | Required | Example |
---|---|---|---|
id | The ID of the webhook | Yes | 1 |
Example
Getting the information of webhook 1.
GET api/rest/hook/1
Response: { "event": "booking_created", "target_url": "http://example.com", "type": "POST", "json": true }