Who is off on a day
GET
/drivers/days-off
const url = 'https://example.com/drivers/days-off?date=2026-04-15';const options = { method: 'GET', headers: {cookie: 'bottle.session_token=<bottle.session_token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/drivers/days-off?date=2026-04-15' \ --cookie bottle.session_token=<bottle.session_token>Drivers marked as not out that day. Planning the whole day passes over them; planning one of them by hand still works.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”date
required
string format: date
Responses
Section titled “Responses”Off
Media typeapplication/json
object
date
required
string format: date
userIds
required
Array<string>
Examplegenerated
{ "date": "2026-04-15", "userIds": [ "example" ]}Not signed in
Media typeapplication/json
object
error
required
string
message
required
string
Example
{ "error": "not_found", "message": "Customer not found"}Not a member, or without the permission this needs
Media typeapplication/json
object
error
required
string
message
required
string
Example
{ "error": "not_found", "message": "Customer not found"}Validation failed
Media typeapplication/json
object
error
required
string
message
required
string
issues
required
Array<object>
object
path
required
string
message
required
string
Example
{ "error": "validation", "issues": [ { "path": "email", "message": "Invalid email" } ]}