webhooks
Subscribe to parcel update notifications.
Register a webhook to receive real-time notifications when parcels are updated.
Securing your webhook endpoint:
- Include a custom authorization header in the subscription request. Our API will forward
it with every notification:
Authorization: Bearer <your-auth-token> - For enhanced security using OAuth (client credentials), contact us to set up authentication with a clientId and clientSecret.
post/v1/webhooks
Request
- Base URLhttps://logistics.api.cabify-sandbox.com
- URLhttps://logistics.api.cabify-sandbox.com/v1/webhooks
- AuthHTTP bearer
Request body
Example request
{
"callback_url": "http://example.com/your/callback/here",
"headers": [
{
"name": "Authorization",
"value": "Bearer 000111222333444"
}
]
}Response
Webhook subscription created successfully.
Changes
No recorded changes to this operation across all 1 revision of this API.