Open with AI
List teams
GET
/v1/teams
const url = 'https://proficient-seahorse-829.eu-west-1.convex.site/v1/teams';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://proficient-seahorse-829.eu-west-1.convex.site/v1/teams \ --header 'Authorization: Bearer <token>'Lists every team this API key can reach.
Authorizations
Section titled “Authorizations”Responses
Section titled “ Responses ”The teams the key can reach
Media typeapplication/json
object
data
required
Array<object>
object
id
required
string
name
required
string
account_id
required
string
role
required
The caller’s role on this team.
string | null
created_at
required
number
Example
{ "data": [ { "id": "team_jn7fw41m8n5jtht7hxsy69tzg97gvef8", "name": "Brand team", "account_id": "acc_jh716ctpaqbye9aw64tgkqwtks7gvx7g", "role": "admin", "created_at": 1748875980 } ]}