curl --request GET \
--url http://localhost:3000/organizations/{orgId}/members \
--header 'Authorization: Bearer <token>'{
"statusCode": 123,
"message": "OK",
"data": {
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "jsmith@example.com",
"name": "<string>",
"status": "active",
"role": "admin",
"is_primary": true,
"created_at": "2023-11-07T05:31:56Z",
"timezone": "<string>",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"meta": {
"total": 123,
"page": 123,
"pageCount": 123
}
}
}Returns a paginated list of all members in the organization. Requires authentication and organization admin role.
curl --request GET \
--url http://localhost:3000/organizations/{orgId}/members \
--header 'Authorization: Bearer <token>'{
"statusCode": 123,
"message": "OK",
"data": {
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "jsmith@example.com",
"name": "<string>",
"status": "active",
"role": "admin",
"is_primary": true,
"created_at": "2023-11-07T05:31:56Z",
"timezone": "<string>",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"meta": {
"total": 123,
"page": 123,
"pageCount": 123
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.