Agents

Get Current Agent

get/api/v1/agents/me

Response

Current agent details

statusstring

Example response

{
  "status": "success",
  "data": {
    "id": 1,
    "created_at": "2025-08-28T10:00:00Z",
    "updated_at": "2025-08-28T10:00:00Z",
    "first_name": "John",
    "last_name": "Doe",
    "email": "john.doe@example.com",
    "type": "agent",
    "availability_status": "online",
    "phone_number_country_code": "US",
    "phone_number": "1234567890",
    "avatar_url": "/avatars/agent1.jpg",
    "enabled": true,
    "last_active_at": "2025-08-28T10:00:00Z",
    "last_login_at": "2025-08-28T10:00:00Z",
    "roles": [
      "admin"
    ],
    "permissions": [
      "conversations:read"
    ],
    "teams": [
      {
        "id": 1,
        "name": "Support Team",
        "emoji": "🛠️"
      }
    ]
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.