Discussions

Discussions

Ask a Question
ANSWERED

Get employee_id from the token

I'm trying to get the leaves of the employee who is doing the request, but I need the employee_id, which I don't know how to get. Is there any kind of resource in the API to get the id of the requester?
ANSWERED

Getting employees attendance via API

Hello, I want to get employees attendance via API but I do not find the proper function. Would be possible to get employee attendance via API?
ANSWERED

Custom fields for employees not available through API

As an admin user I am retrieving the employees information through the API to sync it with our current system; but I do not get all the extended fields we have added (custom fields) to the employee record. Is there a way to get that information through the API?
ANSWERED

402 Forbidden access to a paid resource

I'm getting this error. Can't find any reference on the guides or reference about that.
ANSWERED

Access token is generated but cannot retrieve data as it gives a 403 Forbidden Error

Hi, I was able to generate an access token for my application but I cannot retrieve any data from the APIs as it pops up an error 403 Forbidden. Can someone help me to resolve this error, Thanks in advance
ANSWERED

Authoriation code for API

Hello I am creating a bot to automate a few functionalities with Factorial. I get the authorization code from the Oauth application page as specified in the documentation: ``` You can also request an authorization code directly from the Oauth application page, useful in cases of integrations with a single user like an external API. ``` But when I try to get the access token for a second time it returns a 400 error code and I have to generate a new authorization code from the website, and it will only work for the first request. My question is: How can I get an authorization code that doesn´t change for every request, so I can use it from my server application without the need to change it every time?