Skip to main content
GET
/
accounts
/
{account_id}
/
members
List team members
curl --request GET \
  --url https://www.useroulette.com/api/v1/accounts/{account_id}/members \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "members": [
      {
        "id": "membership-uuid-1",
        "user_id": "user-uuid-1",
        "account_id": "account-uuid",
        "role": "owner",
        "name": "John Doe",
        "email": "john@example.com",
        "picture_url": "https://example.com/avatars/john.jpg",
        "created_at": "2023-06-01T00:00:00Z"
      },
      {
        "id": "membership-uuid-2",
        "user_id": "user-uuid-2",
        "account_id": "account-uuid",
        "role": "admin",
        "name": "Jane Smith",
        "email": "jane@example.com",
        "picture_url": null,
        "created_at": "2023-08-15T00:00:00Z"
      }
    ],
    "invitations": [
      {
        "id": "invite-uuid-1",
        "account_id": "account-uuid",
        "email": "newmember@example.com",
        "role": "member",
        "invited_by": "user-uuid-1",
        "expires_at": "2024-02-01T00:00:00Z",
        "created_at": "2024-01-15T00:00:00Z"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

account_id
string<uuid>
required

Response

success
boolean
required
data
object
required