API reference · Identity & onboarding

Languages

POST Record a language for an account holder

POST /accountholder/{type}/{value}/language

Headers

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

Path parameters

Name
type
value

Example

Request body: LanguageRequest · Response: GenericResponseLanguageResponse

curl -X POST "https://api.bridgemoni.com/accountholder/value/value/language" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV" \
  -H "Content-Type: application/json" \
  -d '{
  "languageCode": "yo",
  "proficiency": "NATIVE",
  "preferred": "true"
}'

Responses

StatusWhen
200Languages created successfully

GET List an account holder's languages

GET /accountholder/{type}/{value}/languages

Headers

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

Path parameters

Name
type
value

Example

Response: GenericResponseListLanguageResponse

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

Responses

StatusWhen
200Languages fetched successfully

GET Fetch one language

GET /language/{id}

Headers

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

Path parameters

Name
id

Example

Response: GenericResponseLanguageResponse

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

Responses

StatusWhen
200Languages fetched successfully

PUT Update one language

PUT /language/{id}

Headers

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

Path parameters

Name
id

Example

Request body: UpdateLanguageRequest · Response: GenericResponseLanguageResponse

curl -X PUT "https://api.bridgemoni.com/language/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 '{
  "languageCode": "yo",
  "proficiency": "NATIVE",
  "preferred": "true"
}'

Responses

StatusWhen
200Languages updated successfully

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