messaging

Deliver a sealed message (server stores only ephemeralPubKey, viewTag, ct). Replay-idempotent.

post/api/messages/v2/send

Request

  • Base URL: https://api.anygas.xyz/svc
  • URL: https://api.anygas.xyz/svc/api/messages/v2/send
  • Auth: none declared

Request body

ephemeralPubKeystring required

33-byte compressed secp256k1 point, one-time

viewTagstring required
ctstring required

base64; suite 0x51; must be one of the fixed ciphertext sizes (see /info)

Example request

{
  "viewTag": "0x3a"
}

Response

{ok, id, releaseAt} or {ok, id, duplicate:true}

Changes

No recorded changes to this operation across all 1 revision of this API.