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.eyJzdWIiOiIxMzEiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NDg1MTY0OTYsImV4cCI6MTc1MTEwODQ5NiwianRpIjoiNzdiM2RjZmYtYWRjYi00NjVhLTk4NTQtMjNlN2Y4MzU2MGY3In0.NmkEvICWn2UbBA9Ix_mXzjkkNFMaHZLvV3yDK6PYHTg
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/"c2f7b8c7c0b690cc0cb70e8f64d1f4ee"
cache-control: max-age=0, private, must-revalidate
x-request-id: 9429fb5f-bfbc-48fe-82ff-50b42f30c6e9
x-runtime: 0.016013
content-length: 509

Body

{
  "company": {
    "id": 31,
    "address": "949 Schneider Unions, Veumport, KY W9 9RB",
    "billing_address": "Suite 931 2676 Bergstrom Vista, Lake Dexter, NV RA9W 7LN",
    "billing_full_name": "Fr. Rachell Towne",
    "billing_phone_number": "0500 632758",
    "commission": "10.0",
    "created_at": "2025-05-29T11:01:36.890Z",
    "drivers_count": 0,
    "due_days": 30,
    "invoice_email": "eduardo@thompson.example",
    "license_number": "1149516958",
    "live_jobs_count": 0,
    "name": "Gutmann and Sons",
    "rejection_reason": null,
    "state": "verified",
    "vat_number": "7800196207"
  }
}