Organization

List Organization Members

Retrieve a paginated list of organization members. Excludes pending invitations (users without associated user accounts). Returns member information including roles, contact details, and user associations.

GET
/v1/organization/members

Authorization

bearerAuth
AuthorizationBearer <token>

Bearer token authentication for API access.

In: header

Query Parameters

page?integer

Page number for pagination

Default1
Range1 <= value
limit?integer

Number of items per page (max 100)

Default50
Range1 <= value <= 100

Response Body

application/json

application/json

application/json

curl -X GET "https://api.sophiie.ai/v1/organization/members"
{
  "members": [
    {
      "id": 123,
      "role": "ADMIN",
      "firstName": "John",
      "lastName": "Doe",
      "position": "Operations Manager",
      "avatarImg": "https://example.com/avatar.jpg",
      "isDisabled": false,
      "responsibility": "Manages daily operations and customer service",
      "user": {
        "email": "john.doe@acme.com"
      }
    }
  ],
  "totalPages": 2,
  "currentPage": 1,
  "totalCount": 8
}
{
  "success": false,
  "message": "Invalid or expired token",
  "error": {
    "status": 401,
    "message": "Invalid or expired token"
  }
}
{
  "success": false,
  "message": "Internal server error",
  "error": {
    "status": 500,
    "message": "Internal server error"
  }
}