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.eyJzdWIiOiIxNjk4Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzUzMjY2MjIzLCJleHAiOjE3NTU4NTgyMjMsImp0aSI6IjQ0MTE3ZDQzLTAwYWMtNDVkZi04M2NjLTg3YjBjZDcxOGFjMCJ9.YE2dzsqAn6cfP-wG06lR-O_PlEYB7D7_fJec9arg4do
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/"76f1cca11f22c026833f1b5fa6527cff"
cache-control: max-age=0, private, must-revalidate
x-request-id: ac4e63a9-4409-469a-b1cc-88eb02ed6f48
x-runtime: 0.013960
content-length: 1011

Body

{
  "users": [
    {
      "id": 1698,
      "active": true,
      "contact_phone_number": null,
      "email": "lashell.simonis+operator@example.com",
      "first_name": "Lashell",
      "invitation_status": "accepted",
      "job_position": null,
      "last_name": "Simonis",
      "phone_number": null,
      "profile_id": null,
      "role": "operator"
    },
    {
      "id": 1699,
      "active": true,
      "contact_phone_number": null,
      "email": "richard.rodriguez+operator@example.com",
      "first_name": "Richard",
      "invitation_status": "accepted",
      "job_position": null,
      "last_name": "Rodriguez",
      "phone_number": null,
      "profile_id": null,
      "role": "operator"
    },
    {
      "id": 1700,
      "active": true,
      "contact_phone_number": null,
      "email": "esteban.rau+operator@example.com",
      "first_name": "Esteban",
      "invitation_status": "accepted",
      "job_position": null,
      "last_name": "Rau",
      "phone_number": null,
      "profile_id": null,
      "role": "operator"
    },
    {
      "id": 1701,
      "active": true,
      "contact_phone_number": null,
      "email": "lupe.waters+operator@example.com",
      "first_name": "Lupe",
      "invitation_status": "accepted",
      "job_position": null,
      "last_name": "Waters",
      "phone_number": null,
      "profile_id": null,
      "role": "operator"
    }
  ]
}