StaffApprove or decline availability

Approve or decline availability

Needs: Staff, Read-write

Approve or decline availability entries (or set them back to pending, in review or cancelled), like the review buttons on the Availability page. The staff member is notified. Declined and cancelled entries don't affect the roster.

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

Entry IDs (up to 31).

statusstring
Required
Options: approved, declined, pending, review, cancelled
review_notestring

Shown to the staff member, e.g. why it was declined.

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 (up to 31).

statusstring
Required
Allowed values:approveddeclinedpendingreviewcancelled
review_notestring

Shown to the staff member, e.g. why it was declined.

Responses

OK