Skip to content

Templated API Documentation

Templated is a service to automate the generation of images and PDFs.
This guide will help you get started integrating with our simple API.

  1. Sign up for an account.

  2. Design your template in our editor.

  3. Get your API KEY in your dashboard.

  4. Integrate with the API.

    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: '#FFFFFF',
    background: '#0000FF',
    },
    'image-1': {
    image_url: 'https://pathtomyphoto.com/123.jpg',
    },
    },
    }),
    headers: {
    'Content-Type': 'application/json',
    'Authorization' : `Bearer ${API_KEY}`
    },
    });
  5. Render multiple images and PDFs from your template.