Cache API
Get messages for a device
Retrieve encrypted envelopes targeted to one authorized device
Use this endpoint when a DID has multiple registered devices and your client wants messages for one device. The device identifier is included in both the path and signed access proof.
The Cache verifies that the device is allowed by the resolved recipient record.
Send
Signed proof
Use the same format as Get cached messages, but populatedevice_id:
Request
string
required
Recipient DID.
string
required
Authorized device identifier.
X-Service-Id, X-Cache-Endpoint, X-Key-Id, X-Timestamp, X-Nonce, and X-Signature exactly as described by the recipient-wide retrieval endpoint.
Response
The response hascount and messages, using the same message object as Get cached messages.
Straight to the point
- Proof operation:
pull - Proof subject:
* - Proof
device_id: exact path device - Unauthorized or tombstoned device:
403

