API reference
Teams
How these fit together: the Teams and members guide.
List members
get
Lists the organization’s members (seats), newest first.
Every seat of the organization but a removed one: its id — a queue member’s membershipId (PUT /v1/queues/{queueId}/members) and a BRIDGE call’s bridge.to.agentMembershipId — display name, email address **masked** (a•••@example.com, never in full), status, organization-wide roles, the active teams they are on (teamIds, and teams with their role on each) and, when they use the call-center desk, their presence. Filter by teamId and status. Read-only: seats are managed in the console. Configuration, not traffic: a test key reads the same members as a live key — except presence, which is live traffic (who is on a call right now) and always null for a test key.
Access: an organization key with the members:read scope.
Query parameters
limitintegerHow many items to return.
cursorstringThe
nextCursorof the previous page. Omit for the first page.teamIdstring (uuid)Only the members of this team (an active team membership).
statusstringOnly members in this state.
One of
invitedactivesuspended
Response 200PublicMemberPage
dataPublicMember[]Required11 fields of
datacreatedAtstring (date-time)RequireddisplayNamestringRequiredemailstring | nullRequiredMasked: the first letter of the address and its domain — never in full.
idstring (uuid)RequiredThe seat’s id: a queue member’s
membershipId(PUT /v1/queues/{queueId}/members) and a BRIDGE call’sbridge.to.agentMembershipId.joinedAtstring (date-time) | nullRequiredobjectstringRequiredOne of
memberpresencePublicMemberPresence | nullRequiredThe member’s desk presence (the call-center desk’s state); null when they have never been on the desk — and always null for a test key, as live traffic.
2 fields of
presencesincestring (date-time)RequiredstatusstringRequiredOne of
availablereservedbusyafter_call_workbreakoffline
rolesstring[]RequiredOrganization-wide roles, lower-cased.
statusstringRequiredOne of
invitedactivesuspendedteamIdsstring[]RequiredThe active teams the member is on (
GET /v1/teams).teamsPublicMemberTeam[]Required2 fields of
teamsrolesstring[]RequiredThe member’s roles on that team, lower-cased.
teamIdstring (uuid)Required
nextCursorstring | nullRequiredPass back as
cursorfor the next page; null on the last.
Errors
400VALIDATION_FAILED — a malformed filter or cursor, orlimitout of range.401API_KEY_INVALID — missing, unknown, revoked or expired key.403API_KEY_SCOPE_MISSING or API_KEY_KIND_MISMATCH — the key may not call this endpoint.429RATE_LIMITED — retry afterRetry-Afterseconds.500INTERNAL_ERROR — our fault; retry with backoff (with the same Idempotency-Key on a write).
curl 'https://api.trovacast.com/v1/members' \
-H "Authorization: Bearer $TROVACAST_API_KEY"{
"data": [
{
"createdAt": "2026-11-05T10:00:00.000Z",
"displayName": "Asha Menon",
"email": "a•••@example.com",
"id": "ID",
"joinedAt": "2026-11-05T10:00:00.000Z",
"object": "member",
"presence": {
"since": "2026-11-05T10:00:00.000Z",
"status": "available"
},
"roles": [
"admin"
],
"status": "invited",
"teamIds": [
"TEAM_IDS"
],
"teams": [
{
"roles": [
"agent"
],
"teamId": "TEAM_ID"
}
]
}
],
"nextCursor": "NEXT_CURSOR"
}List teams
get
Lists the organization’s teams, newest first.
Every team of the organization — its id (what POST /v1/queues takes as teamId), name, whether it is active and how many active members it has. Read-only: teams are managed in the console. Configuration, not traffic: a test key reads the same teams as a live key.
Access: an organization key with the teams:read scope.
Query parameters
limitintegerHow many items to return.
cursorstringThe
nextCursorof the previous page. Omit for the first page.
Response 200PublicTeamPage
dataPublicTeam[]Required8 fields of
dataactivebooleanRequiredFalse once the team is deactivated: it takes no new queues, and its queues are not listed.
createdAtstring (date-time)Requireddescriptionstring | nullRequiredidstring (uuid)RequiredThe team’s id:
teamIdonPOST /v1/queues, and a member’steamIds.memberCountintegerRequiredThe team’s active members.
namestringRequiredobjectstringRequiredOne of
teamupdatedAtstring (date-time)Required
nextCursorstring | nullRequiredPass back as
cursorfor the next page; null on the last.
Errors
400VALIDATION_FAILED — a malformed filter or cursor, orlimitout of range.401API_KEY_INVALID — missing, unknown, revoked or expired key.403API_KEY_SCOPE_MISSING or API_KEY_KIND_MISMATCH — the key may not call this endpoint.429RATE_LIMITED — retry afterRetry-Afterseconds.500INTERNAL_ERROR — our fault; retry with backoff (with the same Idempotency-Key on a write).
curl 'https://api.trovacast.com/v1/teams' \
-H "Authorization: Bearer $TROVACAST_API_KEY"{
"data": [
{
"active": true,
"createdAt": "2026-11-05T10:00:00.000Z",
"description": "DESCRIPTION",
"id": "ID",
"memberCount": 4,
"name": "Support",
"object": "team",
"updatedAt": "2026-11-05T10:00:00.000Z"
}
],
"nextCursor": "NEXT_CURSOR"
}