List teams

View as MarkdownOpen in Claude
Lists the teams the token can reach, one JSON:API resource per team, with standard pagination. Public filters: `id[]` (team ids) and `s` for a free-text search on the name. Public sorts: `name` (default, ascending) and `created_at` - prefix with `-` for descending. `sites_count`, how many websites belong to the team, is a computed attribute: request it with `fields[teams]=sites_count`. Default page size is 15, capped at 50 (`page[size]`).

Authentication

AuthorizationBearer

Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.

Query parameters

page[number]stringOptional
page[size]stringOptional
sortstringOptional
filter[s]stringOptional
filter[id][]stringOptional

Response

200 - Teams

datalist of objectsOptional
jsonapiobjectOptional
metaobjectOptional