Subscribe webhook
POST/v1/subscribe
Subscribe webhook
Supported roles
- Fleet manager
Request
- application/json
Body
required
url urirequired
signingSecret stringrequired
Possible values: >= 30 characters
events string[]required
Possible values: [bookingCreated
, assignedDriver
, bookingStatus
, driverLocation
]
Responses
- 200
- 400
- 401
- 403
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
id string
{
"id": "671b732e32c7e591b2f38001"
}
Validation error
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "string"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "string"
}
Loading...