Discussions

Ask a Question
Back to all

Getting Shift Paid/Unpaid breaks

Im trying to create a report for paid / unpaid breaks. Currently im running into an issue where i am not getting any shift break data from the api.

Ill start with https://www.humanity.com/api/v2/shifts?start_date=2025-08-19&end_date=2025-08-19&access_token=

where i will take the returned id and enter that into api/v2/{id}/shiftbreaks

https://www.humanity.com/api/v2/shifts/1166245509/shiftbreaks?access_token=

though all that will be returned is null

{
"status": 1,
"data": [],
"metadata": [],
"token": "",
"error": null
}

Am I missing anything? These are manually entered breaks, and I cannot get any of them to appear via the API.