Skip to main content

Get a webhook

GET/client_api/v2/webhooks/{id}

Path parameters

  • idintegerRequired

    The webhook's id.

Returns

Returns the webhook.

Errors

  • 401Unauthorized
    The token is missing, expired or invalid. Sign in again.
View as Markdown
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"
}
}
API ExplorerSandbox

Pick a call on the right and run it. Every call goes to the sandbox, so nothing is really shipped or charged. The answer appears here.