Cache API
Get cached messages
Retrieve pending encrypted envelopes for a recipient using a signed Cache access proof
This endpoint returns encrypted messages waiting for one recipient DID. It does not decrypt them.
Because a DID is public, the DID alone is not authorization. Your client must sign a Cache retrieval proof with an Ed25519 verification method authorized by the recipient’s
Sign those bytes with the authorized Ed25519 private key, then Base64-encode the signature.
The timestamp may be ISO-8601, epoch milliseconds, or epoch seconds and must fall within the Cache’s permitted clock skew. Never reuse a nonce with the same operation, DID, and key.
Proof operation:
Proof device: empty
Proof subject:
TalariaCacheService.
Build the signed proof
Construct this exact UTF-8 string. Do not add a trailing newline:Request
string
required
The recipient DID.
string
required
The authorized
TalariaCacheService ID.string
required
The exact public Cache endpoint bound into the signature.
string
required
The authorized Ed25519 verification-method ID.
string
required
The signed timestamp.
string
required
A new replay-resistant nonce.
string
required
Base64 Ed25519 signature over the exact proof text.
Response
200 Response
After retrieval
- Verify the envelope and any sender signature your application requires.
- Store it safely on the recipient device.
- Decrypt it locally.
- Acknowledge it only after you no longer need the Cache copy.
Straight to the point
pullProof device: empty
Proof subject:
*
