PDFBetter Forms API

Read published forms and their responses.

GitHub OpenAPI

Operations 5

GET /v1/forms/ List forms #
GET /v1/forms/{id}/ Retrieve a form #
PATCH /v1/forms/{id}/ Update a form #
GET /v1/forms/{id}/responses/ List responses #
GET /v1/forms/{id}/responses/{responseId}/ Retrieve a response #

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/pdfbetter-com:pdfbetter-com-forms-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

pdfbetter-com-forms-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PDFBetter Forms API
  version: 1.0.0
  description: 'Create, fill, export and send PDFs for signature from your own systems. Requires the Business plan. Guides: https://pdfbetter.com/developers/


    Rate limits: 120 requests per 60 s per key, and 30 failed sign-ins per 60 s per IP address. Every response carries RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset and RateLimit-Policy; a 429 adds Retry-After.


    Errors: every non-2xx response is `{ "error": { "code", "message", "details"? } }` (schema `Error`) with a stable `code`.


    Versioning: The major version is part of every path (`/v1/`). Within v1, changes are additive only: new endpoints, new optional parameters, new response fields, new webhook event types and new `error.code` values, so ignore fields you don''t know. Breaking changes ship only under a new path version (`/v2/`). Before an endpoint or version is retired, its responses carry `Deprecation` and `Sunset` headers (RFC 9745 / RFC 8594) with a `Link` to the migration guide, and the change is announced on the changelog.'
  contact:
    name: PDFBetter
    url: https://pdfbetter.com/developers/
    email: support@pdfbetter.com
servers:
- url: https://api.pdfbetter.com
  description: Production
security:
- bearerAuth: []
tags:
- name: Forms
  description: Read published forms and their responses.
