API reference · Identity & onboarding

Vehicles

POST Record a vehicle for an account holder

POST /accountholder/{type}/{value}/vehicle

Headers

NameNotes
AuthorizationBearer token
X-TenantYour tenant
X-Environmenttest or live
Content-Typeapplication/json

Path parameters

Name
type
value

Example

Request body: VehicleRequest · Response: GenericResponseVehicleResponse

curl -X POST "https://api.bridgemoni.com/accountholder/value/value/vehicle" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV" \
  -H "Content-Type: application/json" \
  -d '{
  "plateNumber": "string",
  "vin": "string",
  "make": {
    "name": "string"
  },
  "model": {
    "name": "string"
  },
  "manufactureYear": "1",
  "colour": {
    "name": "string"
  },
  "vehicleClass": "PRIVATE_CAR",
  "registrationAuthority": "string",
  "registrationCountryCode": "string",
  "registrationExpiryDate": "2026-09-25",
  "ownershipType": "OWNED",
  "insurerName": {
    "name": "string"
  },
  "insurancePolicyNumber": "string",
  "insuranceExpiryDate": "2026-09-25",
  "roadworthinessExpiryDate": "2026-09-25"
}'

Responses

StatusWhen
200A vehicle recorded successfully

GET List a vehicle for an account holder

GET /accountholder/{type}/{value}/vehicles

Headers

NameNotes
AuthorizationBearer token
X-TenantYour tenant
X-Environmenttest or live

Path parameters

Name
type
value

Example

Response: GenericResponseListVehicleResponse

curl -X GET "https://api.bridgemoni.com/accountholder/value/value/vehicles" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV"

Responses

StatusWhen
200A vehicle fetched successfully

GET Fetch one record

GET /vehicle/{id}

Headers

NameNotes
AuthorizationBearer token
X-TenantYour tenant
X-Environmenttest or live

Path parameters

Name
id

Example

Response: GenericResponseVehicleResponse

curl -X GET "https://api.bridgemoni.com/vehicle/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV"

Responses

StatusWhen
200A vehicle fetched successfully

PUT Update one record

PUT /vehicle/{id}

Headers

NameNotes
AuthorizationBearer token
X-TenantYour tenant
X-Environmenttest or live
Content-Typeapplication/json

Path parameters

Name
id

Example

Request body: UpdateVehicleRequest · Response: GenericResponseVehicleResponse

curl -X PUT "https://api.bridgemoni.com/vehicle/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV" \
  -H "Content-Type: application/json" \
  -d '{
  "plateNumber": "string",
  "vin": "string",
  "make": {
    "name": "string"
  },
  "model": {
    "name": "string"
  },
  "manufactureYear": "1",
  "colour": {
    "name": "string"
  },
  "vehicleClass": "PRIVATE_CAR",
  "registrationAuthority": "string",
  "registrationCountryCode": "string",
  "registrationExpiryDate": "2026-09-25",
  "ownershipType": "OWNED",
  "insurerName": {
    "name": "string"
  },
  "insurancePolicyNumber": "string",
  "insuranceExpiryDate": "2026-09-25",
  "roadworthinessExpiryDate": "2026-09-25",
  "active": "true"
}'

Responses

StatusWhen
200A vehicle updated successfully

Generated from the OpenAPI document. Branch on the HTTP status: there is no machine-readable error code on the wire. Errors