Relay API
Send an encrypted message
Submit a DDN envelope to a Relay using the recipient declared in the envelope
Use this endpoint after your client has resolved the recipient, encrypted the message, and built a DDN envelope. The Relay reads only the public outer fields needed for validation and delivery.
Request
The body is one JSON DDN envelope.string
required
A UUID generated once for this message. Reusing it may cause deduplication.
string
required
The recipient Talaria DID.
recipient is accepted as an alternate field name.string
required
ISO-8601, epoch milliseconds, or epoch seconds.
created_at is accepted as an alternate.object
required
Your encrypted application payload.
string
Base64 encrypted header. When used, also send
header_nonce, schema_version, and a header key reference.object
Alternate compact encrypted-header object. Provide this or the flat encrypted-header fields.
Response
boolean
required
Whether the Relay completed the reported delivery mode.
string
required
The successful mode or
failed.integer
required
The HTTP status represented by the result.
string
required
A stable machine-readable result code.
integer
required
Retries performed by this delivery attempt.
boolean
required
Whether the Relay attempted Cache fallback.

