Time Off

Create Time Off

Changed on

Creates a TimeOff object with the given values.

post/api/hris/v1/time-off

Request

  • Base URL
    https://api.bindbee.dev (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer and API key in header X-Connector-Token

Headers

x-idempotency-keystring nullable

Key to guarantee idempotent write execution.

Request body

OR
OR

Example request

{
  "employee": "018b4bfb-5ece-70b1-ad5e-862a9433aa65",
  "employee_note": "Paid paid vacation! Scuba diving in Hawaii.",
  "amount": 12,
  "request_type": "VACATION",
  "start_time": "2026-03-26T06:42:43.324Z",
  "end_time": "2026-03-26T08:42:43.324Z",
  "additional_attributes": {
    "notes": "The leave is approved by manager"
  }
}

Response

Successful Response

unknown required

Changes

    • breaking

      removed subschema #1 subschema #2 from the request body anyOf list

    • info

      added to the request body anyOf list

    • info

      the endpoint scheme security HTTPBearer AND ConnectorToken was added to the API

    • info

      the endpoint scheme security ConnectorToken was removed from the API

    • info

      the endpoint scheme security HTTPBearer was removed from the API

    • info

      added optional request body

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status