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

Retrieve a module

GET/v1/template-modules/{id}

Retrieve a module.

Requires a full-access key.

Path parameters

idstring (UUID)required
Module id.

Errors

restricted_api_keyHTTP 403
not_foundHTTP 404
module not found
GET/v1/template-modules/{id}
curl 'https://zapsmtp.xyz/v1/template-modules/019a1f61-4e5f-7a60-8b71-8c9d0e1f2a3b' \
  -H "Authorization: Bearer $ZAP_API_KEY"
Set ZAP_API_KEY in your environment.
Response 200 OK
{
  "id": "019a1f61-4e5f-7a60-8b71-8c9d0e1f2a3b",
  "name": "Footer",
  "category": "Brand",
  "design": {
    "rows": [
      {
        "id": "r1",
        "columns": [
          {
            "id": "c1",
            "width": 100,
            "blocks": [
              {
                "id": "b1",
                "type": "text",
                "html": "<p>Acme Inc. · 1 Market St, San Francisco</p>"
              }
            ]
          }
        ]
      }
    ]
  },
  "created_at": "2026-10-22T16:00:00Z",
  "updated_at": "2026-10-22T16:00:00Z"
}