JamFrame Public URLs API

Anonymous image and PDF URLs, served from the app's origin (not under `/api/v1`): signed URLs and dynamic URLs. They answer with the file's bytes; errors are a small JSON body (`PublicUrlError`). Limits per minute: 120 requests per IP and 1200 per URL; renders (cache misses) 20 per IP, 30 per URL and 120 per workspace.

GitHub OpenAPI

Operations 2

GET /r/s/{token} Open a signed URL #
GET /r/d/{file} Open a dynamic URL #

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-public-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-public-urls-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: JamFrame Public 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: Public URLs
  description: 'Anonymous image and PDF URLs, served from the app''s origin (not under

    `/api/v1`): signed URLs and dynamic URLs. They answer with the file''s

    bytes; errors are a small JSON body (`PublicUrlError`). Limits per

    minute: 120 requests per IP and 1200 per URL; renders (cache misses)

    20 per IP, 30 per URL and 120 per workspace.'
paths:
  /r/s/{token}:
    servers:
    - url: https://api.jamframe.com
      description: Production
    - url: http://localhost:3100
      description: Local development
    get:
      tags:
      - Public URLs
      operationId: openSignedUrl
      summary: Open a signed URL
      security: []
      description: 'The URL returned by `POST /signed-urls`: `...`.

        Renders the signed request (or serves it from the render cache) and

        answers with the file. No authentication: the signature is the

        credential. A query string is ignored.


        Cache: within the URL''s cache time, the same request is served from

        the stored file for free, and `If-None-Match` with the `ETag`

        answers `304`. `X-Render-Cache` says `HIT` or `MISS`.

        `Cache-Control: max-age` is the cache time but at most one day, so a

        key rotation reaches browsers and CDNs within a day.


        `HEAD` answers from the render cache only and never renders or

        charges: a cached request gets the headers a `GET` would, anything

        else `200` with `X-Render-Cache: MISS` and `Cache-Control: no-store`.'
      parameters:
      - in: path
        name: token
        required: true
        description: The signed token, ending in `.png`, `.jpg`, `.webp` or `.pdf`.
        schema:
          type: string
          maxLength: 6000
      responses:
        '200':
          $ref: '#/components/responses/RenderedFile'
        '304':
          description: The `If-None-Match` ETag is current.
        '400':
          $ref: '#/components/responses/PublicError'
        '402':
          $ref: '#/components/responses/PublicError'
        '403':
          $ref: '#/components/responses/PublicError'
        '404':
          $ref: '#/components/responses/PublicError'
        '410':
          $ref: '#/components/responses/PublicError'
        '422':
          $ref: '#/components/responses/PublicError'
        '429':
          $ref: '#/components/responses/PublicError'
        '500':
          $ref: '#/components/responses/PublicError'
        '503':
          $ref: '#/components/responses/PublicError'
  /r/d/{file}:
    servers:
    - url: https://api.jamframe.com
      description: Production
    - url: http://localhost:3100
      description: Local development
    get:
      tags:
      - Public URLs
      operationId: openDynamicUrl
      summary: Open a dynamic URL
      security: []
      description: 'A template''s dynamic URL, switched on in the app''s Integrations, API

        & Forms dialog:

        `/r/d/.?key=value&…`. Every query parameter is a

        modification, as in `POST /render` (`headline`, `page2@headline`,

        `headline.color`); values are URL-decoded. Names starting with `_`

        are reserved: `_page` picks the page of an image (default 1) or the

        pages of a PDF (`1,3`), `_scale` is 1, 2 or 3, `_size` is a Smart

        Resize target (a size id, a size name or `WIDTHxHEIGHT`); any other

        `_name` is ignored. At most 50 parameters, names up to 200 and values up to

        2000 characters, 8000 characters in all; a repeated name is a `400`.


        A render costs credits like any other (1 per image, or per PDF

        page) and counts toward the URL''s credit cap. Within the URL''s cache

        time (default 300 seconds) the same parameters are served from the

        stored file: free, not counted toward the cap, and still served

        once the cap is reached. Parameters that match nothing in the

        template don''t change the cache key.


        When the cap is reached (`402 CREDIT_CAP_REACHED`, for parameters

        not in the cache), the URL is turned off (`410 URL_DISABLED`) or

        has expired (`410 URL_EXPIRED`), the answer is a JSON error, not an

        image. A new dynamic URL starts with a 100-credit cap (change or

        remove it in the app). `Cache-Control: max-age` is the cache

        time but at most one hour, so turning the URL off or making a new

        link reaches browsers and CDNs within the hour.


        Output size: at most 20 megapixels per page (width × height ×

        `_scale`²; `PUBLIC_RENDER_MAX_PIXELS` on self-hosted servers), a

        `400` above that. `HEAD` answers from the render cache only, as for

        signed URLs: it never renders or charges.'
      parameters:
      - in: path
        name: file
        required: true
        description: The URL's public id and the format, e.g. `Q2x5a1RqZmVt0GZ4aWw.png` (`png`, `jpg`, `jpeg`, `webp` or `pdf`).
        schema:
          type: string
      - in: query
        name: modifications
        required: false
        style: form
        explode: true
        description: Any number of `key=value` pairs, each a modification.
        schema:
          type: object
          additionalProperties:
            type: string
        example:
          headline: Hello world
          headline.color: '#FF0000'
      responses:
        '200':
          $ref: '#/components/responses/RenderedFile'
        '304':
          description: The `If-None-Match` ETag is current.
        '400':
          $ref: '#/components/responses/PublicError'
        '402':
          $ref: '#/components/responses/PublicError'
        '403':
          $ref: '#/components/responses/PublicError'
        '404':
          $ref: '#/components/responses/PublicError'
        '410':
          $ref: '#/components/responses/PublicError'
        '422':
          $ref: '#/components/responses/PublicError'
        '429':
          $ref: '#/components/responses/PublicError'
        '500':
          $ref: '#/components/responses/PublicError'
        '503':
          $ref: '#/components/responses/PublicError'