paths:
  /v1/forms/:
    get:
      operationId: listForms
      summary: List forms
      description: Your published forms (up to 200), most recently updated first.
      tags:
      - Forms
      x-required-scope: forms:read
      security:
      - bearerAuth: []
      parameters: []
      responses:
        '200':
          description: List forms
          headers:
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FormList'
              example:
                object: list
                data:
                - object: form
                  id: Fo7mR2tQ9wZp4LxN
                  documentId: Xq3T9vLmA2pR7sKd
                  title: Event registration
                  description: null
                  status: live
                  edition: 2
                  responseCount: 41
                  fieldCount: 9
                  url: https://pdfbetter.com/f/k3m9q2w7x5zp/
                  createdAt: '2026-10-15T09:30:00.000Z'
                  updatedAt: '2026-10-15T09:30:00.000Z'
                hasMore: false
                nextCursor: null
        '400':
          $ref: '#/components/responses/Error400'
        '401':
          $ref: '#/components/responses/Error401'
        '402':
          $ref: '#/components/responses/Error402'
        '403':
          $ref: '#/components/responses/Error403'
        '404':
          $ref: '#/components/responses/Error404'
        '409':
          $ref: '#/components/responses/Error409'
        '422':
          $ref: '#/components/responses/Error422'
        '429':
          $ref: '#/components/responses/Error429'
  /v1/forms/{id}/:
    get:
      operationId: getForm
      summary: Retrieve a form
      description: One published form.
      tags:
      - Forms
      x-required-scope: forms:read
      security:
      - bearerAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Retrieve a form
          headers:
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Form'
              example:
                object: form
                id: Fo7mR2tQ9wZp4LxN
                documentId: Xq3T9vLmA2pR7sKd
                title: Event registration
                description: null
                status: live
                edition: 2
                responseCount: 41
                fieldCount: 9
                url: https://pdfbetter.com/f/k3m9q2w7x5zp/
                createdAt: '2026-10-15T09:30:00.000Z'
                updatedAt: '2026-10-15T09:30:00.000Z'
        '400':
          $ref: '#/components/responses/Error400'
        '401':
          $ref: '#/components/responses/Error401'
        '402':
          $ref: '#/components/responses/Error402'
        '403':
          $ref: '#/components/responses/Error403'
        '404':
          $ref: '#/components/responses/Error404'
        '409':
          $ref: '#/components/responses/Error409'
        '422':
          $ref: '#/components/responses/Error422'
        '429':
          $ref: '#/components/responses/Error429'
    patch:
      operationId: updateForm
      summary: Update a form
      description: Pause, close or reopen it (`status`), or change its title/description. Reopening checks your plan's live-form allowance.
      tags:
      - Forms
      x-required-scope: forms:write
      security:
      - bearerAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Update a form
          headers:
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Form'
              example:
                object: form
                id: Fo7mR2tQ9wZp4LxN
                documentId: Xq3T9vLmA2pR7sKd
                title: Event registration
                description: null
                status: closed
                edition: 2
                responseCount: 41
                fieldCount: 9
                url: https://pdfbetter.com/f/k3m9q2w7x5zp/
                createdAt: '2026-10-15T09:30:00.000Z'
                updatedAt: '2026-10-15T09:30:00.000Z'
        '400':
          $ref: '#/components/responses/Error400'
        '401':
          $ref: '#/components/responses/Error401'
        '402':
          $ref: '#/components/responses/Error402'
        '403':
          $ref: '#/components/responses/Error403'
        '404':
          $ref: '#/components/responses/Error404'
        '409':
          $ref: '#/components/responses/Error409'
        '422':
          $ref: '#/components/responses/Error422'
        '429':
          $ref: '#/components/responses/Error429'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                status:
                  type: string
                  enum:
                  - live
                  - paused
                  - closed
                title:
                  type: string
                  minLength: 1
                  maxLength: 200
                description:
                  anyOf:
                  - type: string
                    maxLength: 2000
                  - type: 'null'
              additionalProperties: false
            example:
              status: closed
  /v1/forms/{id}/responses/:
    get:
      operationId: listFormResponses
      summary: List responses
      description: Newest first, with answers keyed by field name.
      tags:
      - Forms
      x-required-scope: forms:read
      security:
      - bearerAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: limit
        in: query
        required: false
        description: Items per page, 1–100 (default 25)
        schema:
          type: integer
      - name: cursor
        in: query
        required: false
        description: '`nextCursor` from the previous page'
        schema:
          type: string
      responses:
        '200':
          description: List responses
          headers:
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FormResponseList'
              example:
                object: list
                data:
                - object: form_response
                  id: Rs5tY8uI1oP3aS6d
                  formId: Fo7mR2tQ9wZp4LxN
                  edition: 2
                  respondentEmail: sam@example.com
                  values:
                    full_name: Sam Lee
                    attending: true
                    sessions: workshop
                  createdAt: '2026-10-15T09:30:00.000Z'
                  pdf: null
                hasMore: false
                nextCursor: null
        '400':
          $ref: '#/components/responses/Error400'
        '401':
          $ref: '#/components/responses/Error401'
        '402':
          $ref: '#/components/responses/Error402'
        '403':
          $ref: '#/components/responses/Error403'
        '404':
          $ref: '#/components/responses/Error404'
        '409':
          $ref: '#/components/responses/Error409'
        '422':
          $ref: '#/components/responses/Error422'
        '429':
          $ref: '#/components/responses/Error429'
  /v1/forms/{id}/responses/{responseId}/:
    get:
      operationId: getFormResponse
      summary: Retrieve a response
      description: Answers plus a link to the filled PDF (valid 5 minutes).
      tags:
      - Forms
      x-required-scope: forms:read
      security:
      - bearerAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: responseId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Retrieve a response
          headers:
            X-Request-Id:
              $ref: '#/components/headers/X-Request-Id'
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimit-Policy'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FormResponse'
              example:
                object: form_response
                id: Rs5tY8uI1oP3aS6d
                formId: Fo7mR2tQ9wZp4LxN
                edition: 2
                respondentEmail: sam@example.com
                values:
                  full_name: Sam Lee
                  attending: true
                  sessions: workshop
                createdAt: '2026-10-15T09:30:00.000Z'
                pdf:
                  object: file_link
                  url: https://files.pdfbetter.com/…signed-url…
                  fileName: Event registration 2026-10-15 Rs5tY8.pdf
                  expiresAt: '2026-10-15T09:35:00.000Z'
        '400':
          $ref: '#/components/responses/Error400'
        '401':
          $ref: '#/components/responses/Error401'
        '402':
          $ref: '#/components/responses/Error402'
        '403':
          $ref: '#/components/responses/Error403'
        '404':
          $ref: '#/components/responses/Error404'
        '409':
          $ref: '#/components/responses/Error409'
        '422':
          $ref: '#/components/responses/Error422'
        '429':
          $ref: '#/components/responses/Error429'
