JamFrame Signed URLs API

Sign a render request into a public URL that renders it when opened. The URLs themselves are served at `/r/s/...` (see **Public URLs**).

GitHub OpenAPI

Operations 2

POST /signed-urls Create a signed URL #
POST /signed-urls/rotate-key Revoke all signed URLs #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/jamframe-com:jamframe-com-signed-urls-api"
All apis
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.

Get an API 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 Specification

jamframe-com-signed-urls-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: JamFrame Signed URLs 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: Signed URLs
  description: 'Sign a render request into a public URL that renders it when opened.

    The URLs themselves are served at `/r/s/...` (see **Public URLs**).'
paths:
  /signed-urls:
    post:
      tags:
      - Signed URLs
      operationId: createSignedUrl
      summary: Create a signed URL
      description: 'Signs a render request into a public URL. Nothing is rendered or

        charged now: opening the URL renders the template (1 credit per

        image, or per PDF page) and answers with the file itself, so it

        works as an ``, in emails and as an `og:image`. Later

        requests for the same URL are served from the render cache for

        `cacheSeconds` (default 30 days) at no cost, as long as the

        template hasn''t been saved since.


        The request is validated as a render would be: an unknown template

        is a `404`, an invalid modification a `400`; keys that match

        nothing come back in `warnings`. The template can be one of the

        workspace''s or a template-library template.


        Images (`png`, `jpeg`, `webp`) show one page: page 1, or the one

        page in `response.includePages`. A PDF has every page, or those in

        `includePages`. Videos, `async` and `webhookUrl` aren''t available

        for signed URLs.


        The URL can''t be changed without breaking its signature (HMAC-SHA256

        under a per-workspace secret): any edit answers `403`. Once

        `expiresIn` has passed it answers `410`. To revoke every signed URL

        at once, call `POST /signed-urls/rotate-key`.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SignedUrlRequest'
            examples:
              ogImage:
                summary: An Open Graph image, valid for 30 days
                value:
                  templateId: clx8m2k3p0001abcd1234efgh
                  modifications:
                    title: How we cut render times in half
                    author: Jane Doe
                    title.color: '#FFD400'
                  response:
                    format: png
                  expiresIn: 2592000
      responses:
        '200':
          description: The signed URL. Nothing has been charged.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SignedUrlResponse'
              examples:
                default:
                  value:
                    data:
                      url: https://api.jamframe.com/r/s/cJa3HMV6TZzf.zPcqxCsIwFAXQXwnXNcjTpi3JLJ2cKn5ASR5JbJpIEVIo_XdxcT2cHR8Y2KXqpktTISIKvrZbfvHW-xYSDHPptbo2ndIkscDsCDy5FDPDYOTseGUnauAsypszO8j_ONuSygqD0zDcFBEk5mhn_tEj-sxOPMc7juML.kDVEKgTbbJVl2AuLI64vRg.png
                      templateId: clx8m2k3p0001abcd1234efgh
                      format: png
                      expiresAt: '2026-12-09T15:01:30.000Z'
        '400':
          description: 'Invalid request: see `ValidationError`, plus `mp4`, `async`,

            `webhookUrl` or `response.type` (not available for signed

            URLs), more than one page for an image, or a URL that would be

            too long (send fewer or shorter modifications).

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
              examples:
                video:
                  value:
                    error: VALIDATION_ERROR
                    message: 'Signed URLs render images and PDFs: "mp4" is not supported'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
  /signed-urls/rotate-key:
    post:
      tags:
      - Signed URLs
      operationId: rotateSignedUrlKey
      summary: Revoke all signed URLs
      description: 'Replaces the workspace''s URL-signing secret. Every signed URL

        created before stops working at once (`403`); URLs created after

        use the new secret. Revoking an API key does not revoke the signed

        URLs it created: rotate the key for that.'
      responses:
        '200':
          description: Rotated.
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    type: object
                    required:
                    - rotatedAt
                    properties:
                      rotatedAt:
                        type: string
                        format: date-time
              examples:
                default:
                  value:
                    data:
                      rotatedAt: '2026-11-09T15:20:00.000Z'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    SignedUrlRequest:
      type: object
      required:
      - templateId
      additionalProperties: false
      properties:
        templateId:
          type: string
          maxLength: 64
          description: A template of the workspace, or a template-library template.
        modifications:
          type: object
          maxProperties: 50
          description: As in `POST /render`. Values up to 2000 characters.
          additionalProperties:
            type:
            - string
            - number
            - boolean
            - 'null'
        response:
          type: object
          additionalProperties: false
          properties:
            format:
              type: string
              enum:
              - png
              - jpeg
              - jpg
              - webp
              - pdf
              default: png
            scale:
              type: integer
              minimum: 1
              maximum: 3
              default: 1
              description: Pixel density for images.
            quality:
              type: integer
              minimum: 1
              maximum: 100
              description: JPEG and WebP quality.
            includePages:
              type: array
              items:
                type: integer
                minimum: 1
              minItems: 1
              maxItems: 20
              description: One page for an image (default 1); any pages for a PDF (default all).
            size:
              type: string
              maxLength: 64
              description: A Smart Resize target (a size id, a size name or `WIDTHxHEIGHT`), as `response.size` in `POST /render`.
        expiresIn:
          type: integer
          minimum: 1
          maximum: 31536000
          default: 604800
          description: Seconds until the URL stops working (default 7 days, at most 1 year).
        cacheSeconds:
          type: integer
          minimum: 0
          maximum: 2592000
          default: 2592000
          description: 'How long a render of this URL is reused (default and most 30

            days, since its file is deleted after 31; 0 renders every

            request). URLs signed with a longer time before reuse it for 30

            days.

            '
    SignedUrlResponse:
      type: object
      required:
      - data
      properties:
        data:
          type: object
          required:
          - url
          - templateId
          - format
          - expiresAt
          properties:
            url:
              type: string
              format: uri
              description: The public URL, `<origin>/r/s/<kid>.<payload>.<sig>.<ext>`.
            templateId:
              type: string
            format:
              type: string
              enum:
              - png
              - jpeg
              - webp
              - pdf
            expiresAt:
              type: string
              format: date-time
        warnings:
          type: array
          items:
            type: string
          description: Modification keys that match nothing in the template.
    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:
    NotFound:
      description: The requested resource was not found in this workspace.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
          examples:
            template:
              value:
                error: NOT_FOUND
                message: Template clx8m2k3p0002abcd1234efgh not found in this workspace
    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