Create a fleet inspection
POST/fleets
Creates an active fleet inspection for the authenticated insurer. Personal fleets require proof of address and director identity documents. Corporate fleets require CAC, MEMART, and director identity documents.
Request
- multipart/form-data
Body
required
Possible values: >= 3 characters and <= 150 characters
Fleet name. Must be unique for the authenticated insurer.
Possible values: [personal, corporate]
Possible values: >= 3 characters
Possible values: <= 100 characters
Required for personal fleets. PNG, JPEG, or PDF with a maximum size of 1500 KB.
Required for all fleets. PNG, JPEG, or PDF with a maximum size of 1500 KB.
Required for corporate fleets. PNG, JPEG, or PDF with a maximum size of 1500 KB.
Required for corporate fleets. PNG, JPEG, or PDF with a maximum size of 1500 KB.
Responses
- 201
- 401
- 422
- 429
Fleet inspection created successfully.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
data object
Fleet ULID used in fleet API URLs.
Alias of uid.
Possible values: [personal, corporate]
meta object[]
Uploaded fleet documents. Returned by the get operation.
insurer object
Returned by the get operation.
Number of policies attached to the fleet.
{
"data": {
"uid": "01JZ7M5BCW8T2W4QWR5SN1MMBQ",
"id": "01JZ7M5BCW8T2W4QWR5SN1MMBQ",
"inspection_type": "personal",
"name": "Delivery Fleet",
"company_name": "Example Logistics Limited",
"company_phone_no": "08012345678",
"company_email": "fleet@example.com",
"status": "active",
"payment_status": "unpaid",
"policy_start_date": "2026-08-03",
"policy_end_date": "2026-08-03",
"meta": [
{
"type": "string",
"url": "string",
"file": "string"
}
],
"insurer": {
"id": 0,
"code": "string"
},
"has_policies": 0,
"vehicles_count": 0,
"created_at": "2026-08-03T11:01:42.092Z",
"inspection_link": "string"
}
}
Unauthenticated - no valid API key was provided.
- application/json
- Schema
- Example (from schema)
Schema
{
"data": "Invalid Token"
}
The request failed validation. Batch vehicle errors include the zero based request index, for example vehicles.1.chassis_number.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
error objectrequired
property name* string[]
string
{
"message": "The chassis number must be a valid VIN.",
"error": {
"vehicles.1.chassis_number": [
"The chassis number must be a valid VIN."
]
}
}
Too many requests.