components:
  responses:
    RenderedFile:
      description: The rendered file.
      headers:
        Cache-Control:
          description: '`public, max-age=<seconds>`: the cache time, at most one hour (dynamic URLs) or one day (signed URLs) and never past the URL''s expiry (`no-cache` when the cache time is 0).'
          schema:
            type: string
        ETag:
          description: Strong validator of the file's bytes; send it back in `If-None-Match` for a `304`.
          schema:
            type: string
        X-Render-Cache:
          description: '`HIT` (served from the render cache, free) or `MISS` (rendered now).'
          schema:
            type: string
            enum:
            - HIT
            - MISS
      content:
        image/png:
          schema:
            type: string
            format: binary
        image/jpeg:
          schema:
            type: string
            format: binary
        image/webp:
          schema:
            type: string
            format: binary
        application/pdf:
          schema:
            type: string
            format: binary
    PublicError:
      description: 'A public render URL that can''t be served, with `Cache-Control:

        no-store`:


        | Status | `error` | When |

        | --- | --- | --- |

        | 400 | `INVALID_PARAMETERS` | A query parameter or modification is invalid, an image URL isn''t a public http(s) address, or the output would be over the pixel cap. |

        | 402 | `CREDIT_CAP_REACHED` | A dynamic URL''s credit cap is used up (cached parameters are still served). |

        | 402 | `CREDITS_EXHAUSTED` | The workspace has no credits left. |

        | 403 | `INVALID_SIGNATURE` | A signed URL was changed, or its key was rotated. |

        | 403 | `UNAVAILABLE` | The account is on hold or suspended. |

        | 404 | `NOT_FOUND` | No such URL, or the template was deleted. |

        | 410 | `URL_EXPIRED` | The URL''s expiry has passed. |

        | 410 | `URL_DISABLED` | The dynamic URL was turned off. |

        | 422 | `MEDIA_UNAVAILABLE` | An image could not be loaded (or its host resolves to a private address). |

        | 429 | `RATE_LIMITED` | Too many requests, or the URL''s renders keep failing and it is paused for a while (see `Retry-After`). |

        | 500 | `RENDER_FAILED` | The render failed. |

        | 503 | `BUSY` | Too many renders in progress, for the server, the workspace or this URL (see `Retry-After`). |

        '
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PublicUrlError'
          examples:
            expired:
              value:
                error: URL_EXPIRED
                message: This link has expired.
            cap:
              value:
                error: CREDIT_CAP_REACHED
                message: This link has used its credit allowance.
            tampered:
              value:
                error: INVALID_SIGNATURE
                message: This link is not valid.
  schemas:
    PublicUrlError:
      type: object
      required:
      - error
      - message
      description: The error body of a public render URL. Short and generic on purpose.
      properties:
        error:
          type: string
          enum:
          - INVALID_PARAMETERS
          - INVALID_SIGNATURE
          - NOT_FOUND
          - URL_EXPIRED
          - URL_DISABLED
          - CREDIT_CAP_REACHED
          - CREDITS_EXHAUSTED
          - UNAVAILABLE
          - MEDIA_UNAVAILABLE
          - RATE_LIMITED
          - BUSY
          - RENDER_FAILED
        message:
          type: string
  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