Get current operator’s company
Users > 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.eyJzdWIiOiIxNjkwIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzUzMjY2MjIyLCJleHAiOjE3NTU4NTgyMjIsImp0aSI6IjJiMWU4YzQzLWY0YjctNDZjOC1iMjFmLTdjODdlYWE1ZDJkNCJ9.gVC5n8HY0ToKJ-1Dzth1clu3WoOuA25Hb-v9FFrot1Y
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
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"a965ff4fd9420161b524030989f97577"
cache-control: max-age=0, private, must-revalidate
x-request-id: d69f2b4f-21b6-4625-9255-099332917039
x-runtime: 0.013016
content-length: 412
Body
{
"company": {
"id": 631,
"address": "62574 Zita Gardens, Lesleyview, NH CE4 3YZ",
"billing_address": "Suite 102 58459 Hickle Pass, East Delmerside, MT WG2E 0AQ",
"billing_full_name": "Shayne Fritsch",
"billing_phone_number": "01914 726776",
"commission": "10.0",
"due_days": 30,
"invoice_email": "thanh.yost@padberg.example",
"license_number": "8743810890",
"name": "O'Connell and Sons",
"state": "verified",
"vat_number": "8041662456"
}
}