API reference · Identity & onboarding

Districts

GET Fetch a district by code, scoped to a parent

GET /district/code/{code}

Headers

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

Path parameters

Name
code

Query parameters

NameDefault
parentReferenceOptional

Example

Response: DistrictResponse

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

Responses

StatusWhen
200District fetched successfully
404No district exists for the given code under this parent

GET Fetch a district by reference

GET /district/{id}

Headers

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

Path parameters

Name
id

Example

Response: DistrictResponse

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

Responses

StatusWhen
200District fetched successfully
404No district exists for the given reference

GET List districts under a parent

GET /districts

Headers

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

Query parameters

NameDefault
parentReferenceOptional

Example

Response: List<DistrictResponse>

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

Responses

StatusWhen
200Districts fetched successfully

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