Skip to main content
New to Corsair? See API access, authentication, and error handling.

Fonts

fonts

fonts List the fonts available to a template, with their variants and whether each is Google or custom Risk: read
Input: empty object Output: object[]

Pdf

pdf

pdf Capture a URL as a PDF in a chosen page format, optionally self-deleting after a set time; costs a credit Risk: write
Input Output

Render

render

render Render a template to an image, PDF or video, merging your data into its fields; costs a credit unless the answer is served from the cache, and a video render is asynchronous Risk: write
Input Output

Results

delete

results.delete Delete one render result Risk: destructive
Input Output: empty object

get

results.get Read one render result; this is how an asynchronous video render is polled until it is done or failed Risk: read
Input Output

list

results.list List render history, optionally filtered to one template or batch Risk: read
Input Output

Screenshot

screenshot

screenshot Capture a URL as a screenshot at a chosen size; costs a credit Risk: write
Input Output

Templates

content

templates.content Read an html-editor template’s raw HTML, CSS and sample data, which lists the merge fields a render should fill Risk: read
Input Output

create

templates.create Create a template in the html-editor, canvas-editor or canvas-html editor, with a size, tags and an output format Risk: write
Input Output

delete

templates.delete Delete a template Risk: destructive
Input Output: empty object

get

templates.get Read one template’s metadata Risk: read
Input Output

list

templates.list List your templates with their preview, format, size and tags Risk: read
Input Output: object[]

update

templates.update Update a template’s metadata; tags replace the whole set rather than merging Risk: write
Input Output

updateContent

templates.updateContent Replace an html-editor template’s raw HTML, CSS and sample data Risk: write
Input Output

Usage

usage

usage Read the plan, the credits used against the total, and the next renewal Risk: read
Input: empty object Output