List people
GET
/members
const url = 'https://kmlrvcofvtzdlbomxrbp.supabase.co/functions/v1/external-api/members?limit=100&format=json&role=admin';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://kmlrvcofvtzdlbomxrbp.supabase.co/functions/v1/external-api/members?limit=100&format=json&role=admin' \ --header 'Authorization: Bearer <token>'People in your company with their role and team. /users is an alias. Requires the read:members scope.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters”limit
integer
How many rows to return, 1 to 1000.
format
string
csv returns the same rows as CSV, for Excel, Google Sheets or Power BI.
team_id
string format: uuid
Only people in this team.
role
string
Only people with this role.
Responses
Section titled “ Responses ”People in your company.
Array<object>
object
id
string format: uuid
name
string
email
string format: email
role
string
team_id
string | null format: uuid
team_name
No Team when the person has no team.
string
created_at
string format: date-time
Example
[ { "name": "Jana Nováková", "role": "employee", "team_name": "Marketing" }]string
The key is missing, malformed or revoked.
Media typeapplication/json
object
error
string
Example
{ "error": "Unauthorized: Invalid or missing API Key"}The key works but does not have the scope this endpoint needs.
Media typeapplication/json
object
error
string
Example
{ "error": "Forbidden: this key is missing the \"read:members\" scope"}Something went wrong on our side. The response does not include details.
Media typeapplication/json
object
error
string
Example
{ "error": "Internal Server Error"}