Skip to navigation

List teams

View as MarkdownOpen in Claude

Returns the teams your token can reach. Use it to find the id of the team a website joins or moves to.

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 to return, starting at 1. Default 1.
page[size]stringOptional
Number of teams per page, 1 to 50. Default 15.
sortstringOptional

Sort order: name (default, ascending) or created_at. Prefix with - for descending.

filter[s]stringOptional

Free-text search on the team's name or slug.

filter[id][]stringOptional
Team ids. Several values match any of them.
fields[teams]stringOptional

Attributes to return, comma-separated; only those are returned. Available: name, slug, created_at, updated_at.

Response

200 - Teams

datalist of objectsOptional
jsonapiobjectOptional
metaobjectOptional