Templates

List templates

Paged newest first. Follow next_cursor until empty; total is the whole count and does not change between pages. summary=true returns an empty html field; fetch a template by ID to edit or render it.

get/v1/templates

Request

  • Base URL: https://api.ironfang.com/render
  • URL: https://api.ironfang.com/render/v1/templates
  • Auth: HTTP bearer

Query parameters

cursorstring

Opaque next_cursor from the previous page; empty means the first page.

limitinteger

Maximum templates per page.

summaryboolean

Omit HTML bodies from the database read.

Response

Your templates, wrapped in a templates property - not a bare array. Clients that iterate must read templates.

next_cursorstring required

Cursor for the next page; empty on the final page.

totalinteger required

How many templates the account has in total, independent of this page. Read it rather than counting pages.

Changes

No recorded changes to this operation across all 1 revision of this API.