API reference · Identity & onboarding

Driving licence classes

POST Record a licence class for an account holder

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

Headers

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

Path parameters

Name
type
value

Example

Request body: DrivingLicenceClassRequest · Response: GenericResponseDrivingLicenceClassResponse

curl -X POST "https://api.bridgemoni.com/accountholder/value/value/driving/licence/class" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV" \
  -H "Content-Type: application/json" \
  -d '{
  "licenceReference": "b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e",
  "classCode": "string",
  "classDescription": "string",
  "validFrom": "2026-09-25",
  "validTo": "2026-09-25",
  "restrictionCodes": "string"
}'

Responses

StatusWhen
200A licence class recorded successfully

GET List a licence class for an account holder

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

Headers

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

Path parameters

Name
type
value

Example

Response: GenericResponseListDrivingLicenceClassResponse

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

Responses

StatusWhen
200A licence class fetched successfully

GET Fetch one record

GET /driving/licence/class/{id}

Headers

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

Path parameters

Name
id

Example

Response: GenericResponseDrivingLicenceClassResponse

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

Responses

StatusWhen
200A licence class fetched successfully

PUT Update one record

PUT /driving/licence/class/{id}

Headers

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

Path parameters

Name
id

Example

Request body: UpdateDrivingLicenceClassRequest · Response: GenericResponseDrivingLicenceClassResponse

curl -X PUT "https://api.bridgemoni.com/driving/licence/class/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 '{
  "licenceReference": "b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e",
  "classCode": "string",
  "classDescription": "string",
  "validFrom": "2026-09-25",
  "validTo": "2026-09-25",
  "restrictionCodes": "string",
  "active": "true"
}'

Responses

StatusWhen
200A licence class updated successfully

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