JamFrame Auth API
Test-authentication endpoint used by integrations (e.g. Zapier) to verify an API key and display a human-readable label for the connected workspace.
Test-authentication endpoint used by integrations (e.g. Zapier) to verify an API key and display a human-readable label for the connected workspace.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/jamframe-com:jamframe-com-auth-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: JamFrame Auth API
version: 1.0.0
summary: Render images, carousels, PDFs and short videos from your templates.
description: 'The JamFrame REST API turns a template you designed in the JamFrame
editor into finished files: a PNG, JPEG or WebP image, a multi-page
carousel, a PDF, or an MP4 video of the animated pages. Send the
template id and the values to fill in; get back a URL (or base64) for
each file. Every request is authenticated with a per-workspace API key, created
from the **API Keys** page in the web app. ## Authentication
Send your key in the `Authorization` header as a bearer token:
```
Authorization: Bearer jf_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
```
The key is bound to a single workspace; you don''t need to pass a
workspace id separately. Keys are shown exactly once when you create
them: store them in a secrets manager, and rotate them by revoking and
recreating. ## Rendering in three steps
1. Find the template: `GET /designs` lists the workspace''s templates. 2. See what you can fill in: `GET /designs/{id}` returns the template''s
`parameters` (layer keys and `{{placeholders}}`) and page count. 3. Render it: `POST /render` with the template id and `modifications`. Templates from the **template library** (the ready-made designs in the
editor''s Templates tab) can be rendered the same way: pass the library
template''s id as `templateId`, and `GET /designs/{id}` returns its
parameters too. Credits are charged to your workspace, and the render
log records the library template''s id. ## File links
Rendered files are private. With `response.type: "url"` (the default)
each file comes back as a link that works for `expiresIn` seconds, a
top-level field of the render request: 300 (5 minutes) by default, at
most 604800 (7 days). `expiresAt`, next to `content`, says until when. A value outside that range is a `400 VALIDATION_ERROR`. - A render job keeps its `expiresIn`: every `GET /render-jobs/{id}`
answers fresh links that work for that long from then, and the
`render.*` webhook events and the `webhookUrl` callback carry links
signed when they are sent. - `GET /renders` and `GET /renders/{id}` answer fresh links that work
for 5 minutes. - Files are deleted **8 days** after the render, so a link never
outlives its file. - **Need a permanent link?** Use a Dynamic URL (below): it renders the
image when it is opened, serves it from the render cache afterwards,
and works for as long as you keep it on. ## Signed and dynamic URLs
Two ways to render from a plain link, with no API key in the page, for
an ``, an email or an `og:image`:
- **Signed URLs**: `POST /signed-urls` turns one render request into a
tamper-proof link that renders it when opened (and serves it from the
render cache afterwards, free). See `GET /r/s/{token}`. - **Dynamic URLs**: a template''s public link, switched on in the app''s
Integrations, API & Forms dialog, that renders from its query parameters:
`/r/d/{publicId}.png?headline=Hello`. It has a credit cap, a cache
time and an expiry. See `GET /r/d/{file}`. Both answer with the file''s bytes. A render costs credits as usual; a
request served from the render cache costs nothing. ## Smart Resize
One template renders at any size. `response.size` lays every page out
at another size: a size saved on the template in the editor''s
**Resize** tab (its id, listed in `GET /designs/{id}` as `sizes`, with
any manual adjustments), a size name (`story`, `square`, `portrait`,
`landscape`, `widescreen`, `thumbnail`, `pin`, or a preset id such as
`instagram-story` or `og-image`), `"WIDTHxHEIGHT"`, or `original`. A size the template hasn''t saved is laid out automatically: backgrounds
and photos fill the new canvas, edge decorations stay on their edge,
and the content is scaled and re-centred. `response.sizes` renders
several sizes in one call; `content` is then one entry per size,
`[{ size, url | urls }]`. Credits are 1 per page per size. ### Modification keys
| Key | Effect |
| --- | --- |
| `title` | Sets every layer whose parameter key is `title`, and every `{{title}}` placeholder in text.'
servers:
- url: https://api.jamframe.com/v1
description: Production
- url: http://localhost:3100/v1
description: Local development
security:
- bearerAuth: []
tags:
- name: Auth
description: 'Test-authentication endpoint used by integrations (e.g. Zapier) to
verify an API key and display a human-readable label for the
connected workspace.'
paths:
/auth:
post:
tags:
- Auth
operationId: testAuth
summary: Test API key
description: 'Verifies the bearer API key and returns a human-readable
`username` for the connected workspace. Intended as Zapier''s
"Test Auth" / connection-label endpoint: a 2xx response confirms
the key is valid and the returned `username` is safe to show in
the integration UI.'
responses:
'200':
description: API key is valid.
content:
application/json:
schema:
$ref: '#/components/schemas/AuthResult'
examples:
default:
value:
workspaceId: ws_abc123
username: Jane Doe
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'429':
$ref: '#/components/responses/RateLimited'
components:
schemas:
AuthResult:
type: object
required:
- username
properties:
workspaceId:
type: string
description: 'Stable identifier of the workspace the API key is bound to.
Suitable as a connection UID for integration platforms
(e.g. Make) since it doesn''t change when the owner is renamed.
'
username:
type: string
description: 'Display name of the organization owner. Falls back to the
owner''s email when no name is set. Safe to show as a Zapier
connection label.
'
ApiError:
type: object
required:
- error
- message
properties:
error:
type: string
description: 'Stable, machine-readable error code. `INVALID_REQUEST` (400) is a
body that isn''t valid JSON, `BODY_TOO_LARGE` (413) a body over
5 MB, and `UNSUPPORTED_MEDIA_TYPE` (415) a body in a charset or
encoding the API can''t read.
'
enum:
- MISSING_API_KEY
- INVALID_API_KEY
- EXPIRED_API_KEY
- ORG_ON_HOLD
- ORG_SUSPENDED
- RATE_LIMITED
- VALIDATION_ERROR
- INVALID_REQUEST
- BODY_TOO_LARGE
- UNSUPPORTED_MEDIA_TYPE
- NOT_FOUND
- CONFLICT
- QUOTA_EXCEEDED
- WORKSPACE_QUOTA_EXCEEDED
- PLAN_LIMIT_EXCEEDED
- WEBHOOK_URL_INVALID
- WEBHOOK_LIMIT_REACHED
- VIDEO_UNAVAILABLE
- AI_UNAVAILABLE
- AI_CONTENT_REFUSED
- AI_TIMEOUT
- AI_RATE_LIMITED
- AI_BAD_OUTPUT
- AI_BAD_REQUEST
- AI_UPSTREAM_ERROR
- AI_CREDITS_EXCEEDED
- INTERNAL
message:
type: string
description: Human-readable error message, safe to show to end users.
detail:
type: object
description: Optional structured context (varies by error code).
additionalProperties: true
responses:
Unauthorized:
description: 'Missing, malformed, expired or revoked API key, or the key''s
creator is suspended or no longer has editor access to the
workspace.
'
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
examples:
missing:
value:
error: MISSING_API_KEY
message: Missing Authorization header
invalid:
value:
error: INVALID_API_KEY
message: Invalid API key
expired:
value:
error: EXPIRED_API_KEY
message: API key has expired
RateLimited:
description: 'Too many requests for this organization (or endpoint). Honour the `Retry-After`
response header (seconds) or the `detail.retryAfter` field.
'
headers:
Retry-After:
description: Seconds until the next request will succeed.
schema:
type: integer
RateLimit:
description: 'The current window (IETF rate-limit headers, draft 7), sent on
every authenticated response: `limit=100, remaining=0, reset=42`
(requests per window, requests left, seconds until it resets).
'
schema:
type: string
example: limit=100, remaining=0, reset=42
RateLimit-Policy:
description: The limit and the window length in seconds (`100;w=60`), sent on every authenticated response.
schema:
type: string
example: 100;w=60
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
examples:
default:
value:
error: RATE_LIMITED
message: Rate limit exceeded. Retry after 30 seconds.
detail:
retryAfter: 30
Forbidden:
description: 'The organization is on hold (`ORG_ON_HOLD`: reads still work,
changes and renders are refused) or suspended (`ORG_SUSPENDED`:
everything is refused).
'
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
examples:
onHold:
value:
error: ORG_ON_HOLD
message: This organization is on hold while we review recent activity. You can still view everything, but changes are paused.
suspended:
value:
error: ORG_SUSPENDED
message: This organization has been suspended.
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: jf_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
description: Bearer API key created on the web app's API Keys page.
x-tagGroups:
- name: Rendering
tags:
- Render
- Signed URLs
- Public URLs
- Public forms
- name: Templates
tags:
- Designs
- AI
- Figma import
- name: Automation
tags:
- Workflows
- Social
- Webhooks
- name: Account
tags:
- Auth