Companies

Show company

GET company(admin)

Endpoint

GET /api/v1/companies/:id

Request

Route

GET /api/v1/companies/31

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMzEiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NTMyNjYxNzEsImV4cCI6MTc1NTg1ODE3MSwianRpIjoiYmE3N2Y0YjgtMzhmMC00ODc4LTk3MTItMjQ1NzlkODYzOGE4In0.HeuLI2fJHPZH2kcPyH3Vjd3m5Gf0YRnzZ3pYauGxE3g
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/"bfe2c9963b426f0e565bf174b60c10db"
cache-control: max-age=0, private, must-revalidate
x-request-id: 4498bc8a-d3dd-4030-9605-53fdc1cb51d5
x-runtime: 0.008547
content-length: 508

Body

{
  "company": {
    "id": 31,
    "address": "637 Swift Mill, East Giovanna, SD YD0 9LN",
    "billing_address": "Apt. 195 2053 Bebe Drive, Lake Ronnieburgh, SC W1 8LN",
    "billing_full_name": "Errol Green",
    "billing_phone_number": "0836 662 1266",
    "commission": "10.0",
    "created_at": "2025-07-23T10:22:51.899Z",
    "drivers_count": 0,
    "due_days": 30,
    "invoice_email": "susy@jaskolski-abernathy.test",
    "license_number": "1768166891",
    "live_jobs_count": 0,
    "name": "Kerluke-Wilderman",
    "rejection_reason": null,
    "state": "verified",
    "vat_number": "7420110930"
  }
}