components:
  responses:
    Error409:
      description: Conflict with the current state
      headers:
        X-Request-Id:
          $ref: '#/components/headers/X-Request-Id'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
        RateLimit-Policy:
          $ref: '#/components/headers/RateLimit-Policy'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error422:
      description: Validation failed
      headers:
        X-Request-Id:
          $ref: '#/components/headers/X-Request-Id'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
        RateLimit-Policy:
          $ref: '#/components/headers/RateLimit-Policy'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error400:
      description: Invalid request (see `error.details.issues`)
      headers:
        X-Request-Id:
          $ref: '#/components/headers/X-Request-Id'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
        RateLimit-Policy:
          $ref: '#/components/headers/RateLimit-Policy'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error403:
      description: The API key lacks the required scope
      headers:
        X-Request-Id:
          $ref: '#/components/headers/X-Request-Id'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
        RateLimit-Policy:
          $ref: '#/components/headers/RateLimit-Policy'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error401:
      description: Missing or invalid API key
      headers:
        X-Request-Id:
          $ref: '#/components/headers/X-Request-Id'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
        RateLimit-Policy:
          $ref: '#/components/headers/RateLimit-Policy'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error404:
      description: Not found (or not yours)
      headers:
        X-Request-Id:
          $ref: '#/components/headers/X-Request-Id'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
        RateLimit-Policy:
          $ref: '#/components/headers/RateLimit-Policy'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error429:
      description: Rate limited — see RateLimit-* and Retry-After
      headers:
        X-Request-Id:
          $ref: '#/components/headers/X-Request-Id'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
        RateLimit-Policy:
          $ref: '#/components/headers/RateLimit-Policy'
        Retry-After:
          $ref: '#/components/headers/Retry-After'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error402:
      description: Your plan doesn't include this (API access needs Business) or a monthly allowance is used up
      headers:
        X-Request-Id:
          $ref: '#/components/headers/X-Request-Id'
        RateLimit-Limit:
          $ref: '#/components/headers/RateLimit-Limit'
        RateLimit-Remaining:
          $ref: '#/components/headers/RateLimit-Remaining'
        RateLimit-Reset:
          $ref: '#/components/headers/RateLimit-Reset'
        RateLimit-Policy:
          $ref: '#/components/headers/RateLimit-Policy'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    FormList:
      type: object
      properties:
        object:
          type: string
          const: list
        data:
          type: array
          items:
            type: object
            properties:
              object:
                type: string
                const: form
              id:
                type: string
              documentId:
                type: string
              title:
                type: string
              description:
                type:
                - string
                - 'null'
              status:
                type: string
                enum:
                - live
                - paused
                - closed
              edition:
                type: integer
                minimum: -9007199254740991
                maximum: 9007199254740991
              responseCount:
                type: integer
                minimum: -9007199254740991
                maximum: 9007199254740991
              fieldCount:
                type: integer
                minimum: -9007199254740991
                maximum: 9007199254740991
              url:
                type: string
              createdAt:
                type: string
                description: ISO 8601 timestamp (UTC)
              updatedAt:
                type: string
                description: ISO 8601 timestamp (UTC)
            required:
            - object
            - id
            - documentId
            - title
            - description
            - status
            - edition
            - responseCount
            - fieldCount
            - url
            - createdAt
            - updatedAt
            additionalProperties: false
        hasMore:
          type: boolean
        nextCursor:
          type:
          - string
          - 'null'
      required:
      - object
      - data
      - hasMore
      - nextCursor
      additionalProperties: false
    Form:
      type: object
      properties:
        object:
          type: string
          const: form
        id:
          type: string
        documentId:
          type: string
        title:
          type: string
        description:
          type:
          - string
          - 'null'
        status:
          type: string
          enum:
          - live
          - paused
          - closed
        edition:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
        responseCount:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
        fieldCount:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
        url:
          type: string
        createdAt:
          type: string
          description: ISO 8601 timestamp (UTC)
        updatedAt:
          type: string
          description: ISO 8601 timestamp (UTC)
      required:
      - object
      - id
      - documentId
      - title
      - description
      - status
      - edition
      - responseCount
      - fieldCount
      - url
      - createdAt
      - updatedAt
      additionalProperties: false
    FormResponse:
      type: object
      properties:
        object:
          type: string
          const: form_response
        id:
          type: string
        formId:
          type: string
        edition:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
        respondentEmail:
          type:
          - string
          - 'null'
        values:
          type: object
          propertyNames:
            type: string
          additionalProperties:
            type:
            - string
            - number
            - boolean
            - 'null'
          description: Answers keyed by field name (radio groups by group name). Images and drawn signatures are data URLs.
        createdAt:
          type: string
          description: ISO 8601 timestamp (UTC)
        pdf:
          anyOf:
          - type: object
            properties:
              object:
                type: string
                const: file_link
              url:
                type: string
              fileName:
                type: string
              expiresAt:
                type: string
                description: ISO 8601 timestamp (UTC)
            required:
            - object
            - url
            - fileName
            - expiresAt
            additionalProperties: false
          - type: 'null'
          description: Filled PDF (single-response endpoint only; link valid 5 minutes)
      required:
      - object
      - id
      - formId
      - edition
      - respondentEmail
      - values
      - createdAt
      - pdf
      additionalProperties: false
    FormResponseList:
      type: object
      properties:
        object:
          type: string
          const: list
        data:
          type: array
          items:
            type: object
            properties:
              object:
                type: string
                const: form_response
              id:
                type: string
              formId:
                type: string
              edition:
                type: integer
                minimum: -9007199254740991
                maximum: 9007199254740991
              respondentEmail:
                type:
                - string
                - 'null'
              values:
                type: object
                propertyNames:
                  type: string
                additionalProperties:
                  type:
                  - string
                  - number
                  - boolean
                  - 'null'
                description: Answers keyed by field name (radio groups by group name). Images and drawn signatures are data URLs.
              createdAt:
                type: string
                description: ISO 8601 timestamp (UTC)
              pdf:
                anyOf:
                - type: object
                  properties:
                    object:
                      type: string
                      const: file_link
                    url:
                      type: string
                    fileName:
                      type: string
                    expiresAt:
                      type: string
                      description: ISO 8601 timestamp (UTC)
                  required:
                  - object
                  - url
                  - fileName
                  - expiresAt
                  additionalProperties: false
                - type: 'null'
                description: Filled PDF (single-response endpoint only; link valid 5 minutes)
            required:
            - object
            - id
            - formId
            - edition
            - respondentEmail
            - values
            - createdAt
            - pdf
            additionalProperties: false
        hasMore:
          type: boolean
        nextCursor:
          type:
          - string
          - 'null'
      required:
      - object
      - data
      - hasMore
      - nextCursor
      additionalProperties: false
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: Stable machine-readable code. Branch on it; show `message` to people. New codes may be added, so fall back to the HTTP status for codes you don't know.
              examples:
              - invalid_request
              - invalid_json
              - invalid_api_key
              - authentication_required
              - plan_required
              - quota_exceeded
              - insufficient_scope
              - forbidden
              - browser_requests_not_supported
              - not_found
              - method_not_allowed
              - conflict
              - unapplied_redactions
              - invalid_idempotency_key
              - idempotency_conflict
              - idempotency_key_reused
              - payload_too_large
              - unsupported_media_type
              - unprocessable_entity
              - rate_limited
              - internal_error
            message:
              type: string
            details:
              type: object
              propertyNames:
                type: string
              additionalProperties: {}
          required:
          - code
          - message
          additionalProperties: false
      required:
      - error
      additionalProperties: false
  headers:
    X-Request-Id:
      description: Quote it when contacting support
      schema:
        type: string
    RateLimit-Reset:
      description: Seconds until the window resets
      schema:
        type: integer
    RateLimit-Policy:
      description: Quota and window, e.g. `120;w=60`
      schema:
        type: string
    Retry-After:
      description: Seconds to wait before retrying (429 only)
      schema:
        type: integer
    RateLimit-Remaining:
      description: Requests left in the current window
      schema:
        type: integer
    RateLimit-Limit:
      description: Requests allowed in the current window
      schema:
        type: integer
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: pb_live_…
      description: Create keys in Settings → API keys.
externalDocs:
  url: https://pdfbetter.com/developers/
x-api-versioning:
  strategy: url-path
  current: v1
  supported:
  - v1
  policy: 'The major version is part of every path (`/v1/`). Within v1, changes are additive only: new endpoints, new optional parameters, new response fields, new webhook event types and new `error.code` values, so ignore fields you don''t know. Breaking changes ship only under a new path version (`/v2/`). Before an endpoint or version is retired, its responses carry `Deprecation` and `Sunset` headers (RFC 9745 / RFC 8594) with a `Link` to the migration guide, and the change is announced on the changelog.'