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.eyJzdWIiOiIxNjgzIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQ4NTE2NTM1LCJleHAiOjE3NTExMDg1MzUsImp0aSI6IjE0MjU2MzFlLWQ5ZWEtNDljZS1iMzE3LWU1OTg0MGVjYThmMCJ9.hF-y_mtVYNMFbY7OSqFgVQc2P9H-5WQmsHWkTUgswhM
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/"4d0dc4a9de598759138051b2c1d40611"
cache-control: max-age=0, private, must-revalidate
x-request-id: b9a10995-47c6-4b90-83f9-9d0e46291428
x-runtime: 0.008258
content-length: 413

Body

{
  "company": {
    "id": 628,
    "address": "Apt. 231 58604 Abram Dam, Adamsside, DE W4J 8HJ",
    "billing_address": "3021 Romaguera Trail, Kesslerbury, KY RM3H 4HA",
    "billing_full_name": "Gov. Euna Abbott",
    "billing_phone_number": "056 6428 8071",
    "commission": "10.0",
    "due_days": 30,
    "invoice_email": "lottie.purdy@sipes.test",
    "license_number": "4024931648",
    "name": "Leannon, Klocko and Stehr",
    "state": "verified",
    "vat_number": "3418305760"
  }
}