API reference · Pricing, reporting & reconciliation

Reconciling entity credentials

POST Register a key for a reconciling entity

POST /reconciliation/entity/{code}/key

For a signed file Bridge stores only the entity's public key and cannot sign on its behalf even in principle - which is the strongest reason to prefer the file channel. For a webhook Bridge must hold the shared secret, so it is minted here, encrypted at rest and returned exactly once; it cannot be read back afterwards. Registering a second key of the same purpose rotates: the previous signing key moves to verify-only and goes on verifying the files it already signed, because a reconciliation whose evidence expires when a key rotates is not evidence.

Headers

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

Path parameters

Name
code

Example

Request body: RegisterKeyRequest · Response: GenericResponseKeyResponse

curl -X POST "https://api.bridgemoni.com/reconciliation/entity/value/key" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV" \
  -H "Content-Type: application/json" \
  -d '{
  "keyId": "string",
  "purpose": "string",
  "algorithm": "string",
  "publicKey": "string",
  "notBefore": "string",
  "notAfter": "string"
}'

Responses

StatusWhen
200Key registered successfully

GET List an entity's keys

GET /reconciliation/entity/{code}/keys

Every key the entity has ever had, with the state each is in. Secrets are never returned - only the fingerprint, which is enough to tell two keys apart and useless for signing anything.

Headers

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

Path parameters

Name
code

Example

Response: GenericResponseListKeyResponse

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

Responses

StatusWhen
200Keys retrieved successfully

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