Discussions

Ask a Question

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.

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?

Running Post Shift & Get Publish not working properly

We are currently doing an integration into Humanity but it appears that the publish API is temperamental. At times it does it properly so when you go into the UI the Publish button is greyed out and at other times it has the "Update & Publish" button clickable. This is causing a lot of major issues downstream. Any advice on how to deal with this issue?

Disabling user and clear/unassign from all shifts

Using PUT Employee and saw removeschedule, however we are not utilizing schedules. Is there a way to remove a user from any/all assigned shifts when they are disabled/deactivated through the API?

Total Cost Of This Week

We can't find any proper API the will return Total Cost of the week

How do I access my Humanity account?

I have been trying to log on to my Humanity account but I always get a "403 Error" or a "could not get a response from server" message. I tried using different laptops, and even uninstalled-then-reinstalled the mobile app on my phone, but still the same issue.

Broken Oauth

The tokens returned by the oauth endpoint are not working. Here's my example curl request:

Is there an API for updating task start and end times?

Is there a way to use the API to track sub-shift time blocks? I believe tasks are the way to handle this, but I did not see an API reference to tasks.

Ability to limit fields returned by a given query

There is a lot of extraneous data returned for many of the API endpoints. It would be great if there was something like a fields parameter to scope the specific fields returned.

POST Request To Change Availability Restrict Option

Hi,
I am looking for a solution via API to check/uncheck the option under the setting for "Restrict Employees from adding, editing, and deleting their unavailability"