English
cURL
curl --request POST \ --url https://api.absentify.com/api/v1/requests/{id}/approve \ --header 'X-API-KEY: <api-key>'
{ "success": true, "message": "<string>" }
Approve a pending request on behalf of the user who created the API token. The API automatically finds the next pending approval and approves it.
Successful response
Was this page helpful?