Docs

List teams

Preview· P9
GET
/teams

Returns your teams with their members, newest first. A team is who a visitor comes to see when it isn't one person ("I'm here for Finance"), and who reception passes a waiting visitor to.

Scope: people: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: people:read

Query Parameters

limit?integer

How many items to return, from 1 to 100.

Range1 <= value <= 100
Default25
cursor?string

The next_cursor from the previous page. Leave it out for the first page.

Lengthlength <= 512
q?string

Only teams whose name contains this.

Lengthlength <= 80
site_id?string

Only teams at this site, and teams at every site.

Match^site_[0-7][0-9a-hjkmnp-tv-z]{25}$
Example"site_01kjpt3yw0fz0v414608h9x65s"
visitors_can_choose?boolean

Only teams visitors may (true) or may not (false) choose.

include_archived?boolean

Include archived teams.

Defaultfalse

Response Body

A page of teams.

application/json
  1. response
data*array<>
next_cursor*|

Pass this as cursor to get the next page. null on the last page.

Example"b3BhcXVlLWN1cnNvcg"
has_more*boolean
curl -X GET 'https://api.agoo.ardent.africa/v1/teams?limit=25'
{  "data": [    {      "id": "team_01m4r6y616e1b973vj50h0643y",      "name": "Finance",      "site_id": "site_01kjpt3yw0fz0v414608h9x65s",      "lead_id": "person_01kjsesxm0e4zbyvkr7bcfxbfg",      "visitors_can_choose": true,      "archived": false,      "members": [        {          "id": "person_01kjsesxm0e4zbyvkr7bcfxbfg",          "name": "Kwame Mensah",          "job_title": "Head of Treasury",          "active": true        }      ],      "created_at": "2026-10-12T09:00:00Z",      "updated_at": "2026-10-12T09:00:00Z"    }  ],  "next_cursor": null,  "has_more": false}