Skip to main content
View as Markdown

List organization members and pending invitations

GET /api/v1/members

Returns the active members of the caller's current organization plus any pending invitations.

Example request

curl https://api.mobilenexthq.com/api/v1/members \
-X GET \
-H 'Authorization: Bearer mob_...'

Responses

200 — Members and pending invitations

{
"members": [
{
"userId": "string",
"email": "string",
"name": "string",
"role": "admin",
"joinedAt": "2026-01-01T00:00:00Z"
}
],
"invitations": [
{
"id": "string",
"email": "string",
"role": {},
"status": "pending",
"invitedByUserId": "string",
"createdAt": "2026-01-01T00:00:00Z",
"expiresAt": "2026-01-01T00:00:00Z"
}
]
}

401 — Missing or invalid Bearer token

{
"error": {
"code": "string",
"message": "string"
}
}

403 — Caller lacks permission for this action (e.g. not an admin)

{
"error": {
"code": "string",
"message": "string"
}
}

500 — Unexpected server error

{
"error": {
"code": "string",
"message": "string"
}
}