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.eyJzdWIiOiIxNjI4Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzM3NTUxNTg4LCJleHAiOjE3NDAxNDM1ODgsImp0aSI6ImZlZDQxMTZjLTFjMzMtNGQ4NC1hZjBhLTRjNjAzYmRmYmE2ZiJ9.Rd6X_KVaEGSPZfrgOLaKlgyjMFMrICgsTfsVh2d4ze0
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/"e34ca0963f092a8599b8fed03d440c5f"
cache-control: max-age=0, private, must-revalidate
x-request-id: f3e9aa8d-77f0-4540-b242-c3816f0a986f
x-runtime: 0.008389
content-length: 397

Body

{
  "company": {
    "id": 606,
    "address": "Suite 897 5579 Robbi Spur, Lake Tuan, GA W1H 3XN",
    "billing_address": "4802 Hermiston Viaduct, Florrietown, SC YT7 1JA",
    "billing_full_name": "Msgr. Shiela Hoeger",
    "billing_phone_number": "0364 539 1489",
    "due_days": 30,
    "invoice_email": "garrett_erdman@cummings.test",
    "license_number": "1298286666",
    "name": "Hodkiewicz and Sons",
    "state": "verified",
    "vat_number": "9212145594"
  }
}