List Agents

Returns every agent who belongs to your organisation, with their role, teams and membership status, plus a usage block for the max_agents seat limit. Use the returned _id values as agentId when assigning conversations or building teams.

GET/v2.0/agents

Code Example

curl -X GET "https://api.sendiee.com/v2.0/agents" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response — 200 OK

{
  "success": true,
  "data": [
    {
      "_id": "6708b2d1c93b2e0012aa1001",
      "name": "Aarti Menon",
      "email": "[email protected]",
      "profilePicture": "https://cdn.sendiee.com/agents/aarti.jpg",
      "operatorLabel": "Aarti from Acme",
      "isActive": true,
      "membership": {
        "orgId": "664f0c1a9d2b4e0011ab3c22",
        "status": "active",
        "roleId": {
          "_id": "66f1...",
          "name": "Manager",
          "type": "manager",
          "color": "#7C3AED"
        },
        "teamIds": [
          {
            "_id": "6710a1f4c93b2e0012aa7f01",
            "name": "Sales",
            "color": "#7C3AED",
            "emoji": "💼"
          }
        ],
        "inboxView": "unified",
        "joinedAt": "2026-08-02T09:20:00.000Z",
        "lastActiveAt": "2026-09-08T16:03:00.000Z"
      }
    },
    {
      "_id": "6708b2d1c93b2e0012aa1003",
      "name": "",
      "email": "[email protected]",
      "profilePicture": null,
      "operatorLabel": null,
      "isActive": true,
      "membership": {
        "orgId": "664f0c1a9d2b4e0011ab3c22",
        "status": "invited",
        "roleId": {
          "_id": "66f1...",
          "name": "Agent",
          "type": "agent",
          "color": "#6B7280"
        },
        "teamIds": [],
        "inboxView": "unified",
        "joinedAt": null,
        "lastActiveAt": null
      }
    }
  ],
  "usage": {
    "maxAgents": 10,
    "agentCount": 2,
    "unlimited": false,
    "over": false,
    "behavior": "hard_block"
  }
}

Agent Object

ParameterTypeDescription
_idstringAgent id — pass as agentId when assigning or building teams
namestringDisplay name. Empty until an invited agent completes signup
emailstringLogin email the invite was sent to
profilePicturestringAvatar URL, or null
operatorLabelstringPublic-facing name customers see, when the workspace sets one
isActivebooleanAccount-level flag. false means the login is disabled entirely
membershipobjectThis organisation's membership record — see below

Membership Object

ParameterTypeDescription
statusstringactive (accepted), invited (pending), or inactive (removed)
roleIdobjectPopulated role: { _id, name, type, color }
teamIdsarrayTeams the agent belongs to, populated as { _id, name, color, emoji }
inboxViewstringInbox layout preference: unified or per_channel
joinedAtstring (ISO 8601)When the invite was accepted, or null while pending
lastActiveAtstring (ISO 8601)Last time the agent used teambox

Seat usage

A seat is consumed by every active or invited membership, so a pending invite counts. Sendiee Support sessions, when your workspace has granted staff access, are deliberately excluded from both the roster and the seat count.

Try It

Try it — API Playground