RosterCopy shifts

Copy shifts

Needs: Roster, Read-write

Copies up to 50 shifts to another date, for example a week forward. The copies keep their relative days and times.

Note: results has single_client_shifts and group_shifts entries for whichever kinds were copied. A kind that failed has an error, and copied entries can list failures.

curl -X POST "https://app.imploy.com.au/api/integrations/v1/shifts/copy" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
  "refs": [
    "a:123",
    "a:124"
  ],
  "target_date": "2026-03-09"
}'
{
  "target_date": "2026-03-09",
  "results": {
    "single_client_shifts": {
      "message": "...",
      "copied": 2
    }
  }
}
POST
/shifts/copy
POST
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

An organisation access token that starts with imp_at_. Send it as Authorization: Bearer imp_at_XXXX.

An organisation access token that starts with imp_at_. Send it as Authorization: Bearer imp_at_XXXX.
Content-Typestring
Required

The media type of the request body

Options: application/json
refsarray
Required

1 to 50 shift refs.

target_datestring
Required

YYYY-MM-DD. The earliest copied shift moves to this date, and the others keep their relative days.

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. An organisation access token that starts with imp_at_. Send it as Authorization: Bearer imp_at_XXXX.

Body

application/json
refsarray
Required

1 to 50 shift refs.

target_datestring
Required

YYYY-MM-DD. The earliest copied shift moves to this date, and the others keep their relative days.

Responses