StaffSet default availability

Set default availability

Needs: Staff, Read-write

Save a staff member's default availability pattern (replacing any existing one) and/or its fallback mode, like the default availability card.

Note: Send a pattern (days for weekly, weeks for fortnightly), default_mode, or both. Days left out of a pattern are unavailable. Saving a pattern keeps the current default_mode unless you send a new one.

curl -X PUT "https://app.imploy.com.au/api/integrations/v1/staff/123/default-availability" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
  "repeats": "weekly",
  "applies_from": "2026-11-30",
  "days": {
    "monday": {
      "type": "all"
    },
    "tuesday": {
      "type": "hours",
      "ranges": [
        {
          "start": "08:00",
          "end": "12:00"
        }
      ]
    }
  },
  "default_mode": "unavailable"
}'
{
  "saved": true,
  "staff_id": 42,
  "default": {
    "repeats": "weekly",
    "applies_from": "2026-11-30",
    "days": {
      "monday": {
        "type": "all",
        "ranges": []
      }
    },
    "default_mode": "unavailable",
    "effective_mode": "normal"
  }
}
PUT
/staff/{staff_id}/default-availability
PUT
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
staff_idinteger
Required

The staff member id.

Content-Typestring
Required

The media type of the request body

Options: application/json
repeatsstring
Options: weekly, fortnightly
applies_fromstring

Pattern start (YYYY-MM-DD). Default: today.

end_datestring

Optional pattern end (YYYY-MM-DD).

daysobject

Weekly pattern: day name (monday to sunday) to {type: all|hours|unavailable, ranges}. Days left out are unavailable.

weeksobject

Fortnightly pattern: {week1: {...days}, week2: {...days}}.

default_modestring

Fallback outside the pattern's dates (kept when only the pattern changes).

Options: not_submitted, available_all_day, unavailable
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

staff_idinteger
Required

The staff member id.

Body

application/json
repeatsstring
Allowed values:weeklyfortnightly
applies_fromstring

Pattern start (YYYY-MM-DD). Default: today.

end_datestring

Optional pattern end (YYYY-MM-DD).

daysstring

Weekly pattern: day name (monday to sunday) to {type: all|hours|unavailable, ranges}. Days left out are unavailable.

weeksobject

Fortnightly pattern: {week1: {...days}, week2: {...days}}.

default_modestring

Fallback outside the pattern's dates (kept when only the pattern changes).

Allowed values:not_submittedavailable_all_dayunavailable

Responses

OK