List leave
Needs: Staff, Read
Lists leave overlapping a period: staff, dates, days, type, status and reason, with counts by status and type. When the token also has Roster access, accepted and pending leave includes shifts_still_assigned, how many of that person's shifts fall inside the leave.
Note: At most 200 leave requests are returned.
truncatedistruewhen you hit that, so narrow the period or filters.
curl -X GET "https://app.imploy.com.au/api/integrations/v1/leave?from=example_string&to=example_string&staff_id=123&status=example_string&leave_type=example_string" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN"
import requests
import json
url = "https://app.imploy.com.au/api/integrations/v1/leave?from=example_string&to=example_string&staff_id=123&status=example_string&leave_type=example_string"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN"
}
response = requests.get(url, headers=headers)
print(response.json())
const response = await fetch("https://app.imploy.com.au/api/integrations/v1/leave?from=example_string&to=example_string&staff_id=123&status=example_string&leave_type=example_string", {
method: "GET",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN"
}
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://app.imploy.com.au/api/integrations/v1/leave?from=example_string&to=example_string&staff_id=123&status=example_string&leave_type=example_string", nil)
if err != nil {
panic(err)
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer YOUR_API_TOKEN")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
fmt.Println("Response Status:", resp.Status)
}
require 'net/http'
require 'json'
uri = URI('https://app.imploy.com.au/api/integrations/v1/leave?from=example_string&to=example_string&staff_id=123&status=example_string&leave_type=example_string')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Get.new(uri)
request['Content-Type'] = 'application/json'
request['Authorization'] = 'Bearer YOUR_API_TOKEN'
response = http.request(request)
puts response.body
{
"range": {
"from": "2026-03-01",
"to": "2026-03-31"
},
"summary": {
"by_status": {
"Pending": 1
},
"by_type": {
"annual": 1
},
"staff_on_leave": 0
},
"data": [
{
"id": 8,
"staff_id": 31,
"staff": "Example Worker",
"from": "2026-03-02",
"to": "2026-03-06",
"days": 5,
"type": "annual",
"status": "Pending",
"reason": "Family holiday",
"shifts_still_assigned": 2
}
],
"truncated": false
}
{
"message": "Invalid or expired access token."
}
{
"message": "Access token does not permit this action."
}
{
"message": "Too many requests."
}
/leave
Target server for requests. Edit to use your own host.
An organisation access token that starts with imp_at_. Send it as Authorization: Bearer imp_at_XXXX.
imp_at_. Send it as Authorization: Bearer imp_at_XXXX.First day of the period, YYYY-MM-DD.
Last day of the period, up to 366 days after from. Defaults to 30 days.
Only this staff member.
Pending, Accepted or Rejected.
For example annual, sick or personal.
Request Preview
Response
Response will appear here after sending the request
Authentication
Bearer token. An organisation access token that starts with imp_at_. Send it as Authorization: Bearer imp_at_XXXX.
Query Parameters
First day of the period, YYYY-MM-DD.
Last day of the period, up to 366 days after from. Defaults to 30 days.
Only this staff member.
Pending, Accepted or Rejected.
For example annual, sick or personal.
Responses
OK