RosterClock in

Clock in

Needs: Roster, Read-write

Clocks staff in to a published shift now, like Clock in on the roster. A multi-staff shift clocks each person separately. Confirm before calling this.

Errors

  • 422 with <name> is already clocked in. when someone has already clocked in.
curl -X POST "https://app.imploy.com.au/api/integrations/v1/shifts/example_string/clock-in" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
  "staff_ids": [
    31
  ]
}'
{
  "ref": "a:123",
  "succeeded": 1,
  "failed": 0,
  "results": [
    {
      "staff": "Example Worker",
      "ok": true
    }
  ]
}
POST
/shifts/{ref}/clock-in
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.
path
refstring
Required

The shift ref, such as a:123.

Content-Typestring
Required

The media type of the request body

Options: application/json
staff_idsarray
Required

Staff on the shift to clock in.

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.

Path Parameters

refstring
Required

The shift ref, such as a:123.

Body

application/json
staff_idsarray
Required

Staff on the shift to clock in.

Responses

OK