StaffEdit availability

Edit availability

Needs: Staff, Read-write

Edit availability entries: hours, note, or the date of a single entry. Send only what changes. Edited entries go back to pending.

Note: All ids must belong to one staff member. date only works with a single id.

curl -X PATCH "https://app.imploy.com.au/api/integrations/v1/availability" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
  "ids": [
    17,
    18,
    19
  ],
  "all_day": true
}'
{
  "updated": [
    17,
    18,
    19
  ],
  "data": [
    {
      "id": 17,
      "staff_id": 42,
      "date": "2027-02-01",
      "all_day": true,
      "status": "pending"
    }
  ]
}
PATCH
/availability
PATCH
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
idsarray
Required

Entry IDs (GET /availability): one date, or every date of a range. One staff member.

hoursarray

Time windows, e.g. [{"start":"09:00","end":"17:00"}]. End times cannot be midnight (use 23:59).

datestring

Move a single entry to this date (YYYY-MM-DD).

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
idsarray
Required

Entry IDs (GET /availability): one date, or every date of a range. One staff member.

hoursarray

Time windows, e.g. [{"start":"09:00","end":"17:00"}]. End times cannot be midnight (use 23:59).

datestring

Move a single entry to this date (YYYY-MM-DD).

Responses

OK