v1
latestOpenAPI 3.0.02026-07-26254134307.1 KBTime Off
Create time off
Create a time off for a teammate.
Required scope: time_off:write
post/teammates/{teammate_id}/time_offs
Path parameters
teammate_idstring required
The teammate ID. Alternatively, you can supply an email as a resource alias.
Request body
Response
A time off
Example response
{
"_links": {
"self": "https://yourCompany.api.frontapp.com/time_offs/vcr_1bri",
"related": {
"teammate": "https://yourCompany.api.frontapp.com/teammates/tea_1bri"
}
},
"id": "vcr_1bri",
"name": "Out of office",
"start_at": 1606943265.298,
"end_at": 1607548065.298,
"created_at": 1606943265.298,
"updated_at": 1606943265.298,
"auto_responder": {
"is_enabled": true,
"channel_ids": [
"cha_1bri",
"cha_2bri"
],
"body": "Thanks for reaching out, I will reply when I am back."
}
}