Skip to main content
POST
/
requests
/
{id}
/
decline_representative
Decline a request as a representative
curl --request POST \
  --url https://api.absentify.com/api/v1/requests/{id}/decline_representative \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "reason": "<string>"
}
'
{
  "success": true,
  "message": "<string>"
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Body

application/json
reason
string
Minimum string length: 1

Response

Successful response

success
boolean
required
message
string
required