English
cURL
curl --request POST \ --url https://api.absentify.com/api/v1/requests \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data '{ "end": "<string>", "start": "<string>", "start_at": "morning", "end_at": "lunchtime", "leave_type_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "reason": "<string>", "requester_member_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }'
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
Create a request
morning
afternoon
lunchtime
end_of_day
Successful response
The response is of type string<uuid>.
string<uuid>
Was this page helpful?