OpenRCS API reference · v1 ← Back to console Swagger UI
Agents

List testers for an agent

GET /agents/{agent_id}/testers x-api-key

Returns the agent's registered testers, merged best-effort with Google's invite state: `invite_status` and `google_tester_name` are added when Google responds for a tester; a Google/auth failure is logged and the local rows are returned intact.

Parameters

NameInTypeRequiredDescription
x-api-key header string yes The relay API key (x-api-key header).
agent_id path string yes The rcs-relay agent identifier (ULID).

Responses

StatusDescription
200 The agent's tester rows, with Google invite fields when available.
401 Missing or invalid API key.
404 Agent not found.

200 example

{
  "testers": [
    {
      "agent_id": "01H...",
      "phone_number": "+33612345678",
      "added_at": "2025-01-01T00:00:00Z",
      "invite_status": "PENDING",
      "google_tester_name": "+33 6 12 34 56 78"
    }
  ]
}