API reference · Identity & onboarding

Provinces

GET Fetch a province by code, scoped to a parent

GET /province/code/{code}

Headers

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

Path parameters

Name
code

Query parameters

NameDefault
parentReferenceOptional

Example

Response: ProvinceResponse

curl -X GET "https://api.bridgemoni.com/province/code/BRG-001?parentReference=value" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV"

Responses

StatusWhen
200Province fetched successfully
404No province exists for the given code under this parent

GET Fetch a province by reference

GET /province/{id}

Headers

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

Path parameters

Name
id

Example

Response: ProvinceResponse

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

Responses

StatusWhen
200Province fetched successfully
404No province exists for the given reference

GET List provinces under a parent

GET /provinces

Headers

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

Query parameters

NameDefault
parentReferenceOptional

Example

Response: List<ProvinceResponse>

curl -X GET "https://api.bridgemoni.com/provinces?parentReference=value" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV"

Responses

StatusWhen
200Provinces fetched successfully

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