REQUEST
curl "https://api.imageapis.com/v1/templates" \ -H "X-API-Key: YOUR_KEY"
import requests
r = requests.get("https://api.imageapis.com/v1/templates", headers={"X-API-Key": "YOUR_KEY"})
print(r.status_code, r.headers.get("X-Gw-Remaining"))
print(r.json())
const r = await fetch("https://api.imageapis.com/v1/templates", {
headers: { "X-API-Key": "YOUR_KEY" }
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.json());
RESPONSE
200OK
{
"templates": [
{
"id": "tpl_4nq8vzk2hdyw7bxme3rc",
"object": "template",
"name": "Blog post card",
"engine": "layers",
"width": 1200,
"height": 630,
"layers": 3,
"created": "2026-10-10T17:40:02Z",
"updated": "2026-10-10T17:40:02Z"
}
]
}
401Missing or invalid API key (from the gateway)
404No such template or record on this account
{
"error": "string",
"message": "string",
"param": "string"
}