Identifiers and idempotency
The identifiers that tie messages, events and proofs together, the correlation id you send, and how writes stay safe to retry.
Every identifier below is a string. Treat each one as opaque: compare it, store it and send it back, but do not parse it or build one from its parts.
Identifiers
| Identifier | Where it comes from | Where you use it |
|---|---|---|
transactionRef (transaction_ref) | Set by the parties and carried in the correlation of every Ventra Interchangeable Message (VIM) envelope. It ties all messages of one case together. | Get a transaction |
eventRef (event_ref) | Also in the correlation: one event within the transaction, such as an instruction or a confirmation. | Timeline entries, messages and match sets |
Message id (message_id) | The id of the message envelope, a UUID. | Get a message |
Match set id (set_id) | Set by Ventra when it compares the messages of the parties to one event. | Get a match set |
Event id (event_id) | Set by Ventra when it records an event in the Record of Clearance (RoC). | Get a proof bundle |
| Tenant | Taken from your credential. | Never sent: a tenant in a header, the query or the body is ignored. |
Role slot (S1 to S9) | The role of a party in a case, for example the order giver or the custodian. | Messages and profiles. Documents name the slot, never the institution. |
nextCursor | Returned by a list. | Sent back as cursor. Opaque. |
Tokens, commitments and blinded values
The data boundary requires the agent in your perimeter to replace client and account values before it seals a message, and the receiver refuses a message with unmapped personal data. You see these forms instead:
| Form | Meaning |
|---|---|
tok_... | A token that stands for a client, investor or account value. Only your agent can map it back. |
cmt_... | A commitment. Matching compares commitments, never clear values. |
beq_... | A blinded amount or quantity. |
Correlation id
Send an X-Correlation-Id header with every call: a value you generate, for example a UUID. Problem details echo it back as correlationId. Keep the same value for the retries of one
call, and log it with your own request log.
curl -sS "https://api.ventrahq.tech/api/v1/profiles" \
-H "Authorization: Bearer <access-token>" \
-H "X-Correlation-Id: <your-correlation-id>"
Idempotency of writes
Every write of the Platform API (POST, PUT, PATCH, DELETE) must carry an Idempotency-Key header. A write
without it is refused with 400 and the problem type urn:ventra:problem:idempotency-required, before anything
changes.
- Generate one key, for example a UUID, for each logical operation.
- Send the same key on every retry of that operation; a new operation gets a new key.
- Read-only roles (party viewer, auditor, supervisor) are refused with
403andurn:ventra:problem:write-forbidden, whatever the key.
Writes run only in pilot deployments; the public demo refuses them. They are not part of this reference.
Related
- Ventra Interchangeable Message (VIM) reference · The envelope every VIM message carries and the core message types, generated from the VIM schemas.
- Status, errors and retries · The status codes of the API, its two error shapes, rate limits, which calls to retry and how to page through a list.
- API reference · Every documented operation of the Ventra Platform API v1, grouped by resource, generated from the specification.
Last reviewed 2026-12-01