Create a timesheet
Needs: Roster, Read-write
Create a timesheet for a business and pay period from the roster, like New timesheet. A finalised timesheet can't be replaced.
Note: If timesheets already cover the period for that business, the request returns
422withoverlappingand nothing is created. Sendconflict_modeto go ahead:replacerebuilds that timesheet,incrementaladds only shifts created since it.
curl -X POST "https://app.imploy.com.au/api/integrations/v1/timesheets" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-d '{
"business_id": 1,
"pay_schedule": "Weekly",
"from": "2026-11-16",
"to": "2026-11-22",
"include_travel_claims": true
}'
import requests
import json
url = "https://app.imploy.com.au/api/integrations/v1/timesheets"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN"
}
data = {
"business_id": 1,
"pay_schedule": "Weekly",
"from": "2026-11-16",
"to": "2026-11-22",
"include_travel_claims": true
}
response = requests.post(url, headers=headers, json=data)
print(response.json())
const response = await fetch("https://app.imploy.com.au/api/integrations/v1/timesheets", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN"
},
body: JSON.stringify({
"business_id": 1,
"pay_schedule": "Weekly",
"from": "2026-11-16",
"to": "2026-11-22",
"include_travel_claims": true
})
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"net/http"
"bytes"
"encoding/json"
)
func main() {
data := []byte(`{
"business_id": 1,
"pay_schedule": "Weekly",
"from": "2026-11-16",
"to": "2026-11-22",
"include_travel_claims": true
}`)
req, err := http.NewRequest("POST", "https://app.imploy.com.au/api/integrations/v1/timesheets", bytes.NewBuffer(data))
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/timesheets')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Post.new(uri)
request['Content-Type'] = 'application/json'
request['Authorization'] = 'Bearer YOUR_API_TOKEN'
request.body = '{
"business_id": 1,
"pay_schedule": "Weekly",
"from": "2026-11-16",
"to": "2026-11-22",
"include_travel_claims": true
}'
response = http.request(request)
puts response.body
{
"created": 202,
"number": "TS-202",
"summary": {
"staff": 7,
"shift_rows": 15
}
}
{
"message": "Invalid or expired access token."
}
{
"message": "Access token does not permit this action."
}
{
"message": "Timesheets already cover this period for Main office. Set conflict_mode to "replace" (rebuild that timesheet) or "incremental" (new shifts only) with existing_timesheet_id.",
"error": "Timesheets already cover this period for Main office. Set conflict_mode to "replace" (rebuild that timesheet) or "incremental" (new shifts only) with existing_timesheet_id.",
"overlapping": [
{
"id": 193,
"number": "TS-193",
"pay_schedule": "Weekly",
"from": "2026-11-02",
"to": "2026-11-08"
}
]
}
{
"message": "Too many requests."
}
/timesheets
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.The media type of the request body
From businesses in GET /timesheets.
Pay period start (YYYY-MM-DD).
Pay period end (YYYY-MM-DD).
Also pick up approved claims from earlier periods not yet on a timesheet.
When timesheets already cover the period: replace rebuilds that timesheet; incremental adds only shifts created since it.
The overlapping timesheet for conflict_mode (default: the only one).
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.
Body
From businesses in GET /timesheets.
WeeklyFortnightlyPay period start (YYYY-MM-DD).
Pay period end (YYYY-MM-DD).
Also pick up approved claims from earlier periods not yet on a timesheet.
When timesheets already cover the period: replace rebuilds that timesheet; incremental adds only shifts created since it.
replaceincrementalThe overlapping timesheet for conflict_mode (default: the only one).