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.eyJzdWIiOiIxNjc3Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYwOTUwNDc0LCJleHAiOjE3NjM1NDI0NzQsImp0aSI6Ijc3MjllOThhLTdhNGMtNGNjMC1iZjllLTZkMTJhZGY4NDk2NiJ9.phuvVUfc8AD1yVVq-KOjMxj3AxzD6Vy3fqMb_XDzZhM
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/"fc639dde855f6569e66b2e29e29ba036"
cache-control: max-age=0, private, must-revalidate
x-request-id: 7182c55f-975f-4c8a-a212-62e190a0ce13
x-runtime: 0.012571
content-length: 1009

Body

{
  "users": [
    {
      "id": 1678,
      "active": true,
      "contact_phone_number": null,
      "email": "jefferson.kihn+operator@example.com",
      "first_name": "Jefferson",
      "invitation_status": "accepted",
      "job_position": null,
      "last_name": "Kihn",
      "phone_number": null,
      "profile_id": null,
      "role": "operator"
    },
    {
      "id": 1679,
      "active": true,
      "contact_phone_number": null,
      "email": "angelique.casper+operator@example.com",
      "first_name": "Angelique",
      "invitation_status": "accepted",
      "job_position": null,
      "last_name": "Casper",
      "phone_number": null,
      "profile_id": null,
      "role": "operator"
    },
    {
      "id": 1680,
      "active": true,
      "contact_phone_number": null,
      "email": "sharen.orn+operator@example.com",
      "first_name": "Sharen",
      "invitation_status": "accepted",
      "job_position": null,
      "last_name": "Orn",
      "phone_number": null,
      "profile_id": null,
      "role": "operator"
    },
    {
      "id": 1677,
      "active": true,
      "contact_phone_number": null,
      "email": "alyce.reichel+operator@example.com",
      "first_name": "Alyce",
      "invitation_status": "accepted",
      "job_position": null,
      "last_name": "Reichel",
      "phone_number": null,
      "profile_id": null,
      "role": "operator"
    }
  ]
}