Skip to content

Templated API Documentation

With the Templated API you can automate the generation of images and PDFs.
This guide will help you get started integrating with our simple API.

Getting Started

  1. Sign up for an account.

  2. Design your template in our editor or select one from our Template Gallery.

  3. Get your API KEY in your dashboard in the API Integration tab.

  4. Make a call to generate a render (image or PDF).

    SAMPLE REQUEST
    fetch('https://api.templated.io/v1/render', {
    method: 'POST',
    body: JSON.stringify({
    template: TEMPLATE_ID,
    layers: {
    'text-1': {
    text: 'This is my text to be rendered',
    color: '#FF0000',
    background: '#0000FF',
    },
    'image-1': {
    image_url: 'https://picsum.photos/200/300.jpg',
    },
    },
    }),
    headers: {
    'Content-Type': 'application/json',
    'Authorization' : `Bearer ${API_KEY}`
    },
    });
  5. Render multiple images and PDFs from your template.

Try it in Postman

Want to explore our API quickly? Check out our complete API collection in Postman where you can test all endpoints, see request examples, and get started faster.

Run in Postman