Shift audit log
Needs: Roster, Read
A shift's change history (50 a page, latest first), like the roster sidebar's Activity tab: created, edited, published, clocked in/out, clock edits, notes, cancellations, billing and more, with who did it, when, the reason, and before/after values. references names the staff, clients and sites in before/after.
Note: Pages hold 50 entries.
beforeandafterhold only the fields that changed;referencesgives names for staff, client and site ids in them.
curl -X GET "https://app.imploy.com.au/api/integrations/v1/shifts/example_string/audit-log?page=1" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN"
import requests
import json
url = "https://app.imploy.com.au/api/integrations/v1/shifts/example_string/audit-log?page=1"
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/shifts/example_string/audit-log?page=1", {
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/shifts/example_string/audit-log?page=1", 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/shifts/example_string/audit-log?page=1')
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
{
"ref": "a:123",
"data": [
{
"id": 4831,
"action": "clock_edited",
"at": "2026-11-30 13:04:17",
"by": {
"id": 7,
"name": "Alex Admin"
},
"actor_type": "user",
"source": "web",
"reason": "Clock times edited: Left later than recorded",
"before": {
"checkout": "2026-11-28 11:00:00"
},
"after": {
"checkout": "2026-11-28 11:15:00"
}
}
],
"references": {
"staff": {
"7": "Alex Admin"
}
},
"page": 1,
"has_more": false
}
{
"message": "Invalid or expired access token."
}
{
"message": "Access token does not permit this action."
}
{
"message": "Too many requests."
}
/shifts/{ref}/audit-logTarget 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.Shift ref from GET /shifts ("a:123" or "g:45").
Page number.
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.
Path Parameters
Shift ref from GET /shifts ("a:123" or "g:45").
Query Parameters
Page number.
Responses
OK