StaffAdd availability

Add availability

Needs: Staff, Read-write

Add availability for a staff member on one date, a date range or a list of dates, either all day or in time windows, like Add availability. Saving a date that already has an entry replaces it. New entries are pending until reviewed.

Note: Send exactly one of date, from and to, or dates, and either all_day: true or hours. End times can't be midnight; use 23:59.

curl -X POST "https://app.imploy.com.au/api/integrations/v1/availability" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
  "staff_id": 42,
  "from": "2027-02-01",
  "to": "2027-02-03",
  "hours": [
    {
      "start": "09:00",
      "end": "13:00"
    }
  ],
  "note": "Mornings only"
}'
{
  "created": [
    17,
    18,
    19
  ],
  "data": [
    {
      "id": 17,
      "staff_id": 42,
      "date": "2027-02-01",
      "all_day": false,
      "hours": [
        {
          "start": "09:00",
          "end": "13:00"
        }
      ],
      "status": "pending"
    }
  ]
}
POST
/availability
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
datestring

One date (YYYY-MM-DD).

fromstring

Range start (YYYY-MM-DD), with to; up to 31 days.

tostring

Range end (YYYY-MM-DD).

datesarray

Several separate dates (up to 31).

all_dayboolean

Available the whole day.

hoursarray

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

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
datestring

One date (YYYY-MM-DD).

fromstring

Range start (YYYY-MM-DD), with to; up to 31 days.

tostring

Range end (YYYY-MM-DD).

datesarray

Several separate dates (up to 31).

all_dayboolean

Available the whole day.

hoursarray

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

Responses