Stencil Documentation
  • General
  • API
    • Authentication
      • Account
    • Pagination
    • Status Code and Throttling
    • Endpoints
      • Projects
      • Templates
      • Images
      • Collections
      • PDFs
      • Airtable
    • Charts
  • Using Stencil
    • Template Editor (New)
    • Template Editor (Legacy)
      • 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

Was this helpful?

  1. API
  2. Authentication

Account

Getting your account information

For convenience, we also provide API endpoint to retrieve your account information

Account information

GET https://api.usestencil.com/v1/account

Headers

Name
Type
Description

Authorization

string

Must contain `Bearer <API-Secret-Key>`.

{
    "created_at": "2021-06-17T12:05:31",
    "current_project": {
        "description": "Steal the cake",
        "name": "Project 1"
    },
    "current_usage": 0,
    "email": "[email protected]",
    "id": "76baa621-283a-4b55-8236-3938e1cbf771",
    "limit_usage": 2000,
    "renewal_date": "2021-07-17T12:27:08Z"
}
"Unauthorized"

This API endpoint is also useful when integrating with Integromat to check for a valid account. 200 status response is only returned when API key is valid.

PreviousAuthenticationNextPagination

Last updated 3 years ago

Was this helpful?