Skip to the documentation
API

List template images

The images uploaded for templates, newest first.

GET/templates/images

Runs the real call on your workspace.

GET /templates/images

The images uploaded for templates, newest first.

Example

Needs templates:read. It is the library the template editor offers when you add an image. limit and cursor page it.

curl
curl "$OE/templates/images?limit=10" -H "$AUTH"
Response
{  "object": "list",  "data": [{      "object": "template_image",      "id": "5f0c9a8e-2b7d-4c1e-9a3f-8d6b2e4c7a10",      "url": "https://cdn.openemail.uk/templates/images/8a9c35f0/5f0c9a8e-2b7d-4c1e-9a3f-8d6b2e4c7a10.png",      "size": 48213    }],  "hasMore": false,  "nextCursor": null}

Template images belong to the workspace: every template in it can use them, and they stay at their address after the template that first used them is deleted.

Reference