Get a webhook
GET/client_api/v2/webhooks/{id}
Path parameters
- idintegerRequired
The webhook's id.
Returns
Returns the webhook.
Errors
- 401UnauthorizedThe token is missing, expired or invalid. Sign in again.
GET /client_api/v2/webhooks/{id}
1curl -X GET "https://sandbox-api.vatit-stream.com/client_api/v2/webhooks/1" \2 -H "Authorization: Bearer $API_TOKEN"
Response
{"webhook": {"events": ["shipment.updated.status","shipment.updated.waybill"],"id": 1,"status": "active","target_url": "https://hooks.globaltradecorp.example/stream","token": "q7Vt2mX9pL4sKe8RzW1nYg"}}