English
cURL
curl --request POST \ --url https://api.absentify.com/api/v1/members \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data '{ "name": "<string>", "email": "jsmith@example.com", "department_ids": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } ], "employment_start_date": "<string>", "public_holiday_id": "<string>", "annual_allowance_current_year": 123, "annual_allowance_next_year": 123, "birthday": "<string>", "custom_id": "<string>", "defaultAllowances": [ { "id": "<string>", "current_year": 123, "next_year": 123, "default": true, "disabled": true } ] }'
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
Invite a member
255
1
Show child attributes
Successful response
The response is of type string<uuid>.
string<uuid>
Was this page helpful?