curl --request POST \ --url https://api.absentify.com/api/v1/requests/{id}/approve_representative \ --header 'X-API-KEY: <api-key>'
Copy
Ask AI
{ "success": true, "message": "<string>"}
Requests
Approve a request as a representative
Approve a request as a representative/substitute on behalf of the user who created the API token. The API automatically finds the pending representative approval.
POST
/
requests
/
{id}
/
approve_representative
Approve a request as a representative
Copy
Ask AI
curl --request POST \ --url https://api.absentify.com/api/v1/requests/{id}/approve_representative \ --header 'X-API-KEY: <api-key>'