Get All Requests API


The ‘get all requests’ api is defined as a post which then responds with a list of requests, Is there a way to get a list of all requests without having to do a post?

I am interesting in getting all requests for all users regardless of time or status.


Hi @patug!

Please let us know which exact request are you using from our API documentation?

I’ll gladly answer your question, therefore I’m looking forward to your reply.



I am using the following api from Time Off:


Get all requests

POST /workspaces/{workspaceId}/requests
We just want a list of all requests for each user possibly predicated on a date range. What is the simplest way to do that?

@patug Thank you for getting back to us with more information!

It’s necessary to use paths that are listed in our documentation, since otherwise the requests would be good and data will not be received in a successful way.

To get all Time off requests, there are couple of fields to fill in:

  1. Endpoint -{workspaceId}/requests
  2. Headers - Personal API key and Content type (json/app)
  3. Request body - Specify date range (start and end time), userIDs, page and page size.

For request, please check reference from our documentation below ↓

Let us know if you have succeeded with this, or if you have any additional questions!