Open with AI
List team members
GET
/v1/users
const url = 'https://proficient-seahorse-829.eu-west-1.convex.site/v1/users?team_id=team_jn7fw41m8n5jtht7hxsy69tzg97gvef8';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/users?team_id=team_jn7fw41m8n5jtht7hxsy69tzg97gvef8' \ --header 'Authorization: Bearer <token>'Lists the members of a team, with each member’s role.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters”team_id
required
The team whose members to list.
string
Example
team_jn7fw41m8n5jtht7hxsy69tzg97gvef8The team whose members to list.
Responses
Section titled “ Responses ”The team’s members
Media typeapplication/json
object
data
required
Array
object
id
required
string
email
required
string | null
created_at
required
number
role
required
string
joined_at
required
number
Example
{ "data": [ { "id": "user_k970b359khfwwny0q8fjah1hc97gtcwm", "email": "ada@example.com", "created_at": 1748875980, "role": "admin", "joined_at": 1748875980 } ]}Team not found
Media typeapplication/json
object
error
required
string
Example
{ "error": "Render not found"}