Stencil Documentation
  • General
  • API
    • Authentication
    • Pagination
    • Status Code and Throttling
    • Endpoints
      • Account
      • Projects
      • Templates
      • Images
      • Collections
      • PDFs
      • Airtable
      • Editor Session
  • Using Stencil
    • Template Editor
    • Template Editor (Legacy)
      • Charts
      • Limited Markdown Supports
      • Anchoring Element
      • Using Custom Font
      • Circular Text Positioning
    • White Label for Business
      • Setting Up Your First Client
      • DNS Setup with Cloudflare
  • Guides
    • Airtable Integration
      • Basic
    • Integromat Integration
      • Connection
      • Instant Trigger
    • Zapier Integration
      • Authentication
      • Trigger - New Image
      • Action - Create Image
    • Secure Signed Image
      • Basic
    • Query String Integration
      • Basic
      • Cache
    • Forms Integration
    • Case Studies
      • Generate Instagram Post from WooCommerce
      • Generate Open Graph Image for WordPress
      • Generate Personalized SendGrid Email Campaigns
      • Sending Charts to Twitter
      • Generate Instagram Post from Shopify
      • Automating Webflow Open Graph Image
      • Generate certificate of accomplishment
      • Automate Candidate's Certificate Generation
  • LINKS
    • Back to Stencil
    • Got bug?
    • Need feature?
    • Blog
Powered by GitBook
On this page
  • Generate API Key
  • Scope
  • Making request

Was this helpful?

  1. API

Authentication

PreviousGeneralNextPagination

Last updated 17 days ago

Was this helpful?

Generate API Key

To generate your API key, go to the project settings page and scroll to API Key section.

API Key is automatically generated, or you can also click on Generate New button to create a new one.

Scope

Each API is key is scoped to the project. Thus, each project will have different API keys.

Making request

Include the following header in each of your request to be authenticated properly.

Authorization: Bearer API_KEY

Replace API_KEY with the API key from the previous step.

You can generate new key at any point and the old key will be invalidated immediately.