Skip to main content
This route behaves like POST /relay, with one additional safety check: the URL declares the expected base recipient DID. The Relay rejects a message when the body target does not begin with that same DID. An optional @persona suffix does not change the comparison. Use POST /relay for an alias target. This is helpful when your application routes requests per recipient or wants to detect an accidental body mix-up.

Request

string
required
The URL-encoded recipient DID. It must equal the DID before any optional @persona suffix in to or recipient.
The body is the same encrypted DDN envelope accepted by POST /relay.

Response

The response is the same DeliveryResult returned by Send an encrypted message.

Straight to the point

  • Body base DID must equal path DID; aliases use POST /relay
  • Persona stays in the body target; tag stays in the top-level tag field
  • Success and error schema: DeliveryResult
  • Use POST /relay when path binding provides no benefit