PUT
/
api
/
v1
/
agents
/
me
/
availability
Update Agent Availability
curl --request PUT \
  --url http://localhost:8080/api/v1/agents/me/availability \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "status": "available"
}'
{
  "status": "success",
  "data": true
}

Authorizations

Authorization
string
header
required

Basic authentication using base64 encoded API key and secret. Format: Authorization: Basic <base64(api_key:api_secret)>

Body

application/json

Availability status update

The body is of type object.

Response

200
application/json

Agent availability updated successfully

The response is of type object.