Discussions

Ask a Question

API Create Shift Series

The documentation on creating shifts doesn't go into how to repeat shifts/add them to a series <https://platform.humanity.com/reference/post-shift> while this is possible in the frontend. Please advise.

Report integration with Google sheet

Hi, I am trying to integrate reports from Humanity to Google sheet to get the real time data, I am assuming I have to integrate this through the API. Would it be possible to guide me on this, as I am fairly new to APIs. Thanks

Get Shifts pagination

Hi folks, So this might be a dumb question, but i really could not find my answer anywhere. I am having an issue with pagination on Get Shifts endpoint: <https://platform.humanity.com/reference/get-shifts> I am getting only 100 results both for vacations and shifts. I am using BambooHR integration for vacation data, while shifts are being generated on Humanity. If anyone can provide some help, that will be greatly appreciated. Thank you!

Employee GET request to have a query parameter by email

Do you have it on the roadmap to have Employee GET request to have a query parameter by email?

Shifts and leaves in one API call

Hello folks, So i was wondering if there is a way to get both shifts and leaves for a specific week off of ShiftPlanning in a single API call? I need to create report which will include regular shifts and leaves(vacations) but somehow i cannot find that endpoint which would do, tried with various endpoints and looped through each parameter but it wont do. Please let me know if this is even possible. Thank you!

How do I get information about multiple employees by their id?

I need to fetch this info in one API call. This API works for me ( <https://www.humanity.com/api/v2/employees/{id}>), however I have to make multiple calls which takes a lot of time to fetch all the information. How do I fetch all in single API call? Also, is there a way just to fetch one or two fields from employee information. For eg, I just need the unique_id field, but I have to fetch the whole information which again takes lot of time if there are like 10 employees.

My question is that please how do I be part of humanity as employee and how how will I apply for it and how do I get access to my app

please I need small light about humanity and how will I be part of it and part of their employees please someone should help me and I want to get access to my app in my state

testing/sandbox

Is there a sandbox/test environment that is accessible to test API commands without affecting our production site data?

All Leaves Data

Hello, I was trying to pull all leaves, pending and not pending, and it seems like i'm only getting approved leaves. Unless every request has an 'approved_on' value assigned regardless of pending or not. I've already tried the different parameters, "requested, all_requested, upcoming, and manager" but they all seem to return the same data, and looking at the Humanity app itself I see pending requests that I can't find in the data provided by the API.

Access Token Creation via API expiry time

1. What is the unit of expiry_at for Access Token Creation via API expiry time? is it seconds? 2. Can access token expiry be longer? Like 14 days just like created via dashboard?