openapi: 3.0.4
info:
  title: BootForm API
  description: Combined REST surface across BootForm's Submission API (public form intake) and Dashboard API (forms/submissions/destinations/account management) - api-spec.md documents both as one logical API.
  version: v1
servers:
  - url: https://api.bootform.com
    description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
paths:
  '/{formIdOrSlug}':
    post:
      tags:
        - Submissions
      summary: 'Submit a form (public, no API key)'
      description: 'Public form intake on https://f.bootform.com, called directly from a browser form or fetch(). No API key; CORS allows any origin (the form''s allowed origins, if set, are what restrict who may submit). Accepts application/x-www-form-urlencoded, application/json or multipart/form-data. File parts need a claimed form on the Starter plan or higher; each file is stored under its field name. A browser form post is redirected (a refused one is shown a short error page with the same status code); a fetch() or _format=json call gets JSON: {"ok": true}, {"ok": true, "status": "pending_claim", "claim_url"} for an unclaimed form, or an error such as 422 validation errors, 403 ORIGIN_NOT_ALLOWED or 429 QUOTA_EXCEEDED/RATE_LIMITED. To make a retry safe, send an Idempotency-Key header (or an _idempotency_key field): 1 to 128 characters of A-Z a-z 0-9 . _ : -, scoped per form and remembered 7 days; a repeat is answered {"ok": true, "duplicate": true} and not stored, counted or delivered again, and an invalid key is 422 INVALID_IDEMPOTENCY_KEY. Limits: 5 submissions per minute per IP per form and 30 per minute per IP across all forms; per form per hour, 500 on Free, 1,000 on Starter, 3,000 on Pro and 10,000 on Business, counting only submissions that passed the spam checks; for a form nobody has claimed yet, 30 per minute per IP and 60 new form IDs per hour per IP. A submission can have at most 100 distinct field names, 20 files and 256 KB of field text (64 KB before the form is claimed), and a JSON or urlencoded body at most 1 MB; more is 413 PAYLOAD_TOO_LARGE.'
      parameters:
        - name: formIdOrSlug
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
    servers:
      - url: https://f.bootform.com
        description: 'Submission API: public form intake and the public content feed. No API key.'
  '/forms/{formIdOrSlug}/feed':
    get:
      tags:
        - Feed
      summary: 'List a form''s public content feed (public, no API key)'
      description: 'The approved submissions of a form with the moderated content feed turned on (Pro plan or higher), newest first. No API key; CORS allows any origin, so a static site can call it with fetch(). Each item has only the form''s public fields, any uploaded files whose field is public (with a stable url), reaction counts, and the form''s item status (for example "taken") when the form has one. Submissions that are pending, rejected, spam, archived, auto-hidden by reports, or past the form''s hide-after delay for a set status never appear. status=open lists only items whose status isn''t set, status=set only those whose is. per_page defaults to 50, maximum 200. Responses are cacheable for 30 seconds, so a moderation change can take up to 30 seconds to show. Limit: 60 requests per minute per IP per form. 403 PLAN_LIMIT below Pro; an empty list when moderation is off.'
      parameters:
        - name: formIdOrSlug
          in: path
          required: true
          schema:
            type: string
        - name: page
          in: query
          schema:
            type: integer
            format: int32
            default: 1
        - name: per_page
          in: query
          description: 'Items per page, maximum 200; a larger value is treated as 200.'
          schema:
            type: integer
            format: int32
            default: 50
        - name: status
          in: query
          description: 'Item status filter: all (default), open (status not set) or set.'
          schema:
            type: string
            default: all
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PublicFeedListResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/PublicFeedListResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/PublicFeedListResponse'
        '403':
          description: Forbidden
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not Found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Too Many Requests
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    servers:
      - url: https://f.bootform.com
        description: 'Submission API: public form intake and the public content feed. No API key.'
  '/forms/{formIdOrSlug}/feed/{submissionId}/files/{index}':
    get:
      tags:
        - Feed
      summary: 'Open a public file from the content feed (public, no API key)'
      description: 'The url a feed item''s files[] entry points to; use it directly as an <img src> or link. Redirects (302) to a read-only storage link valid for 15 minutes, and checks on every request that the submission is still in the feed and the file''s field is still public, so rejecting, archiving or reporting a submission past the threshold takes its files down too (the redirect is cacheable for 60 seconds). 404 NOT_FOUND for anything not currently public. Limit: 600 requests per minute per IP per form.'
      parameters:
        - name: formIdOrSlug
          in: path
          required: true
          schema:
            type: string
        - name: submissionId
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: index
          in: path
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '302':
          description: Found
        '404':
          description: Not Found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Too Many Requests
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    servers:
      - url: https://f.bootform.com
        description: 'Submission API: public form intake and the public content feed. No API key.'
  '/forms/{formIdOrSlug}/feed/{submissionId}/react':
    post:
      tags:
        - Feed
      summary: 'React to a feed item (public, no API key)'
      description: 'Body {"type": "up"} or {"type": "down"}. One reaction per IP address per submission: sending the other type switches it, sending the same type again changes nothing. Each IP gets one react request per submission per minute (429 RATE_LIMITED). Visitors are identified by IP address only, with no cookie or account, so people sharing one IP share one reaction. Returns the new counts.'
      parameters:
        - name: formIdOrSlug
          in: path
          required: true
          schema:
            type: string
        - name: submissionId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReactRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/ReactRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/ReactRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ReactionCountsResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ReactionCountsResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ReactionCountsResponse'
        '429':
          description: Too Many Requests
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    servers:
      - url: https://f.bootform.com
        description: 'Submission API: public form intake and the public content feed. No API key.'
  '/forms/{formIdOrSlug}/feed/{submissionId}/status':
    post:
      tags:
        - Feed
      summary: 'Mark a feed item with the form''s status (public, no API key)'
      description: 'No body. Marks the item with the form''s item status, for example "taken", set by the owner in the form''s content feed settings. One mark per IP address per submission, ever (429 RATE_LIMITED on a repeat). The item counts as set once the form''s threshold of distinct visitors is reached (1 by default) or the owner sets it; the feed then shows it with status.set true, or hides it after the form''s delay if one is configured. 422 STATUS_NOT_ENABLED when the form has no item status. Returns the item''s status after the mark.'
      parameters:
        - name: formIdOrSlug
          in: path
          required: true
          schema:
            type: string
        - name: submissionId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ItemStatusMarkResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ItemStatusMarkResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ItemStatusMarkResponse'
        '404':
          description: Not Found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Unprocessable Entity
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Too Many Requests
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    servers:
      - url: https://f.bootform.com
        description: 'Submission API: public form intake and the public content feed. No API key.'
  '/forms/{formIdOrSlug}/feed/{submissionId}/report':
    post:
      tags:
        - Feed
      summary: 'Report a feed item (public, no API key)'
      description: 'No body. One report per IP address per submission, ever (429 RATE_LIMITED on a repeat). Once a submission''s reports reach the form''s report threshold it is hidden from the feed, along with its files, until the owner reviews it.'
      parameters:
        - name: formIdOrSlug
          in: path
          required: true
          schema:
            type: string
        - name: submissionId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ReportResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ReportResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ReportResponse'
        '429':
          description: Too Many Requests
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
    servers:
      - url: https://f.bootform.com
        description: 'Submission API: public form intake and the public content feed. No API key.'
  /workspaces:
    get:
      tags:
        - Workspaces
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/WorkspaceListResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceListResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/WorkspaceListResponse'
      security:
        - Bearer: [ ]
    post:
      tags:
        - Workspaces
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateWorkspaceRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/CreateWorkspaceRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/CreateWorkspaceRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/WorkspaceDetailResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceDetailResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/WorkspaceDetailResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /workspaces/nav:
    get:
      tags:
        - Workspaces
      parameters:
        - name: page
          in: query
          schema:
            type: integer
            format: int32
            default: 1
        - name: per_page
          in: query
          description: 'Items per page, maximum 100; a larger value is treated as 100.'
          schema:
            type: integer
            format: int32
            default: 50
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/WorkspaceNavListResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceNavListResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/WorkspaceNavListResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/workspaces/{workspaceId}':
    patch:
      tags:
        - Workspaces
      parameters:
        - name: workspaceId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateWorkspaceRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/UpdateWorkspaceRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UpdateWorkspaceRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/WorkspaceDetailResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspaceDetailResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/WorkspaceDetailResponse'
      security:
        - Bearer: [ ]
    delete:
      tags:
        - Workspaces
      parameters:
        - name: workspaceId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DeleteWorkspaceResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteWorkspaceResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/DeleteWorkspaceResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/workspaces/{workspaceId}/retention-preview':
    get:
      tags:
        - Workspaces
      parameters:
        - name: workspaceId
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: retention_days
          in: query
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/RetentionPreviewResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/RetentionPreviewResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/RetentionPreviewResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /account/verified-emails:
    get:
      tags:
        - VerifiedEmails
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/VerifiedEmailListResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/VerifiedEmailListResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/VerifiedEmailListResponse'
      security:
        - Bearer: [ ]
    post:
      tags:
        - VerifiedEmails
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateVerifiedEmailRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/CreateVerifiedEmailRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/CreateVerifiedEmailRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/VerifiedEmailDetailResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/VerifiedEmailDetailResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/VerifiedEmailDetailResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/account/verified-emails/{id}/resend':
    post:
      tags:
        - VerifiedEmails
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/VerifiedEmailDetailResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/VerifiedEmailDetailResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/VerifiedEmailDetailResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/account/verified-emails/{id}':
    delete:
      tags:
        - VerifiedEmails
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DeleteVerifiedEmailResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteVerifiedEmailResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/DeleteVerifiedEmailResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/account/verified-emails/verify/{token}':
    get:
      tags:
        - VerifiedEmails
      parameters:
        - name: token
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/VerifyEmailResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/VerifyEmailResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/VerifyEmailResponse'
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /account/team:
    get:
      tags:
        - Team
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/TeamMembersListResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/TeamMembersListResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/TeamMembersListResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /account/team/invites:
    post:
      tags:
        - Team
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InviteTeamMemberRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/InviteTeamMemberRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/InviteTeamMemberRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/TeamMemberDetailResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/TeamMemberDetailResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/TeamMemberDetailResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/account/team/members/{teamMemberId}':
    delete:
      tags:
        - Team
      parameters:
        - name: teamMemberId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/RemoveTeamMemberResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/RemoveTeamMemberResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/RemoveTeamMemberResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/forms/{formId}/submissions':
    get:
      tags:
        - Submissions
      parameters:
        - name: formId
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: page
          in: query
          schema:
            type: integer
            format: int32
            default: 1
        - name: per_page
          in: query
          description: 'Items per page, maximum 200; a larger value is treated as 200.'
          schema:
            type: integer
            format: int32
            default: 50
        - name: q
          in: query
          schema:
            type: string
            default: 
        - name: spam
          in: query
          schema:
            type: boolean
            default: false
        - name: archived
          in: query
          schema:
            type: boolean
            default: false
        - name: starred
          in: query
          schema:
            type: boolean
            default: 
        - name: since
          in: query
          schema:
            type: string
            format: date-time
            default: 
        - name: until
          in: query
          schema:
            type: string
            format: date-time
            default: 
        - name: moderation_status
          in: query
          schema:
            type: string
            default: 
        - name: read
          in: query
          schema:
            type: boolean
            default: 
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/SubmissionListResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/SubmissionListResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/SubmissionListResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/forms/{formId}/submissions/export':
    get:
      tags:
        - Submissions
      parameters:
        - name: formId
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: format
          in: query
          schema:
            type: string
            default: csv
        - name: q
          in: query
          schema:
            type: string
            default: 
        - name: spam
          in: query
          schema:
            type: boolean
            default: false
        - name: archived
          in: query
          schema:
            type: boolean
            default: false
        - name: starred
          in: query
          schema:
            type: boolean
            default: 
        - name: since
          in: query
          schema:
            type: string
            format: date-time
            default: 
        - name: until
          in: query
          schema:
            type: string
            format: date-time
            default: 
        - name: submission_ids
          in: query
          schema:
            type: array
            items:
              type: string
              format: uuid
            default: 
      responses:
        '200':
          description: OK
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/forms/{formId}/submissions/stats':
    get:
      tags:
        - Submissions
      parameters:
        - name: formId
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: since
          in: query
          schema:
            type: string
            format: date-time
            default: 
        - name: until
          in: query
          schema:
            type: string
            format: date-time
            default: 
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/SubmissionStatsResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/SubmissionStatsResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/SubmissionStatsResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/forms/{formId}/submissions/{submissionId}':
    get:
      tags:
        - Submissions
      parameters:
        - name: formId
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: submissionId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/SubmissionDetailResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/SubmissionDetailResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/SubmissionDetailResponse'
      security:
        - Bearer: [ ]
    patch:
      tags:
        - Submissions
      parameters:
        - name: formId
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: submissionId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateSubmissionRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/UpdateSubmissionRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UpdateSubmissionRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/SubmissionDetailResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/SubmissionDetailResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/SubmissionDetailResponse'
      security:
        - Bearer: [ ]
    delete:
      tags:
        - Submissions
      parameters:
        - name: formId
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: submissionId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DeleteSubmissionResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteSubmissionResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/DeleteSubmissionResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/forms/{formId}/submissions/bulk-delete':
    post:
      tags:
        - Submissions
      parameters:
        - name: formId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BulkDeleteSubmissionsRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/BulkDeleteSubmissionsRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/BulkDeleteSubmissionsRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/BulkDeleteSubmissionsResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/BulkDeleteSubmissionsResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/BulkDeleteSubmissionsResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/forms/{formId}/destinations':
    get:
      tags:
        - NotificationDestinations
      parameters:
        - name: formId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/NotificationDestinationListResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationDestinationListResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/NotificationDestinationListResponse'
      security:
        - Bearer: [ ]
    post:
      tags:
        - NotificationDestinations
      parameters:
        - name: formId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateNotificationDestinationRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/CreateNotificationDestinationRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/CreateNotificationDestinationRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/NotificationDestinationDetailResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationDestinationDetailResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/NotificationDestinationDetailResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/forms/{formId}/destinations/{destinationId}':
    patch:
      tags:
        - NotificationDestinations
      parameters:
        - name: formId
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: destinationId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateNotificationDestinationRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/UpdateNotificationDestinationRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UpdateNotificationDestinationRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/NotificationDestinationDetailResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationDestinationDetailResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/NotificationDestinationDetailResponse'
      security:
        - Bearer: [ ]
    delete:
      tags:
        - NotificationDestinations
      parameters:
        - name: formId
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: destinationId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DeleteNotificationDestinationResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteNotificationDestinationResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/DeleteNotificationDestinationResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/forms/{formId}/destinations/{destinationId}/rotate-secret':
    post:
      tags:
        - NotificationDestinations
      parameters:
        - name: formId
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: destinationId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/RotateWebhookSecretResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/RotateWebhookSecretResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/RotateWebhookSecretResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/forms/{formId}/destinations/{destinationId}/test':
    post:
      tags:
        - NotificationDestinations
      parameters:
        - name: formId
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: destinationId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DestinationTestResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/DestinationTestResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/DestinationTestResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/forms/{formId}/destinations/{destinationId}/delivery-log':
    get:
      tags:
        - NotificationDestinations
      parameters:
        - name: formId
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: destinationId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DeliveryLogListResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/DeliveryLogListResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/DeliveryLogListResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /account/mfa/enroll:
    post:
      tags:
        - Mfa
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/MfaEnrollResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/MfaEnrollResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/MfaEnrollResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /account/mfa/enroll/confirm:
    post:
      tags:
        - Mfa
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MfaEnrollConfirmRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/MfaEnrollConfirmRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/MfaEnrollConfirmRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/MfaRecoveryCodesResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/MfaRecoveryCodesResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/MfaRecoveryCodesResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /account/mfa/disable:
    post:
      tags:
        - Mfa
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MfaPasswordConfirmRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/MfaPasswordConfirmRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/MfaPasswordConfirmRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/OkResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/OkResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/OkResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /account/mfa/recovery-codes/regenerate:
    post:
      tags:
        - Mfa
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MfaPasswordConfirmRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/MfaPasswordConfirmRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/MfaPasswordConfirmRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/MfaRecoveryCodesResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/MfaRecoveryCodesResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/MfaRecoveryCodesResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /account/connected-apps:
    get:
      tags:
        - ConnectedApps
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ConnectedAppsResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectedAppsResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ConnectedAppsResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/account/connected-apps/{grantId}':
    delete:
      tags:
        - ConnectedApps
      parameters:
        - name: grantId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/OkResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/OkResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/OkResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/oauth/requests/{requestId}':
    get:
      tags:
        - McpOAuthConsent
      parameters:
        - name: requestId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/McpConsentRequestResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/McpConsentRequestResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/McpConsentRequestResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/oauth/requests/{requestId}/approve':
    post:
      tags:
        - McpOAuthConsent
      parameters:
        - name: requestId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/McpConsentApproveRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/McpConsentApproveRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/McpConsentApproveRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/McpConsentRedirectResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/McpConsentRedirectResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/McpConsentRedirectResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/oauth/requests/{requestId}/deny':
    post:
      tags:
        - McpOAuthConsent
      parameters:
        - name: requestId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/McpConsentRedirectResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/McpConsentRedirectResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/McpConsentRedirectResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /forms:
    get:
      tags:
        - Forms
      parameters:
        - name: page
          in: query
          schema:
            type: integer
            format: int32
            default: 1
        - name: per_page
          in: query
          description: 'Items per page, maximum 200; a larger value is treated as 200.'
          schema:
            type: integer
            format: int32
            default: 50
        - name: workspace_id
          in: query
          schema:
            type: string
            format: uuid
            default: 
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/FormListResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/FormListResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/FormListResponse'
      security:
        - Bearer: [ ]
    post:
      tags:
        - Forms
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateFormRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/CreateFormRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/CreateFormRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/FormDetailResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/FormDetailResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/FormDetailResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/forms/{formId}':
    get:
      tags:
        - Forms
      parameters:
        - name: formId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/FormDetailResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/FormDetailResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/FormDetailResponse'
      security:
        - Bearer: [ ]
    patch:
      tags:
        - Forms
      parameters:
        - name: formId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateFormRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/UpdateFormRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UpdateFormRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/FormDetailResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/FormDetailResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/FormDetailResponse'
      security:
        - Bearer: [ ]
    delete:
      tags:
        - Forms
      parameters:
        - name: formId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '202':
          description: Accepted
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DeleteFormResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteFormResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/DeleteFormResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/forms/{formId}/retention-preview':
    get:
      tags:
        - Forms
      parameters:
        - name: formId
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: retention_days
          in: query
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/RetentionPreviewResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/RetentionPreviewResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/RetentionPreviewResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/forms/{formId}/captcha':
    put:
      tags:
        - Forms
      parameters:
        - name: formId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetCaptchaRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/SetCaptchaRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/SetCaptchaRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/FormDetailResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/FormDetailResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/FormDetailResponse'
      security:
        - Bearer: [ ]
    delete:
      tags:
        - Forms
      parameters:
        - name: formId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/FormDetailResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/FormDetailResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/FormDetailResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/forms/{formId}/rules':
    get:
      tags:
        - FormRules
      parameters:
        - name: formId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/FormRuleListResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/FormRuleListResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/FormRuleListResponse'
      security:
        - Bearer: [ ]
    post:
      tags:
        - FormRules
      parameters:
        - name: formId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateFormRuleRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/CreateFormRuleRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/CreateFormRuleRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/FormRuleDetailResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/FormRuleDetailResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/FormRuleDetailResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/forms/{formId}/rules/{ruleId}':
    patch:
      tags:
        - FormRules
      parameters:
        - name: formId
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: ruleId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateFormRuleRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/UpdateFormRuleRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UpdateFormRuleRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/FormRuleDetailResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/FormRuleDetailResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/FormRuleDetailResponse'
      security:
        - Bearer: [ ]
    delete:
      tags:
        - FormRules
      parameters:
        - name: formId
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: ruleId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DeleteFormRuleResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteFormRuleResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/DeleteFormRuleResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /email-preferences/unsubscribe:
    post:
      tags:
        - EmailPreferences
      parameters:
        - name: a
          in: query
          schema:
            type: string
        - name: t
          in: query
          schema:
            type: string
      responses:
        '200':
          description: OK
        '429':
          description: Too Many Requests
    get:
      tags:
        - EmailPreferences
      parameters:
        - name: a
          in: query
          schema:
            type: string
        - name: t
          in: query
          schema:
            type: string
      responses:
        '302':
          description: Found
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/claim/{formId}/preview':
    get:
      tags:
        - Claim
      parameters:
        - name: formId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ClaimPreviewResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ClaimPreviewResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ClaimPreviewResponse'
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/claim/{formId}':
    post:
      tags:
        - Claim
      parameters:
        - name: formId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ClaimFormResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ClaimFormResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ClaimFormResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /account/billing/checkout:
    post:
      tags:
        - Billing
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateCheckoutRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/CreateCheckoutRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/CreateCheckoutRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/CreateCheckoutResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/CreateCheckoutResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/CreateCheckoutResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /account/billing/change-plan:
    post:
      tags:
        - Billing
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChangePlanRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/ChangePlanRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/ChangePlanRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ChangePlanResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ChangePlanResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ChangePlanResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /account/billing/cancel:
    post:
      tags:
        - Billing
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/CancelSubscriptionResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/CancelSubscriptionResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/CancelSubscriptionResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /account/billing/overage:
    put:
      tags:
        - Billing
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetOverageRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/SetOverageRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/SetOverageRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/OverageSettingsResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/OverageSettingsResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/OverageSettingsResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /account/billing/plans:
    get:
      tags:
        - Billing
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PlanCatalogResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/PlanCatalogResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/PlanCatalogResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /webhooks/paddle:
    post:
      tags:
        - PaddleWebhook
      responses:
        '200':
          description: OK
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /auth/register:
    post:
      tags:
        - Auth
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RegisterRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/RegisterRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/RegisterRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/AuthResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/AuthResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/AuthResponse'
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /auth/login:
    post:
      tags:
        - Auth
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoginRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/LoginRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/LoginRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/AuthResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/AuthResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/AuthResponse'
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /auth/mfa/verify:
    post:
      tags:
        - Auth
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MfaVerifyRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/MfaVerifyRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/MfaVerifyRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/AuthResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/AuthResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/AuthResponse'
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /auth/refresh:
    post:
      tags:
        - Auth
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RefreshRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/RefreshRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/RefreshRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/AuthResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/AuthResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/AuthResponse'
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /auth/logout:
    post:
      tags:
        - Auth
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RefreshRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/RefreshRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/RefreshRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/OkResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/OkResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/OkResponse'
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /auth/magic-link:
    post:
      tags:
        - Auth
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MagicLinkRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/MagicLinkRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/MagicLinkRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/OkResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/OkResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/OkResponse'
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/auth/magic-link/{token}':
    get:
      tags:
        - Auth
      parameters:
        - name: token
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/AuthResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/AuthResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/AuthResponse'
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /auth/password-reset:
    post:
      tags:
        - Auth
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PasswordResetRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/PasswordResetRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/PasswordResetRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/OkResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/OkResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/OkResponse'
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/auth/password-reset/{token}':
    post:
      tags:
        - Auth
      parameters:
        - name: token
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConfirmPasswordResetRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/ConfirmPasswordResetRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/ConfirmPasswordResetRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ConfirmPasswordResetResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ConfirmPasswordResetResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ConfirmPasswordResetResponse'
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/auth/oauth/{provider}':
    get:
      tags:
        - Auth
      parameters:
        - name: provider
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/auth/oauth/{provider}/callback':
    get:
      tags:
        - Auth
      parameters:
        - name: provider
          in: path
          required: true
          schema:
            type: string
        - name: code
          in: query
          schema:
            type: string
        - name: state
          in: query
          schema:
            type: string
      responses:
        '200':
          description: OK
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/auth/oauth/exchange/{code}':
    get:
      tags:
        - Auth
      parameters:
        - name: code
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/AuthResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/AuthResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/AuthResponse'
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/auth/team-invites/{token}':
    get:
      tags:
        - Auth
      parameters:
        - name: token
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/AuthResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/AuthResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/AuthResponse'
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/auth/team-invites/{token}/preview':
    get:
      tags:
        - Auth
      parameters:
        - name: token
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/TeamInvitePreviewResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/TeamInvitePreviewResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/TeamInvitePreviewResponse'
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /auth/accounts:
    get:
      tags:
        - Auth
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/SwitchableAccountsResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/SwitchableAccountsResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/SwitchableAccountsResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /auth/switch-account:
    post:
      tags:
        - Auth
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SwitchAccountRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/SwitchAccountRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/SwitchAccountRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/AuthResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/AuthResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/AuthResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/auth/reactivate/{token}':
    post:
      tags:
        - Auth
      parameters:
        - name: token
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/AuthResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/AuthResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/AuthResponse'
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /activity:
    get:
      tags:
        - Activity
      parameters:
        - name: category
          in: query
          schema:
            type: string
            default: 
        - name: actor_type
          in: query
          schema:
            type: string
            default: 
        - name: from
          in: query
          schema:
            type: string
            format: date-time
            default: 
        - name: to
          in: query
          schema:
            type: string
            format: date-time
            default: 
        - name: page
          in: query
          schema:
            type: integer
            format: int32
            default: 1
        - name: per_page
          in: query
          description: 'Items per page, maximum 100; a larger value is treated as 100.'
          schema:
            type: integer
            format: int32
            default: 25
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ActivityListResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ActivityListResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ActivityListResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/account/team-memberships/{teamMemberId}':
    delete:
      tags:
        - TeamMemberships
      parameters:
        - name: teamMemberId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /account/stats:
    get:
      tags:
        - AccountStats
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/AccountStatsResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/AccountStatsResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/AccountStatsResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /account:
    get:
      tags:
        - Account
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/AccountResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/AccountResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/AccountResponse'
      security:
        - Bearer: [ ]
    patch:
      tags:
        - Account
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAccountRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/UpdateAccountRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UpdateAccountRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/AccountResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/AccountResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/AccountResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /account/password:
    post:
      tags:
        - Account
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChangePasswordRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/ChangePasswordRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/ChangePasswordRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ChangePasswordResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ChangePasswordResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ChangePasswordResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /account/set-password:
    post:
      tags:
        - Account
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetPasswordRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/SetPasswordRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/SetPasswordRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/SetPasswordResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/SetPasswordResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/SetPasswordResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /account/email:
    patch:
      tags:
        - Account
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RequestEmailChangeRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/RequestEmailChangeRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/RequestEmailChangeRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/RequestEmailChangeResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/RequestEmailChangeResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/RequestEmailChangeResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/account/email/confirm/{token}':
    get:
      tags:
        - Account
      parameters:
        - name: token
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ConfirmEmailChangeResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ConfirmEmailChangeResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ConfirmEmailChangeResponse'
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /account/delete:
    post:
      tags:
        - Account
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DeleteAccountResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteAccountResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/DeleteAccountResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /account/oauth-providers:
    get:
      tags:
        - OAuthProviders
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/OAuthIdentityListResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/OAuthIdentityListResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/OAuthIdentityListResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/account/oauth-providers/{provider}/connect':
    get:
      tags:
        - OAuthProviders
      parameters:
        - name: provider
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/StartOAuthConnectResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/StartOAuthConnectResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/StartOAuthConnectResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/account/oauth-providers/{provider}':
    delete:
      tags:
        - OAuthProviders
      parameters:
        - name: provider
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/UnlinkOAuthProviderResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/UnlinkOAuthProviderResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/UnlinkOAuthProviderResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  /account/api-keys:
    get:
      tags:
        - ApiKeys
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ApiKeyListResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKeyListResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ApiKeyListResponse'
      security:
        - Bearer: [ ]
    post:
      tags:
        - ApiKeys
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateApiKeyRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/CreateApiKeyRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/CreateApiKeyRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ApiKeyCreatedResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKeyCreatedResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ApiKeyCreatedResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
  '/account/api-keys/{keyId}':
    delete:
      tags:
        - ApiKeys
      parameters:
        - name: keyId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/RevokeApiKeyResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/RevokeApiKeyResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/RevokeApiKeyResponse'
      security:
        - Bearer: [ ]
    servers:
      - url: https://api.bootform.com
        description: 'Dashboard API: the authenticated REST API (forms, submissions, destinations, account).'
