Companies

Show company

GET company(admin)

Endpoint

GET /api/v1/companies/:id

Request

Route

GET /api/v1/companies/26

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjAiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3Mzc1NTE1NTIsImV4cCI6MTc0MDE0MzU1MiwianRpIjoiYjhjMDVmOWMtYTY3OC00NzYyLThmZmYtMjQ5NTQ4OTI3M2QxIn0.mvzDAU91NKfvO0AT3Q8XDad7-78KLzftjeC586Q43H8
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/"ba3a6f2c495b897879f94b8dce07ef65"
cache-control: max-age=0, private, must-revalidate
x-request-id: ad1816a1-bd81-43c6-8d39-234bdeebed3b
x-runtime: 0.016508
content-length: 501

Body

{
  "company": {
    "id": 26,
    "address": "Apt. 970 85247 Cremin Corner, West Shanita, WA Z4E 8FF",
    "billing_address": "Suite 669 202 Agustin Highway, North Josieview, AZ ZM1P 5AJ",
    "billing_full_name": "Milo Wunsch",
    "billing_phone_number": "01870 470028",
    "created_at": "2025-01-22T13:12:32.472Z",
    "drivers_count": 0,
    "due_days": 30,
    "invoice_email": "noemi@gusikowski-robel.test",
    "license_number": "3105572413",
    "live_jobs_count": 0,
    "name": "Kohler-Padberg",
    "rejection_reason": null,
    "state": "verified",
    "vat_number": "2200131934"
  }
}