GET
/
api
/
v1
/
agents
/
compact
Get Agents Compact
curl --request GET \
  --url http://localhost:8080/api/v1/agents/compact \
  --header 'Authorization: Basic <encoded-value>'
{
  "status": "success",
  "data": [
    {
      "id": 1,
      "type": "agent",
      "first_name": "John",
      "last_name": "Doe",
      "email": "[email protected]",
      "enabled": true,
      "avatar_url": "/avatars/agent1.jpg",
      "created_at": "2025-08-28T10:00:00Z",
      "updated_at": "2025-08-28T10:00:00Z",
      "total": 100
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Response

200
application/json

Compact agents retrieved successfully

The response is of type object.