RENDERS

Fetch or render a signed image

Unauthenticated. `sig` is HMAC over the template id and query (except `sig`). Optional `exp` is a unix expiry. Other query keys map to layer `text` or variables. First unique payload renders and bills the template owner; later hits stream the stored file.

get/api/v1/img/{templateId}

Unauthenticated. sig is HMAC over the template id and query (except sig). Optional exp is a unix expiry. Other query keys map to layer text or variables. First unique payload renders and bills the template owner; later hits stream the stored file.

Path Parameters

templateId*string
Formatuuid

Query Parameters

sig*string
exp?string

Unix seconds; omit for a non-expiring URL

format?string

jpeg is accepted as an alias of jpg; stored and returned as jpg.

Default"png"

Value in

  • "png"
  • "jpg"
  • "pdf"
  • "webp"
  • "avif"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/img/497f6eca-6276-4993-bfeb-53cbbbba6f08?sig=string"
"string"