Users > Company

Get current operator company’s members

GET company members

Endpoint

GET /api/v1/users/company/members

Parameters

Name Description In
by_state Filter by state ["active_operators"]

Request

Route

GET /api/v1/users/company/members

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNzI0Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYzNjI2NDEwLCJleHAiOjE3NjYyMTg0MTAsImp0aSI6IjA1ZTUyYjMyLTI5NGUtNDI2My04OTNkLTM0OGM0M2MzNzQzYiJ9.FLEQEnOIY0nJeDkSFmapSqBvyQrgHH7Bkb3EQ94GCuE
Host: example.org
Cookie: 

Query Parameters

{}=

Body

{
}

Response

Simulated Response

Status

200

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
per-page: 20
total: 4
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"d8f3bf79538bbf1d97bdf2cf8e104ea3"
cache-control: max-age=0, private, must-revalidate
x-request-id: 01699855-cd4d-47c9-8e2e-ca6280bfddaa
x-runtime: 0.011946
content-length: 1135

Body

{
  "users": [
    {
      "id": 1724,
      "active": true,
      "contact_phone_number": null,
      "email": "alonso.spinka+operator@example.com",
      "financial_company_id": null,
      "first_name": "Alonso",
      "invitation_status": "accepted",
      "job_position": null,
      "last_name": "Spinka",
      "phone_number": null,
      "profile_id": null,
      "role": "operator"
    },
    {
      "id": 1725,
      "active": true,
      "contact_phone_number": null,
      "email": "moises.breitenberg+operator@example.com",
      "financial_company_id": null,
      "first_name": "Moises",
      "invitation_status": "accepted",
      "job_position": null,
      "last_name": "Breitenberg",
      "phone_number": null,
      "profile_id": null,
      "role": "operator"
    },
    {
      "id": 1726,
      "active": true,
      "contact_phone_number": null,
      "email": "billie.bergstrom+operator@example.com",
      "financial_company_id": null,
      "first_name": "Billie",
      "invitation_status": "accepted",
      "job_position": null,
      "last_name": "Bergstrom",
      "phone_number": null,
      "profile_id": null,
      "role": "operator"
    },
    {
      "id": 1727,
      "active": true,
      "contact_phone_number": null,
      "email": "wilmer.larson+operator@example.com",
      "financial_company_id": null,
      "first_name": "Wilmer",
      "invitation_status": "accepted",
      "job_position": null,
      "last_name": "Larson",
      "phone_number": null,
      "profile_id": null,
      "role": "operator"
    }
  ]
}