Docs
API referenceRoll calls

Get a roll call

Preview· P9
GET
/roll-calls/{rollcall_id}

Returns one roll call with everyone in its snapshot and whether they are accounted for. Poll it, or listen for roll_call.updated, to show a live board.

Scope: rollcalls:read · Plan: Pro and Enterprise in live mode; every plan in test mode.

Authorization

headerAuthorizationBearer <token>

Send Authorization: Bearer <token> on every request. The token is one of:

PrefixWhat it isWhere it may be used
agoo_sk_live_Secret key, live modeYour servers only
agoo_sk_test_Secret key, test modeYour servers only
agoo_pk_live_Publishable key, live modeBrowsers and apps: create pre-registrations and bookings, read public booking types (with their intake questions) and their free slots, read the visit types open for pre-registration with their public forms. Never lists people.
agoo_pk_test_Publishable key, test modeAs above, in test mode

Admins create keys in Console → Developers → API keys and choose each key's scopes. A key is shown once. Never put a secret key in a URL, a browser or a mobile app.

Scope: rollcalls:read

Path Parameters

rollcall_id*string

The roll call's ID.

Match^rollcall_[0-7][0-9a-hjkmnp-tv-z]{25}$
Example"rollcall_01m4x13bw0fjmr5ekjkshzkke6"

Response Body

The roll call with its people.

application/json
  1. response

An emergency or drill roll call at one site.

id*RollCallId

A roll call ID (TypeID with the rollcall prefix).

Match^rollcall_[0-7][0-9a-hjkmnp-tv-z]{25}$
Example"rollcall_01m4x13bw0fjmr5ekjkshzkke6"
site_id*SiteId

A site ID (TypeID with the site prefix).

Match^site_[0-7][0-9a-hjkmnp-tv-z]{25}$
Example"site_01kjpt3yw0fz0v414608h9x65s"
kind*string
Value in"drill""emergency"
status*RollCallStatus
Value in"active""closed"
message*|

The message sent with the "I'm safe" link.

counts*
started_at*string
Formatdate-time
started_by*|

The person who started it. null when started with an API key.

Match^person_[0-7][0-9a-hjkmnp-tv-z]{25}$
closed_at*|
Formatdate-time
closed_by*|
Match^person_[0-7][0-9a-hjkmnp-tv-z]{25}$
entries*array<>
curl -X GET 'https://api.agoohq.com/v1/roll-calls/rollcall_01m4x13bw0fjmr5ekjkshzkke6'
{  "id": "rollcall_01m4x13bw0fjmr5ekjkshzkke6",  "site_id": "site_01kjpt3yw0fz0v414608h9x65s",  "kind": "drill",  "status": "active",  "message": "Fire drill. Leave by the nearest exit and go to the car park assembly point.",  "counts": {    "total": 46,    "accounted_for": 41,    "missing": 5  },  "started_at": "2026-10-14T11:00:00Z",  "started_by": "person_01kjsexjt0e9rt8r69a60jzx03",  "closed_at": null,  "closed_by": null,  "entries": [    {      "kind": "visitor",      "visit_id": "visit_01m4k5z4j0fxbte6sn6e8tpgza",      "person_id": null,      "name": "Ama Owusu",      "status": "accounted_for",      "accounted_at": "2026-10-14T11:03:12Z",      "confirmed_via": "link"    },    {      "kind": "employee",      "visit_id": null,      "person_id": "person_01kjw4mg80efgb5aqbsqnxhtbh",      "name": "Nii Armah",      "status": "missing",      "accounted_at": null,      "confirmed_via": null    }  ]}