List subscribes
GET/v1/subscribe
List subscribes
Supported roles
- Fleet manager
Responses
- 200
- 400
- 401
- 403
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
success boolean
subscribe object[]
id string
url string
events string[]
Possible values: [bookingCreated
, assignedDriver
, bookingStatus
, driverLocation
]
{
"success": true,
"subscribe": [
{
"id": "671b732e32c7e591b2f38001",
"url": "https://example.com/webhook",
"events": [
"bookingCreated"
]
}
]
}
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...