Company Operators

List company operators

GET company operators(admin)

Endpoint

GET /api/v1/companies/:company_id/company_operators

Request

Route

GET /api/v1/companies/35/company_operators

Headers

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

Query Parameters

{}=

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: 1
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"4ee6592daa5a62bf3d6d22f4ec179610"
cache-control: max-age=0, private, must-revalidate
x-request-id: e65b09da-df24-48f2-98dc-69ff2b41b3ff
x-runtime: 0.128487
content-length: 241

Body

{
  "company_operators": [
    {
      "id": 35,
      "contact_phone_number": null,
      "created_at": "2025-01-22",
      "job_position": null,
      "operator": {
        "id": 139,
        "admin": false,
        "contact_phone_number": null,
        "image": null,
        "invitation_status": "accepted",
        "title": "Dwayne Champlin"
      }
    }
  ]
}