List this tenant's stored email assets
GET
https://emails.routeon.io/api/v1/assets
Lists the assets available for reuse in a template. Only stored (validated) assets are listed — a presigned-but-unconfirmed asset is not yet an asset. moderation_status is derived on read rather than persisted. used_by_templates/used_by_campaigns tell the caller where an asset is referenced, which is what makes a delete safe to offer; expires_at is non-null only while an asset is unreferenced and therefore eligible for orphan collection.
Responses
200
Stored assets owned by the calling tenant
Example response · 200
{
"status": "success",
"http_code": 0,
"payload": {
"items": [
{
"asset_id": "00000000-0000-0000-0000-000000000000",
"cdn_url": "string",
"filename": "string",
"content_type": "string",
"size_bytes": 0,
"moderation_status": "pending",
"created_at": "2024-01-01T00:00:00Z",
"used_by_templates": [
{
"id": null,
"name": null,
"version": null
}
],
"used_by_campaigns": [
{
"id": null
}
],
"expires_at": "2024-01-01T00:00:00Z"
}
]
},
"meta": []
}