components:
  schemas:
    ErrorResponse:
      required:
        - error
        - code
      type: object
      properties:
        ok:
          type: boolean
        error:
          type: string
        code:
          type: string
        source:
          type: string
          default: 
          nullable: true
    ItemStatusMarkResponse:
      type: object
      properties:
        ok:
          type: boolean
        status:
          $ref: '#/components/schemas/PublicFeedItemStatus2'
    PublicFeedFileResponse:
      type: object
      properties:
        field:
          type: string
          description: 'The form field the file was uploaded under, e.g. photo.'
        name:
          type: string
          description: 'The original file name, e.g. couch.jpg.'
        mime:
          type: string
          description: 'MIME type as uploaded, e.g. image/jpeg. Use it to decide whether to render an image.'
        size:
          type: integer
          description: Size in bytes.
          format: int64
        url:
          type: string
          description: 'Stable public link, e.g. https://f.bootform.com/forms/{form_id}/feed/{submission_id}/files/0. Use it directly as an <img src>; it redirects to the file while the submission is still public, and 404s once it is not.'
    PublicFeedItemResponse:
      type: object
      properties:
        id:
          type: string
          description: 'The submission id, used by the react, report and file endpoints.'
          format: uuid
        fields:
          type: object
          additionalProperties:
            type: string
          description: 'Only the form''s public fields; every other field is omitted entirely. File fields are not here: see files.'
        created_at:
          type: string
          description: 'When the submission was received (ISO 8601, UTC). The feed is sorted by this, newest first.'
          format: date-time
        reactions:
          type: object
          additionalProperties:
            type: integer
            format: int32
          description: 'Reaction counts by type, e.g. {"up": 3, "down": 0}.'
        files:
          type: array
          items:
            $ref: '#/components/schemas/PublicFeedFileResponse'
          description: Uploaded files whose field is one of the form's public fields. Empty when there are none.
        status:
          $ref: '#/components/schemas/PublicFeedItemStatus'
    PublicFeedItemStatus:
      type: object
      properties:
        label:
          type: string
          description: 'The form''s status label, for example "taken".'
        set:
          type: boolean
          description: True once enough visitors marked it (the form's threshold) or the owner set it.
        set_at:
          type: string
          description: 'When it became set (ISO 8601, UTC), or null while it is not set.'
          format: date-time
          nullable: true
        count:
          type: integer
          description: How many visitors have marked it.
          format: int32
      description: 'The form''s item status for this submission (for example "taken"), or null when the form has no item status.'
      nullable: true
    PublicFeedItemStatus2:
      type: object
      properties:
        label:
          type: string
          description: 'The form''s status label, for example "taken".'
        set:
          type: boolean
          description: True once enough visitors marked it (the form's threshold) or the owner set it.
        set_at:
          type: string
          description: 'When it became set (ISO 8601, UTC), or null while it is not set.'
          format: date-time
          nullable: true
        count:
          type: integer
          description: How many visitors have marked it.
          format: int32
    PublicFeedListResponse:
      type: object
      properties:
        ok:
          type: boolean
        items:
          type: array
          items:
            $ref: '#/components/schemas/PublicFeedItemResponse'
        total:
          type: integer
          description: 'Approved, visible submissions in the feed across all pages.'
          format: int32
        page:
          type: integer
          format: int32
        per_page:
          type: integer
          format: int32
    ReactionCountsResponse:
      type: object
      properties:
        ok:
          type: boolean
        reactions:
          type: object
          additionalProperties:
            type: integer
            format: int32
    ReactRequest:
      type: object
      properties:
        type:
          type: string
          nullable: true
    ReportResponse:
      type: object
      properties:
        ok:
          type: boolean
    AccountDetails:
      required:
        - email
        - plan
        - theme
        - font_size
      type: object
      properties:
        id:
          type: string
          format: uuid
        email:
          type: string
        name:
          type: string
          nullable: true
        avatar_url:
          type: string
          nullable: true
        oauth_provider:
          type: string
          nullable: true
        plan:
          type: string
        cadence:
          type: string
          nullable: true
        plan_expires_at:
          type: string
          format: date-time
          nullable: true
        current_billing_period_starts_at:
          type: string
          format: date-time
          nullable: true
        usage_period_start:
          type: string
          format: date-time
        monthly_usage:
          type: integer
          format: int32
        monthly_quota:
          type: integer
          format: int32
        quota_warning_threshold:
          type: number
          format: double
          nullable: true
        attachment_storage_bytes:
          type: integer
          format: int64
        attachment_storage_limit_bytes:
          type: integer
          format: int64
          nullable: true
        attachment_storage_full:
          type: boolean
        auto_delete_oldest_attachments:
          type: boolean
        overage_enabled:
          type: boolean
        overage_cap_usd:
          type: number
          format: double
          nullable: true
        created_at:
          type: string
          format: date-time
        mfa_enabled:
          type: boolean
        has_password:
          type: boolean
        email_verified:
          type: boolean
        theme:
          type: string
        font_size:
          type: string
        prioritize_identity_fields_in_submission_preview:
          type: boolean
        onboarding_emails:
          type: boolean
    AccountResponse:
      required:
        - account
      type: object
      properties:
        ok:
          type: boolean
        account:
          $ref: '#/components/schemas/AccountDetails'
    AccountStatsResponse:
      required:
        - delivery_status
      type: object
      properties:
        ok:
          type: boolean
        total_submissions:
          type: integer
          format: int32
        submissions_last_30_days:
          type: integer
          format: int32
        spam_blocked_last_30_days:
          type: integer
          format: int32
        daily:
          type: array
          items:
            $ref: '#/components/schemas/DailyCountResponse'
        delivery_status:
          $ref: '#/components/schemas/DeliveryStatusResponse'
        country_breakdown:
          type: array
          items:
            $ref: '#/components/schemas/CountryBreakdownEntry'
    ActivityEntryResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
        occurred_at:
          type: string
          format: date-time
        actor_type:
          type: string
        actor_label:
          type: string
        action:
          type: string
        category:
          type: string
        target_type:
          type: string
          nullable: true
        target_id:
          type: string
          format: uuid
          nullable: true
        target_label:
          type: string
          nullable: true
        description:
          type: string
        details:
          $ref: '#/components/schemas/NullableOfJsonElement'
        correlation_id:
          type: string
          format: uuid
          nullable: true
    ActivityListResponse:
      type: object
      properties:
        ok:
          type: boolean
        entries:
          type: array
          items:
            $ref: '#/components/schemas/ActivityEntryResponse'
        total:
          type: integer
          format: int32
        page:
          type: integer
          format: int32
        per_page:
          type: integer
          format: int32
    ApiKeyCreated:
      type: object
      properties:
        id:
          type: string
          format: uuid
        label:
          type: string
        key:
          type: string
        key_prefix:
          type: string
        created_at:
          type: string
          format: date-time
    ApiKeyCreatedResponse:
      required:
        - api_key
      type: object
      properties:
        ok:
          type: boolean
        api_key:
          $ref: '#/components/schemas/ApiKeyCreated'
        warning:
          type: string
    ApiKeyListResponse:
      type: object
      properties:
        ok:
          type: boolean
        api_keys:
          type: array
          items:
            $ref: '#/components/schemas/ApiKeySummary'
    ApiKeySummary:
      type: object
      properties:
        id:
          type: string
          format: uuid
        label:
          type: string
        key_prefix:
          type: string
        last_used_at:
          type: string
          format: date-time
          nullable: true
        created_at:
          type: string
          format: date-time
        revoked_at:
          type: string
          format: date-time
          nullable: true
    AuthResponse:
      type: object
      properties:
        ok:
          type: boolean
        access_token:
          type: string
        expires_in:
          type: integer
          format: int32
        refresh_token:
          type: string
        mfa_required:
          type: boolean
        mfa_challenge_id:
          type: string
          nullable: true
    BulkDeleteSubmissionsRequest:
      type: object
      properties:
        submission_ids:
          type: array
          items:
            type: string
            format: uuid
    BulkDeleteSubmissionsResponse:
      type: object
      properties:
        ok:
          type: boolean
        deleted_ids:
          type: array
          items:
            type: string
            format: uuid
        not_found_ids:
          type: array
          items:
            type: string
            format: uuid
    CancelSubscriptionResponse:
      type: object
      properties:
        ok:
          type: boolean
    CaptchaResponse:
      type: object
      properties:
        provider:
          type: string
        site_key:
          type: string
      nullable: true
    ChangePasswordRequest:
      required:
        - current_password
        - new_password
      type: object
      properties:
        current_password:
          type: string
        new_password:
          maxLength: 200
          minLength: 8
          type: string
    ChangePasswordResponse:
      type: object
      properties:
        ok:
          type: boolean
        sessions_revoked:
          type: boolean
    ChangePlanRequest:
      required:
        - plan
        - cadence
      type: object
      properties:
        plan:
          type: string
        cadence:
          type: string
    ChangePlanResponse:
      type: object
      properties:
        ok:
          type: boolean
    ClaimFormResponse:
      required:
        - form_id
        - name
      type: object
      properties:
        ok:
          type: boolean
        form_id:
          type: string
          format: uuid
        name:
          type: string
    ClaimPreviewResponse:
      required:
        - form_id
        - held_count
        - preview
      type: object
      properties:
        ok:
          type: boolean
        form_id:
          type: string
        held_count:
          type: integer
          format: int32
        preview:
          type: array
          items:
            $ref: '#/components/schemas/HeldSubmissionPreview'
    ConfirmEmailChangeResponse:
      required:
        - email
      type: object
      properties:
        ok:
          type: boolean
        email:
          type: string
    ConfirmPasswordResetRequest:
      required:
        - new_password
      type: object
      properties:
        new_password:
          maxLength: 200
          minLength: 8
          type: string
    ConfirmPasswordResetResponse:
      type: object
      properties:
        ok:
          type: boolean
        sessions_revoked:
          type: boolean
    ConnectedApp:
      type: object
      properties:
        id:
          type: string
          format: uuid
        client_name:
          type: string
        client_host:
          type: string
          nullable: true
        connected_by:
          type: string
        is_mine:
          type: boolean
        account_email:
          type: string
        created_at:
          type: string
          format: date-time
        last_used_at:
          type: string
          format: date-time
          nullable: true
    ConnectedAppsResponse:
      type: object
      properties:
        ok:
          type: boolean
        connected_apps:
          type: array
          items:
            $ref: '#/components/schemas/ConnectedApp'
    ContentFeedRequest:
      type: object
      properties:
        public_fields:
          type: array
          items:
            type: string
          nullable: true
        report_threshold:
          type: integer
          format: int32
          nullable: true
        moderation_enabled:
          type: boolean
          nullable: true
        item_status:
          $ref: '#/components/schemas/ItemStatusRequest'
      nullable: true
    ContentFeedResponse:
      type: object
      properties:
        public_fields:
          type: array
          items:
            type: string
        report_threshold:
          type: integer
          format: int32
          nullable: true
        moderation_enabled:
          type: boolean
        item_status:
          $ref: '#/components/schemas/ItemStatusResponse'
    CountryAccessRequest:
      required:
        - mode
      type: object
      properties:
        mode:
          type: string
        countries:
          type: array
          items:
            type: string
      nullable: true
    CountryAccessResponse:
      type: object
      properties:
        mode:
          type: string
        countries:
          type: array
          items:
            type: string
      nullable: true
    CountryBreakdownEntry:
      type: object
      properties:
        country:
          type: string
          nullable: true
        count:
          type: integer
          format: int32
    CreateApiKeyRequest:
      required:
        - label
      type: object
      properties:
        label:
          maxLength: 100
          type: string
    CreateCheckoutRequest:
      required:
        - plan
        - cadence
      type: object
      properties:
        plan:
          type: string
        cadence:
          type: string
    CreateCheckoutResponse:
      required:
        - transaction_id
      type: object
      properties:
        ok:
          type: boolean
        transaction_id:
          type: string
        checkout_url:
          type: string
          nullable: true
    CreateFormRequest:
      required:
        - name
      type: object
      properties:
        name:
          maxLength: 200
          type: string
        redirect_url:
          maxLength: 2048
          type: string
          nullable: true
        allowed_origins:
          type: array
          items:
            type: string
          nullable: true
        subject_template:
          maxLength: 500
          type: string
          nullable: true
        slug:
          maxLength: 100
          type: string
          nullable: true
        workspace_id:
          type: string
          format: uuid
          nullable: true
    CreateFormRuleRequest:
      type: object
      properties:
        condition_type:
          type: string
        condition_field:
          type: string
          nullable: true
        condition_value:
          type: string
          nullable: true
        action_type:
          type: string
        action_config:
          $ref: '#/components/schemas/JsonElement'
    CreateNotificationDestinationRequest:
      required:
        - type
        - config
      type: object
      properties:
        type:
          maxLength: 20
          type: string
        config:
          $ref: '#/components/schemas/JsonElement'
    CreateVerifiedEmailRequest:
      required:
        - email
      type: object
      properties:
        email:
          maxLength: 320
          pattern: '^[^\s@]+@[^\s@]+\.[^\s@]+$'
          type: string
    CreateWorkspaceRequest:
      required:
        - name
      type: object
      properties:
        name:
          maxLength: 200
          type: string
        time_zone:
          maxLength: 64
          type: string
          nullable: true
    DailyCountResponse:
      type: object
      properties:
        date:
          type: string
        count:
          type: integer
          format: int32
    DeleteAccountResponse:
      type: object
      properties:
        ok:
          type: boolean
    DeleteFormResponse:
      type: object
      properties:
        ok:
          type: boolean
        status:
          type: string
    DeleteFormRuleResponse:
      type: object
      properties:
        ok:
          type: boolean
        deleted:
          type: boolean
    DeleteNotificationDestinationResponse:
      type: object
      properties:
        ok:
          type: boolean
        deleted:
          type: boolean
    DeleteSubmissionResponse:
      type: object
      properties:
        ok:
          type: boolean
        deleted:
          type: boolean
    DeleteVerifiedEmailResponse:
      type: object
      properties:
        ok:
          type: boolean
        deleted:
          type: boolean
    DeleteWorkspaceResponse:
      type: object
      properties:
        ok:
          type: boolean
        deleted:
          type: boolean
        forms_reassigned_to:
          type: string
          format: uuid
        forms_reassigned:
          type: integer
          format: int32
    DeliveryLogEntryResponse:
      required:
        - id
        - submission_id
        - attempt
        - created_at
      type: object
      properties:
        id:
          type: string
          format: uuid
        submission_id:
          type: string
          format: uuid
        attempt:
          type: integer
          format: int32
        status_code:
          type: integer
          format: int32
          nullable: true
        duration_ms:
          type: integer
          format: int32
          nullable: true
        success:
          type: boolean
          nullable: true
        created_at:
          type: string
          format: date-time
    DeliveryLogListResponse:
      required:
        - entries
      type: object
      properties:
        entries:
          type: array
          items:
            $ref: '#/components/schemas/DeliveryLogEntryResponse'
    DeliveryStatusResponse:
      type: object
      properties:
        success:
          type: integer
          format: int32
        error:
          type: integer
          format: int32
        pending:
          type: integer
          format: int32
    DestinationTestResponse:
      required:
        - success
        - status_code
        - message
      type: object
      properties:
        success:
          type: boolean
        status_code:
          type: integer
          format: int32
          nullable: true
        message:
          type: string
    FieldRuleRequest:
      required:
        - field
      type: object
      properties:
        field:
          type: string
        required:
          type: boolean
        type:
          type: string
          nullable: true
        min:
          type: number
          format: double
          nullable: true
        max:
          type: number
          format: double
          nullable: true
        min_length:
          type: integer
          format: int32
          nullable: true
        max_length:
          type: integer
          format: int32
          nullable: true
        accepted_mime_types:
          type: array
          items:
            type: string
          nullable: true
        require_work_email:
          type: boolean
    FieldRuleResponse:
      type: object
      properties:
        field:
          type: string
        required:
          type: boolean
        type:
          type: string
          nullable: true
        min:
          type: number
          format: double
          nullable: true
        max:
          type: number
          format: double
          nullable: true
        min_length:
          type: integer
          format: int32
          nullable: true
        max_length:
          type: integer
          format: int32
          nullable: true
        accepted_mime_types:
          type: array
          items:
            type: string
          nullable: true
        require_work_email:
          type: boolean
    FileUploadLimitsResponse:
      required:
        - max_file_size_bytes
        - max_total_storage_bytes
      type: object
      properties:
        max_file_size_bytes:
          type: integer
          format: int64
        max_total_storage_bytes:
          type: integer
          format: int64
      nullable: true
    FormDetail:
      type: object
      properties:
        id:
          type: string
          format: uuid
        workspace_id:
          type: string
          format: uuid
          nullable: true
        name:
          type: string
        enabled:
          type: boolean
        endpoint:
          type: string
        slug:
          type: string
          nullable: true
        html_snippet:
          type: string
        widget_snippet:
          type: string
        redirect_url:
          type: string
          nullable: true
        allowed_origins:
          type: array
          items:
            type: string
        allowed_origins_inherited:
          type: boolean
        effective_allowed_origins:
          type: array
          items:
            type: string
        time_zone:
          type: string
          nullable: true
        time_zone_inherited:
          type: boolean
        effective_time_zone:
          type: string
          nullable: true
        retention_days:
          type: integer
          format: int32
          nullable: true
        retention_days_inherited:
          type: boolean
        retention_days_in_force:
          type: integer
          format: int32
          nullable: true
        plan_retention_days:
          type: integer
          format: int32
          nullable: true
        subject_template:
          type: string
          nullable: true
        email_branding_removed:
          type: boolean
        spam_protection:
          $ref: '#/components/schemas/SpamProtectionResponse'
        spam_alert:
          $ref: '#/components/schemas/SpamAlertResponse'
        content_feed:
          $ref: '#/components/schemas/ContentFeedResponse'
        field_rules:
          type: array
          items:
            $ref: '#/components/schemas/FieldRuleResponse'
        autoresponder_enabled:
          type: boolean
        autoresponder_subject:
          type: string
          nullable: true
        autoresponder_body:
          type: string
          nullable: true
        autoresponder_send_copy_to_owner:
          type: boolean
        submission_count:
          type: integer
          format: int32
        monthly_usage:
          type: integer
          format: int32
        monthly_quota:
          type: integer
          format: int32
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    FormDetailResponse:
      required:
        - form
      type: object
      properties:
        ok:
          type: boolean
        form:
          $ref: '#/components/schemas/FormDetail'
    FormListResponse:
      type: object
      properties:
        ok:
          type: boolean
        forms:
          type: array
          items:
            $ref: '#/components/schemas/FormSummary'
        total:
          type: integer
          format: int32
        page:
          type: integer
          format: int32
        per_page:
          type: integer
          format: int32
    FormNavSummary:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
    FormRuleDetailResponse:
      required:
        - rule
      type: object
      properties:
        ok:
          type: boolean
        rule:
          $ref: '#/components/schemas/FormRuleResponse'
    FormRuleListResponse:
      type: object
      properties:
        ok:
          type: boolean
        rules:
          type: array
          items:
            $ref: '#/components/schemas/FormRuleResponse'
    FormRuleResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
        form_id:
          type: string
          format: uuid
        condition_type:
          type: string
        condition_field:
          type: string
          nullable: true
        condition_value:
          type: string
          nullable: true
        action_type:
          type: string
        action_config:
          $ref: '#/components/schemas/JsonElement'
        enabled:
          type: boolean
        created_at:
          type: string
          format: date-time
    FormSummary:
      type: object
      properties:
        id:
          type: string
          format: uuid
        workspace_id:
          type: string
          format: uuid
          nullable: true
        name:
          type: string
        enabled:
          type: boolean
        endpoint:
          type: string
        submission_count:
          type: integer
          format: int32
        monthly_usage:
          type: integer
          format: int32
        monthly_quota:
          type: integer
          format: int32
        honeypot_field:
          type: string
        spam_protection:
          $ref: '#/components/schemas/SpamProtectionSummary'
        spam_alert:
          $ref: '#/components/schemas/SpamAlertResponse'
        retention_days_in_force:
          type: integer
          format: int32
          nullable: true
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    HeldSubmissionPreview:
      required:
        - field_names
        - submitted_at
      type: object
      properties:
        field_names:
          type: array
          items:
            type: string
        submitted_at:
          type: string
          format: date-time
    InviteTeamMemberRequest:
      required:
        - email
        - role
      type: object
      properties:
        email:
          maxLength: 320
          pattern: '^[^\s@]+@[^\s@]+\.[^\s@]+$'
          type: string
        role:
          type: string
    ItemStatusRequest:
      type: object
      properties:
        label:
          type: string
        threshold:
          type: integer
          format: int32
          nullable: true
        hide_after_hours:
          type: integer
          format: int32
          nullable: true
      nullable: true
    ItemStatusResponse:
      type: object
      properties:
        label:
          type: string
        threshold:
          type: integer
          format: int32
        hide_after_hours:
          type: integer
          format: int32
          nullable: true
      nullable: true
    JsonElement: { }
    LoginRequest:
      required:
        - email
        - password
      type: object
      properties:
        email:
          type: string
        password:
          type: string
        turnstile_token:
          type: string
          nullable: true
    MagicLinkRequest:
      required:
        - email
      type: object
      properties:
        email:
          maxLength: 320
          type: string
    McpConsentApproveRequest:
      type: object
      properties:
        account_id:
          type: string
          format: uuid
    McpConsentRedirectResponse:
      type: object
      properties:
        redirect_url:
          type: string
    McpConsentRequestResponse:
      type: object
      properties:
        client_name:
          type: string
        client_uri:
          type: string
          nullable: true
        redirect_host:
          type: string
        accounts:
          type: array
          items:
            $ref: '#/components/schemas/SwitchableAccountResponse'
    MfaEnrollConfirmRequest:
      required:
        - code
      type: object
      properties:
        code:
          type: string
    MfaEnrollResponse:
      type: object
      properties:
        ok:
          type: boolean
        secret:
          type: string
        otpauth_uri:
          type: string
    MfaPasswordConfirmRequest:
      required:
        - password
      type: object
      properties:
        password:
          type: string
    MfaRecoveryCodesResponse:
      type: object
      properties:
        ok:
          type: boolean
        recovery_codes:
          type: array
          items:
            type: string
    MfaVerifyRequest:
      required:
        - challenge_id
        - code
      type: object
      properties:
        challenge_id:
          type: string
        code:
          type: string
    NotificationDestinationDetailResponse:
      required:
        - destination
      type: object
      properties:
        ok:
          type: boolean
        destination:
          $ref: '#/components/schemas/NotificationDestinationResponse'
    NotificationDestinationListResponse:
      type: object
      properties:
        ok:
          type: boolean
        destinations:
          type: array
          items:
            $ref: '#/components/schemas/NotificationDestinationResponse'
    NotificationDestinationResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
        form_id:
          type: string
          format: uuid
        type:
          type: string
        config:
          $ref: '#/components/schemas/JsonElement'
        enabled:
          type: boolean
        created_at:
          type: string
          format: date-time
    NullableOfJsonElement:
      nullable: true
    OAuthIdentityListResponse:
      type: object
      properties:
        ok:
          type: boolean
        providers:
          type: array
          items:
            $ref: '#/components/schemas/OAuthIdentitySummary'
    OAuthIdentitySummary:
      type: object
      properties:
        provider:
          type: string
        provider_email:
          type: string
        linked_at:
          type: string
          format: date-time
    OkResponse:
      type: object
      properties:
        ok:
          type: boolean
    OverageSettingsResponse:
      type: object
      properties:
        ok:
          type: boolean
        overage_enabled:
          type: boolean
        overage_cap_usd:
          type: number
          format: double
          nullable: true
        overage_allowance_submissions:
          type: integer
          format: int32
        overage_used_submissions:
          type: integer
          format: int32
    PasswordResetRequest:
      required:
        - email
      type: object
      properties:
        email:
          maxLength: 320
          type: string
    PlanCatalogEntry:
      required:
        - plan
        - monthly_price_cents
        - monthly_submission_quota
        - api_rate_limit_per_minute
        - honeypot_available
        - turnstile_available
        - discord_available
        - slack_telegram_webhook_available
        - zapier_make_available
        - google_sheets_airtable_notion_sync_available
        - autoresponder_available
        - csv_json_export_available
        - email_branding
        - white_label_email_branding_available
        - vanity_slugs_available
        - spam_folder_available
        - ai_spam_scoring_available
        - team_roles_available
        - two_factor_auth_available
        - mcp_access_available
        - api_access_available
        - eu_data_residency_available
        - dpa_available
        - uptime_sla_available
        - form_rules_available
        - moderated_content_feed_available
      type: object
      properties:
        plan:
          type: string
        monthly_price_cents:
          type: integer
          format: int32
        annual_price_cents_per_month:
          type: integer
          format: int32
          nullable: true
        monthly_submission_quota:
          type: integer
          format: int32
        overage_price_per_submission_usd:
          type: number
          format: double
          nullable: true
        max_active_forms:
          type: integer
          format: int32
          nullable: true
        api_rate_limit_per_minute:
          type: integer
          format: int32
        max_verified_emails:
          type: integer
          format: int32
          nullable: true
        honeypot_available:
          type: boolean
        turnstile_available:
          type: boolean
        discord_available:
          type: boolean
        slack_telegram_webhook_available:
          type: boolean
        zapier_make_available:
          type: boolean
        google_sheets_airtable_notion_sync_available:
          type: boolean
        autoresponder_available:
          type: boolean
        file_uploads:
          $ref: '#/components/schemas/FileUploadLimitsResponse'
        csv_json_export_available:
          type: boolean
        submission_full_access_days:
          type: integer
          format: int32
          nullable: true
        submission_retention_days:
          type: integer
          format: int32
          nullable: true
        email_branding:
          type: string
        white_label_email_branding_available:
          type: boolean
        vanity_slugs_available:
          type: boolean
        spam_folder_available:
          type: boolean
        ai_spam_scoring_available:
          type: boolean
        max_team_members:
          type: integer
          format: int32
          nullable: true
        team_roles_available:
          type: boolean
        two_factor_auth_available:
          type: boolean
        mcp_access_available:
          type: boolean
        api_access_available:
          type: boolean
        eu_data_residency_available:
          type: boolean
        dpa_available:
          type: boolean
        uptime_sla_available:
          type: boolean
        max_workspaces:
          type: integer
          format: int32
          nullable: true
        form_rules_available:
          type: boolean
        moderated_content_feed_available:
          type: boolean
    PlanCatalogResponse:
      required:
        - plans
      type: object
      properties:
        ok:
          type: boolean
        plans:
          type: array
          items:
            $ref: '#/components/schemas/PlanCatalogEntry'
    RefreshRequest:
      required:
        - refresh_token
      type: object
      properties:
        refresh_token:
          type: string
    RegisterRequest:
      required:
        - email
        - password
      type: object
      properties:
        email:
          maxLength: 320
          type: string
        password:
          maxLength: 200
          minLength: 8
          type: string
        name:
          maxLength: 200
          type: string
          nullable: true
        time_zone:
          maxLength: 64
          type: string
          nullable: true
        turnstile_token:
          type: string
          nullable: true
    RemoveTeamMemberResponse:
      type: object
      properties:
        ok:
          type: boolean
        removed:
          type: boolean
    RequestEmailChangeRequest:
      required:
        - new_email
      type: object
      properties:
        new_email:
          maxLength: 320
          type: string
    RequestEmailChangeResponse:
      type: object
      properties:
        ok:
          type: boolean
    RetentionPreviewResponse:
      type: object
      properties:
        ok:
          type: boolean
        retention_days_in_force:
          type: integer
          format: int32
          nullable: true
        would_delete:
          type: integer
          format: int32
    RevokeApiKeyResponse:
      type: object
      properties:
        ok:
          type: boolean
        revoked:
          type: boolean
    RotateWebhookSecretResponse:
      required:
        - signing_secret
      type: object
      properties:
        ok:
          type: boolean
        signing_secret:
          type: string
    SetCaptchaRequest:
      required:
        - provider
        - site_key
        - secret_key
      type: object
      properties:
        provider:
          maxLength: 50
          type: string
        site_key:
          maxLength: 200
          type: string
        secret_key:
          maxLength: 500
          type: string
    SetOverageRequest:
      type: object
      properties:
        overage_enabled:
          type: boolean
          nullable: true
        overage_cap_usd:
          type: number
          format: double
          nullable: true
    SetPasswordRequest:
      required:
        - new_password
      type: object
      properties:
        new_password:
          maxLength: 200
          minLength: 8
          type: string
    SetPasswordResponse:
      type: object
      properties:
        ok:
          type: boolean
    SpamAlertResponse:
      type: object
      properties:
        detected_at:
          type: string
          format: date-time
        window_days:
          type: integer
          format: int32
        inbox:
          type: integer
          format: int32
        flagged:
          type: integer
          format: int32
        with_links:
          type: integer
          format: int32
        same_ip_within_a_minute:
          type: integer
          format: int32
        identical_messages:
          type: integer
          format: int32
      nullable: true
    SpamProtectionRequest:
      type: object
      properties:
        honeypot:
          type: boolean
          nullable: true
        blocked_ips:
          type: array
          items:
            type: string
          nullable: true
        country_access:
          $ref: '#/components/schemas/CountryAccessRequest'
        prompt_muted:
          type: boolean
          nullable: true
        honeypot_field:
          type: string
          nullable: true
      nullable: true
    SpamProtectionResponse:
      type: object
      properties:
        honeypot:
          type: boolean
        captcha:
          $ref: '#/components/schemas/CaptchaResponse'
        blocked_ips:
          type: array
          items:
            type: string
        country_access:
          $ref: '#/components/schemas/CountryAccessResponse'
        prompt_snoozed_until:
          type: string
          format: date-time
          nullable: true
        honeypot_field:
          type: string
    SpamProtectionSummary:
      type: object
      properties:
        honeypot:
          type: boolean
        honeypot_field:
          type: string
        captcha:
          type: string
          nullable: true
    StartOAuthConnectResponse:
      required:
        - authorization_url
      type: object
      properties:
        ok:
          type: boolean
        authorization_url:
          type: string
    SubmissionDetailResponse:
      required:
        - submission
      type: object
      properties:
        ok:
          type: boolean
        submission:
          $ref: '#/components/schemas/SubmissionResponse'
    SubmissionFeedStatusResponse:
      type: object
      properties:
        label:
          type: string
        set:
          type: boolean
        set_at:
          type: string
          format: date-time
          nullable: true
        count:
          type: integer
          format: int32
        set_by_owner:
          type: boolean
      nullable: true
    SubmissionFileResponse:
      type: object
      properties:
        name:
          type: string
        url:
          type: string
        size:
          type: integer
          format: int64
        mime:
          type: string
        field:
          type: string
          nullable: true
    SubmissionListResponse:
      type: object
      properties:
        ok:
          type: boolean
        submissions:
          type: array
          items:
            $ref: '#/components/schemas/SubmissionResponse'
        total:
          type: integer
          format: int32
        page:
          type: integer
          format: int32
        per_page:
          type: integer
          format: int32
    SubmissionResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
        form_id:
          type: string
          format: uuid
        fields:
          type: object
          additionalProperties:
            type: string
        files:
          type: array
          items:
            $ref: '#/components/schemas/SubmissionFileResponse'
        files_dropped:
          type: integer
          format: int32
        files_removed:
          type: integer
          format: int32
        ip:
          type: string
          nullable: true
        spam:
          type: boolean
        spam_score:
          type: integer
          format: int32
        read:
          type: boolean
        starred:
          type: boolean
        archived:
          type: boolean
        moderation_status:
          type: string
        created_at:
          type: string
          format: date-time
        full_access:
          type: boolean
        feed_status:
          $ref: '#/components/schemas/SubmissionFeedStatusResponse'
    SubmissionStatsResponse:
      required:
        - delivery_status
      type: object
      properties:
        ok:
          type: boolean
        daily:
          type: array
          items:
            $ref: '#/components/schemas/DailyCountResponse'
        delivery_status:
          $ref: '#/components/schemas/DeliveryStatusResponse'
        country_breakdown:
          type: array
          items:
            $ref: '#/components/schemas/CountryBreakdownEntry'
    SwitchableAccountResponse:
      type: object
      properties:
        account_id:
          type: string
          format: uuid
        email:
          type: string
        name:
          type: string
          nullable: true
        is_own:
          type: boolean
        team_member_id:
          type: string
          format: uuid
          nullable: true
        role:
          type: string
          nullable: true
    SwitchableAccountsResponse:
      type: object
      properties:
        ok:
          type: boolean
        accounts:
          type: array
          items:
            $ref: '#/components/schemas/SwitchableAccountResponse'
    SwitchAccountRequest:
      type: object
      properties:
        account_id:
          type: string
          format: uuid
    TeamInvitePreviewResponse:
      type: object
      properties:
        ok:
          type: boolean
        invited_email:
          type: string
        inviter_email:
          type: string
        role:
          type: string
    TeamMemberDetailResponse:
      required:
        - team_member
      type: object
      properties:
        ok:
          type: boolean
        team_member:
          $ref: '#/components/schemas/TeamMemberSummary'
    TeamMembersListResponse:
      type: object
      properties:
        ok:
          type: boolean
        team_members:
          type: array
          items:
            $ref: '#/components/schemas/TeamMemberSummary'
    TeamMemberSummary:
      type: object
      properties:
        id:
          type: string
          format: uuid
        invited_email:
          type: string
        role:
          type: string
        invited_at:
          type: string
          format: date-time
        accepted_at:
          type: string
          format: date-time
          nullable: true
    UnlinkOAuthProviderResponse:
      type: object
      properties:
        ok:
          type: boolean
    UpdateAccountRequest:
      type: object
      properties:
        name:
          maxLength: 200
          type: string
          nullable: true
        quota_warning_threshold:
          type: number
          format: double
          nullable: true
        theme:
          type: string
          nullable: true
        font_size:
          type: string
          nullable: true
        prioritize_identity_fields_in_submission_preview:
          type: boolean
          nullable: true
        auto_delete_oldest_attachments:
          type: boolean
          nullable: true
        onboarding_emails:
          type: boolean
          nullable: true
    UpdateFormRequest:
      type: object
      properties:
        name:
          maxLength: 200
          type: string
          nullable: true
        enabled:
          type: boolean
          nullable: true
        redirect_url:
          maxLength: 2048
          type: string
          nullable: true
        allowed_origins:
          type: array
          items:
            type: string
          nullable: true
        subject_template:
          maxLength: 500
          type: string
          nullable: true
        email_branding_removed:
          type: boolean
          nullable: true
        slug:
          maxLength: 100
          type: string
          nullable: true
        workspace_id:
          type: string
          format: uuid
          nullable: true
        time_zone:
          maxLength: 64
          type: string
          nullable: true
        spam_protection:
          $ref: '#/components/schemas/SpamProtectionRequest'
        retention_days:
          type: integer
          format: int32
          nullable: true
        confirm_delete:
          type: boolean
          nullable: true
        content_feed:
          $ref: '#/components/schemas/ContentFeedRequest'
        field_rules:
          type: array
          items:
            $ref: '#/components/schemas/FieldRuleRequest'
          nullable: true
        autoresponder_enabled:
          type: boolean
          nullable: true
        autoresponder_subject:
          maxLength: 500
          type: string
          nullable: true
        autoresponder_body:
          type: string
          nullable: true
        autoresponder_send_copy_to_owner:
          type: boolean
          nullable: true
    UpdateFormRuleRequest:
      type: object
      properties:
        condition_type:
          type: string
          nullable: true
        condition_field:
          type: string
          nullable: true
        condition_value:
          type: string
          nullable: true
        action_type:
          type: string
          nullable: true
        action_config:
          $ref: '#/components/schemas/NullableOfJsonElement'
        enabled:
          type: boolean
          nullable: true
    UpdateNotificationDestinationRequest:
      type: object
      properties:
        enabled:
          type: boolean
          nullable: true
        config:
          $ref: '#/components/schemas/NullableOfJsonElement'
    UpdateSubmissionRequest:
      type: object
      properties:
        read:
          type: boolean
          nullable: true
        starred:
          type: boolean
          nullable: true
        archived:
          type: boolean
          nullable: true
        moderation_status:
          type: string
          nullable: true
        feed_status:
          type: string
          nullable: true
        spam:
          type: boolean
          nullable: true
    UpdateWorkspaceDefaultSettingsRequest:
      type: object
      properties:
        allowed_origins:
          type: array
          items:
            type: string
          nullable: true
        time_zone:
          maxLength: 64
          type: string
          nullable: true
        retention_days:
          type: integer
          format: int32
          nullable: true
      nullable: true
    UpdateWorkspaceRequest:
      type: object
      properties:
        name:
          maxLength: 200
          type: string
          nullable: true
        default_settings:
          $ref: '#/components/schemas/UpdateWorkspaceDefaultSettingsRequest'
        confirm_delete:
          type: boolean
          nullable: true
    VerifiedEmailDetailResponse:
      required:
        - verified_email
      type: object
      properties:
        ok:
          type: boolean
        verified_email:
          $ref: '#/components/schemas/VerifiedEmailSummary'
    VerifiedEmailListResponse:
      type: object
      properties:
        ok:
          type: boolean
        verified_emails:
          type: array
          items:
            $ref: '#/components/schemas/VerifiedEmailSummary'
    VerifiedEmailSummary:
      type: object
      properties:
        id:
          type: string
          format: uuid
        email:
          type: string
        verified_at:
          type: string
          format: date-time
          nullable: true
        created_at:
          type: string
          format: date-time
        is_account_email:
          type: boolean
    VerifyEmailResponse:
      type: object
      properties:
        ok:
          type: boolean
        email:
          type: string
    WorkspaceCaptchaResponse:
      type: object
      properties:
        provider:
          type: string
        site_key:
          type: string
      nullable: true
    WorkspaceDefaultSettingsResponse:
      type: object
      properties:
        allowed_origins:
          type: array
          items:
            type: string
          nullable: true
        captcha:
          $ref: '#/components/schemas/WorkspaceCaptchaResponse'
        time_zone:
          type: string
          nullable: true
        retention_days:
          type: integer
          format: int32
          nullable: true
    WorkspaceDetailResponse:
      required:
        - workspace
      type: object
      properties:
        ok:
          type: boolean
        workspace:
          $ref: '#/components/schemas/WorkspaceResponse'
    WorkspaceListResponse:
      type: object
      properties:
        ok:
          type: boolean
        workspaces:
          type: array
          items:
            $ref: '#/components/schemas/WorkspaceResponse'
    WorkspaceNavListResponse:
      type: object
      properties:
        ok:
          type: boolean
        workspaces:
          type: array
          items:
            $ref: '#/components/schemas/WorkspaceNavSummary'
        total:
          type: integer
          format: int32
        page:
          type: integer
          format: int32
        per_page:
          type: integer
          format: int32
    WorkspaceNavSummary:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        is_default:
          type: boolean
        form_count:
          type: integer
          format: int32
        forms:
          type: array
          items:
            $ref: '#/components/schemas/FormNavSummary'
        has_more_forms:
          type: boolean
    WorkspaceResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        is_default:
          type: boolean
        form_count:
          type: integer
          format: int32
        default_settings:
          $ref: '#/components/schemas/WorkspaceDefaultSettingsResponse'
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
  securitySchemes:
    Bearer:
      type: http
      description: 'Bearer token - either a Dashboard UI session JWT or a BootForm account API key (bf_live_.../bf_test_...), depending on the endpoint.'
      scheme: bearer