Users > Company

Get current operator’s company

GET company

Endpoint

GET /api/v1/users/company

Request

Route

GET /api/v1/users/company

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNjU5Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQyNDY0OTQ4LCJleHAiOjE3NDUwNTY5NDgsImp0aSI6IjllNzE2NTU2LTcyZWEtNDk0Zi1hYzBlLTM3MGVhNjRiMzYwYiJ9.z41OoNCIZe4So6DB8ZoXibx_lk_hDF4wtiki9SzuYz4
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
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"7f8b938bd38433f7a6129cda4922a066"
cache-control: max-age=0, private, must-revalidate
x-request-id: c4ff3670-ffea-43b4-8870-f2b36e5cffd7
x-runtime: 0.007942
content-length: 397

Body

{
  "company": {
    "id": 615,
    "address": "61025 Jayna Mill, North Hector, VA W4K 6LL",
    "billing_address": "489 Keith Villages, Lake Shaynehaven, LA RD2Y 5LN",
    "billing_full_name": "Earnest Schaden",
    "billing_phone_number": "0875 186 9933",
    "commission": "10.0",
    "due_days": 30,
    "invoice_email": "chan_crist@mills.example",
    "license_number": "2245836825",
    "name": "Fadel Group",
    "state": "verified",
    "vat_number": "3029187320"
  }
}