Skip to main content

Base URL

https://api.inspecto.com/api/third-party/v1

Sandbox

https://sandbox.inspecto.com/api/third-party/v1

Authentication

All requests require an API key in the Authorization header:
Authorization: Bearer insp_your_api_key_here

Request Format

Headers

HeaderRequiredDescription
AuthorizationYesBearer token with your API key
Content-TypeYes (POST/PUT)application/json
X-Inspecto-API-VersionNoAPI version (defaults to v1)

Example Request

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

Response Format

All successful responses follow this structure:
{
  "data": { /* or [] */ },
  "meta": {
    "version": "v1",
    "pagination": { /* if applicable */ }
  }
}

Error Responses

{
  "errors": [
    {
      "code": "ERROR_CODE",
      "message": "Human-readable message",
      "details": { /* optional */ }
    }
  ]
}

HTTP Status Codes

CodeDescription
200Success
201Created
400Bad Request
401Unauthorized
403Forbidden
404Not Found
500Internal Server Error

Pagination

List endpoints support pagination:
?page=1&limit=50
  • Default limit: 50
  • Maximum limit: 100
See Pagination for details.

Endpoints Overview

Vehicles

List Vehicles

GET /vehicles

Get Vehicle

GET /vehicles/

Vehicle Groups

List Vehicle Groups

GET /vehicle-groups

Inspections

List Templates

GET /inspection-templates

List Inspections

GET /inspections

Get Inspection

GET /inspections/

Submit Inspection

POST /inspections

Damages

List Damages

GET /damages

Get Damage

GET /damages/

Driver Assignments

List Driver Assignments

GET /driver-assignments