Articles on: API Reference

How to Get Your API Key

How to Get Your API Key


Your API key authenticates your requests to the Templated API.


Finding Your API Key


  1. Log in to app.templated.io
  2. Click API Integration in the left sidebar
  3. Your API key is displayed—click the copy button to copy it


Using Your API Key


Include it in the Authorization header of every API request:


Authorization: Bearer YOUR_API_KEY


Example


fetch('https://api.templated.io/v1/render', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer sk_live_abc123xyz789...'
},
body: JSON.stringify({
template: 'TEMPLATE_ID',
layers: { title: { text: 'Hello' } }
})
});


Security Best Practices


  • Never expose your API key in client-side code (browsers)
  • Store it in environment variables on your server
  • Use server-side code to make API calls
  • If compromised, reset it immediately


API Key Format


Your key looks like:

sk_live_aBcDeFgHiJkLmNoPqRsTuVwXyZ123456


The sk_live_ prefix indicates a live production key.


For no-code platforms (Make, Zapier, n8n), paste this same key when prompted for authentication.

Updated on: 11/01/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!