API reference · Identity & onboarding

Driving licences

POST Record a driving licence for an account holder

POST /accountholder/{type}/{value}/driving/licence

Headers

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

Path parameters

Name
type
value

Example

Request body: DrivingLicenceRequest · Response: GenericResponseDrivingLicenceResponse

curl -X POST "https://api.bridgemoni.com/accountholder/value/value/driving/licence" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV" \
  -H "Content-Type: application/json" \
  -d '{
  "licenceNumber": "string",
  "issuingAuthority": "string",
  "issuingCountryCode": "string",
  "issuingRegion": {
    "name": "string"
  },
  "licenceStatus": "VALID",
  "issueDate": "2026-09-25",
  "expiryDate": "2026-09-25",
  "penaltyPoints": "1",
  "majorOffencesCount": "1",
  "suspensionFrom": "2026-09-25",
  "suspensionTo": "2026-09-25",
  "mobileLicenceAvailable": "true"
}'

Responses

StatusWhen
200A driving licence recorded successfully

GET Answer whether an account holder may drive a class

GET /accountholder/{type}/{value}/driving/licence/eligibility

Derived from the classes held on the current licence and the licence's own validity. This payload declares no licence number, no penalty points and no address - a fleet operator asking whether someone may drive class C learns that and nothing else.

Headers

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

Path parameters

Name
type
value

Query parameters

NameDefault
classCodeOptional

Example

Response: GenericResponseDrivingLicenceEligibilityResponse

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

Responses

StatusWhen
200Driving entitlement answered successfully

GET List a driving licence for an account holder

GET /accountholder/{type}/{value}/driving/licences

Headers

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

Path parameters

Name
type
value

Example

Response: GenericResponseListDrivingLicenceResponse

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

Responses

StatusWhen
200A driving licence fetched successfully

GET Fetch one record

GET /driving/licence/{id}

Headers

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

Path parameters

Name
id

Example

Response: GenericResponseDrivingLicenceResponse

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

Responses

StatusWhen
200A driving licence fetched successfully

PUT Update one record

PUT /driving/licence/{id}

Headers

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

Path parameters

Name
id

Example

Request body: UpdateDrivingLicenceRequest · Response: GenericResponseDrivingLicenceResponse

curl -X PUT "https://api.bridgemoni.com/driving/licence/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 '{
  "licenceNumber": "string",
  "issuingAuthority": "string",
  "issuingCountryCode": "string",
  "issuingRegion": {
    "name": "string"
  },
  "licenceStatus": "VALID",
  "issueDate": "2026-09-25",
  "expiryDate": "2026-09-25",
  "penaltyPoints": "1",
  "majorOffencesCount": "1",
  "suspensionFrom": "2026-09-25",
  "suspensionTo": "2026-09-25",
  "mobileLicenceAvailable": "true",
  "active": "true"
}'

Responses

StatusWhen
200A driving licence updated successfully

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