Skip to main content

Get Your API Key

If you are a company administrator, open Ustawienia → Klucze API in the Inspecto app to generate a key for your company. Non-admins should contact an admin to issue one. API keys are scoped to your company and can have different permission levels.
API keys follow the format: insp_<64_hex_characters> and the secret is shown only once during creation—store it securely.

Make Your First Request

curl -X GET "https://api.inspecto.com/api/third-party/v1/vehicles?limit=10" \
  -H "Authorization: Bearer insp_your_api_key_here" \
  -H "Content-Type: application/json"

Understanding the Response

All successful responses follow this format:
{
  "data": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "plateNumber": "ABC-1234",
      "type": "TRACTOR_UNIT",
      "status": "OK",
      "brand": "Volvo",
      "model": "FH16",
      "fuelType": "DIESEL",
      "updatedAt": "2024-12-09T20:00:00Z"
    }
  ],
  "meta": {
    "version": "v1",
    "pagination": {
      "currentPage": 1,
      "totalPages": 5,
      "totalCount": 47,
      "hasNextPage": true,
      "hasPreviousPage": false
    }
  }
}
data
array
The main response data (vehicles, inspections, etc.)
meta
object
Metadata about the response including version and pagination info

Next Steps

Authentication

Learn about API key security and best practices

List Vehicles

Explore the vehicles endpoint

Submit Inspections

Learn how to submit inspection data

Error Handling

Handle errors gracefully in your integration