Cofferdock Files API

Zips and temporary downloads.

Operations 2

POST /create-zip Create a zip from up to 50 files #
GET /files/{token} Download a temporary file (from output=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/cofferdock-com:cofferdock-com-files-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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cofferdock-com-files-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cofferdock Files API
  version: 1.0.0
  summary: 'One API key, 48 tools for automations: HTML to image or PDF, screenshots, QR codes, charts, PDF editing, image processing, validation and data helpers.'
  description: 'All tools share one account and one monthly pool of credits (1 successful call = 1 credit; failed calls are not charged). Free plan: 50 credits a month, no card.


    Authenticate with the header `x-api-key`. Most tools accept the input either as JSON (base64 for files) or as raw bytes (the file itself as the request body, options as query parameters), and can return the result as JSON (base64), as the file itself (`output=binary`) or as a temporary download link (`output=url`).


    Docs: https://cofferdock.com/html-to-image · Get a key: https://cofferdock.com/register · Support: hello@cofferdock.com'
  contact:
    name: Cofferdock support
    email: hello@cofferdock.com
    url: https://cofferdock.com
  termsOfService: https://cofferdock.com/terms
servers:
- url: https://api.cofferdock.com
security:
- ApiKey: []
tags:
- name: Files
  description: Zips and temporary downloads.
paths:
  /create-zip:
    post:
      operationId: createZip
      tags:
      - Files
      summary: Create a zip from up to 50 files
      description: 'Packs files of any type into a .zip. Names can include folders ("reports/january.pdf"). Default output is the zip binary.


        Costs 1 credit per call.'
      security:
      - ApiKey: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - files
              properties:
                files:
                  type: array
                  minItems: 1
                  maxItems: 50
                  items:
                    type: object
                    required:
                    - name
                    - content
                    properties:
                      name:
                        type: string
                        description: File name inside the zip, optionally with folders.
                      content:
                        type: string
                        contentEncoding: base64
                  description: 'The files to put in the zip (up to 50). Each item is {"name": "report.pdf", "content": "<the file in base64>"}.'
                output:
                  type: string
                  enum:
                  - json
                  - binary
                  - url
                  description: 'How to return the zip: "json" (base64 in the JSON response), "binary" (the zip itself, ready for n8n/Make/Zapier) or "url" (a temporary download link, valid 15 minutes). Default: json when the request is JSON, binary when the input was sent raw.'
      responses:
        '200':
          description: The zip.
          content:
            application/json:
              schema:
                oneOf:
                - type: object
                  properties:
                    success:
                      type: boolean
                    zip:
                      type: string
                      contentEncoding: base64
                    mime_type:
                      type: string
                    meta:
                      type: object
                      properties:
                        files_zipped:
                          type: integer
                        size_bytes:
                          type: integer
                        used:
                          type: integer
                          description: Credits used this month, after this call.
                        remaining:
                          type:
                          - integer
                          - 'null'
                          description: Credits left this month (null = unlimited).
                        unlimited:
                          type: boolean
                - type: object
                  description: 'Returned when output=url: a temporary download link (valid 15 minutes).'
                  properties:
                    success:
                      type: boolean
                    url:
                      type: string
                      format: uri
                      description: Temporary download link. Expires in 15 minutes.
                    expires_at:
                      type: string
                      format: date-time
                    mime_type:
                      type: string
                    size_bytes:
                      type: integer
                    meta:
                      type: object
                      properties:
                        used:
                          type: integer
                          description: Credits used this month, after this call.
                        remaining:
                          type:
                          - integer
                          - 'null'
                          description: Credits left this month (null = unlimited).
                        unlimited:
                          type: boolean
            application/zip:
              schema:
                type: string
                format: binary
        '400':
          description: Invalid input (nothing is charged).
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '403':
          description: Email not verified.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
        '429':
          description: Monthly credit limit reached, or too many requests per minute for this key (see Retry-After).
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  plan:
                    type: string
                  limit:
                    type: integer
                  retry_after:
                    type: integer
        '503':
          description: Server busy (queue full). Retry after the seconds in the Retry-After header.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  retry_after:
                    type: integer
  /files/{token}:
    get:
      operationId: downloadTempFile
      tags:
      - Files
      summary: Download a temporary file (from output=url)
      description: Serves a file produced with output=url. Links are random, unguessable and expire 15 minutes after the call that created them. No API key needed (the link itself is the secret).
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The file.
          content:
            '*/*':
              schema:
                type: string
                format: binary
        '404':
          description: Unknown or expired link.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                - error
components:
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: Create keys in your dashboard.