Lists receipts (metadata records) for secrets created within the last 30 days. Supports scoping by customer (default), organization, or custom domain. Returns each receipt's state, timestamps, and summary information.
Query parameters
-
Omit for personal receipts. Use org or domain for scoped receipts, subject to existing authorization. Other scalar values currently fall back to the personal list.
-
Required when scope=domain; the domain must be accessible to the caller.
GET
/api/v2/receipt/recent
curl \
--request GET 'http://localhost:3000/api/v2/receipt/recent' \
--user "username:password"
Response examples (200)
{
"user_id": "string",
"shrimp": "",
"records": [
{
"identifier": "string",
"created": 42.0,
"updated": 42.0,
"key": "string",
"shortid": "string",
"state": "new",
"custid": "string",
"owner_id": "string",
"shared": "string",
"previewed": "string",
"revealed": "string",
"burned": "string",
"secret_ttl": "string",
"receipt_ttl": "string",
"lifespan": "string",
"secret_shortid": "string",
"secret_identifier": "string",
"recipients": [
"string"
],
"recipient_name": "string",
"share_domain": "string",
"has_passphrase": true,
"is_previewed": "string",
"is_revealed": "string",
"is_burned": "string",
"is_destroyed": "string",
"is_expired": "string",
"is_orphaned": "string",
"memo": "string",
"kind": "generate",
"source": "standard",
"received": "string",
"viewed": "string",
"is_viewed": "string",
"is_received": "string",
"show_recipients": "string"
}
],
"details": {
"type": "string",
"scope": "string",
"scope_label": "string",
"since": 42.0,
"now": "string",
"has_items": "string",
"received": [
{
"identifier": "string",
"created": 42.0,
"updated": 42.0,
"key": "string",
"shortid": "string",
"state": "new",
"custid": "string",
"owner_id": "string",
"shared": "string",
"previewed": "string",
"revealed": "string",
"burned": "string",
"secret_ttl": "string",
"receipt_ttl": "string",
"lifespan": "string",
"secret_shortid": "string",
"secret_identifier": "string",
"recipients": [
"string"
],
"recipient_name": "string",
"share_domain": "string",
"has_passphrase": true,
"is_previewed": "string",
"is_revealed": "string",
"is_burned": "string",
"is_destroyed": "string",
"is_expired": "string",
"is_orphaned": "string",
"memo": "string",
"kind": "generate",
"source": "standard",
"received": "string",
"viewed": "string",
"is_viewed": "string",
"is_received": "string",
"show_recipients": "string"
}
],
"notreceived": [
{
"identifier": "string",
"created": 42.0,
"updated": 42.0,
"key": "string",
"shortid": "string",
"state": "new",
"custid": "string",
"owner_id": "string",
"shared": "string",
"previewed": "string",
"revealed": "string",
"burned": "string",
"secret_ttl": "string",
"receipt_ttl": "string",
"lifespan": "string",
"secret_shortid": "string",
"secret_identifier": "string",
"recipients": [
"string"
],
"recipient_name": "string",
"share_domain": "string",
"has_passphrase": true,
"is_previewed": "string",
"is_revealed": "string",
"is_burned": "string",
"is_destroyed": "string",
"is_expired": "string",
"is_orphaned": "string",
"memo": "string",
"kind": "generate",
"source": "standard",
"received": "string",
"viewed": "string",
"is_viewed": "string",
"is_received": "string",
"show_recipients": "string"
}
]
},
"count": 42
}
Response examples (401)
{
"error": "string",
"error_type": "string",
"message": "string",
"field": "string",
"error_id": "string",
"request_id": "string"
}
Response examples (403)
{
"error": "string",
"error_type": "string",
"message": "string",
"field": "string",
"error_id": "string",
"request_id": "string"
}
Response examples (404)
{
"error": "string",
"error_type": "string",
"message": "string",
"field": "string",
"error_id": "string",
"request_id": "string"
}
Response examples (422)
{
"error": "string",
"error_type": "string",
"message": "string",
"field": "string",
"error_id": "string",
"request_id": "string"
}
Response examples (500)
{
"error": "string",
"error_type": "string",
"message": "string",
"field": "string",
"error_id": "string",
"request_id": "string"
}