Runs examples for real against your account. Test keys only; kept in this tab, never stored on our side. Get a key
ZapSMTP / Docs / Modules, images & timers

List images

GET/v1/template-assets

List the account’s template images, newest first.

Requires a full-access key.

All images of the account in one page (has_more is always false).

Errors

restricted_api_keyHTTP 403
GET/v1/template-assets
curl 'https://zapsmtp.xyz/v1/template-assets' \
  -H "Authorization: Bearer $ZAP_API_KEY"
Set ZAP_API_KEY in your environment.
Response 200 OK
{
  "object": "list",
  "has_more": false,
  "data": [
    {
      "id": "5b0e3c1a-9d2f-4e7b-8a61-2f4c6d8e0a13",
      "name": "logo.png",
      "ext": "png",
      "content_type": "image/png",
      "size": 18342,
      "width": 480,
      "height": 120,
      "created_at": "2026-10-22T16:10:00Z",
      "object": "template_asset",
      "url": "https://zapsmtp.xyz/i/5b0e3c1a-9d2f-4e7b-8a61-2f4c6d8e0a13.png"
    }
  ]
}