GET
/
accounts
/
members
curl --request GET \
  --url https://api.mudstack.com/accounts/members \
  --header 'Authorization: Bearer <token>' \
  --header 'x-account-id: <x-account-id>'
[
  {
    "account_id": "<string>",
    "user_id": "<string>",
    "roles": [
      "<string>"
    ],
    "user": {
      "id": "<string>",
      "auth0UserID": "<string>",
      "username": "<string>",
      "email": "<string>",
      "firstName": "<string>",
      "lastName": "<string>",
      "avatar_file_id": "<string>",
      "defaultAvatar": 123,
      "industry": "<string>",
      "occupation": "<string>",
      "company": "<string>",
      "emailVerified": true,
      "isActive": true,
      "city": "<string>",
      "state": "<string>",
      "country": "<string>",
      "zipCode": "<string>",
      "invited_by_user": {}
    }
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-account-id
string
required

Response

200 - application/json
A list of account members.
account_id
string

The unique identifier of the account.

user_id
string

The unique identifier of the user.

roles
string[]

The roles assigned to the user within the account.

user
object

The user associated with the account member.