provider Time Off POST /teammates/{teammate_id}/time_offs
@utdk/front /teammates/{teammate_id}/time_offs
Create time off
Create a time off for a teammate. Required scope: `time_off:write`
teammate_id path required
The teammate ID. Alternatively, you can supply an email as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).
string

Try it

Authentication
Configure credentials for Core API
createTimeOff
POST/teammates/{teammate_id}/time_offs
Create a time off for a teammate. Required scope: `time_off:write`

Parameters

required

The teammate ID. Alternatively, you can supply an email as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).

Input

required

Name of the time off

required

Timestamp when the time off starts (in seconds)

Timestamp when the time off ends (in seconds), or null if open-ended

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import front from '@utdk/front';

await front.createTimeOff({
  "teammate_id": "tea_abc123"
})