> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sapt.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Submit contact form (unauthenticated)

> Public endpoint for contact form submissions. No authentication required. Rate limited by IP address (3/hour, 10/day). Email is sent to configured recipient addresses only.



## OpenAPI

````yaml https://api.sapt.ai/openapi.json post /emails/contact
openapi: 3.1.0
info:
  title: Sapt Platform API
  version: 1.0.0
  description: >-
    API for Sapt platform - project management, authentication, and email
    services
servers:
  - url: https://api.sapt.ai
    description: Production
  - url: http://localhost:8787
    description: Local development
security: []
tags:
  - name: Accounts
    description: >-
      The social accounts connected to a project. Start here — the `id` of an
      account is the `socialAccountId` that every posting, scheduling and
      analytics call takes.
  - name: Actions
  - name: Ads
  - name: Agents
  - name: Analytics
    description: >-
      Account- and post-level organic performance for connected Instagram and
      Facebook accounts.
  - name: Assets
  - name: Auth
  - name: CMS
  - name: CRM
  - name: Calendar
  - name: Comments
    description: >-
      Read, reply to, hide and delete comments on published Instagram and
      Facebook posts.
  - name: Content Calendar
    description: >-
      Create, schedule, update and publish organic posts, and stage the media
      they carry. Publishing a post whose status is `failed` retries it.
  - name: Contracts
  - name: Conversions
    description: >-
      Meta server-side Conversions API (CAPI): discover pixels, connect a pixel
      + CAPI token, and send deduped server-side conversions.
  - name: Dashboard Sidebar
  - name: Emails
  - name: Engagement
    description: >-
      Act as the Page or account on published posts: comment, like, unlike, and
      delete a published post.
  - name: Geo
  - name: Google Ads
  - name: Google Analytics
  - name: Google Business
  - name: Integrations
    description: >-
      Connect third-party providers (Meta, Gmail, Google Business Profile, …).
      List providers, mint OAuth connect links, and poll connection status.
  - name: Invitations
  - name: Memory
  - name: OAuth Clients
  - name: Project Roles
  - name: Project Templates
  - name: Projects
  - name: Schedules
  - name: Service Accounts
  - name: Socials
    description: >-
      Organic social: the connected accounts, the content calendar, media
      staging, publishing, comments and engagement across Instagram, Facebook,
      TikTok, YouTube and Google Business Profile.
  - name: Team
  - name: Users
  - name: Web Analytics
  - name: Workflows
paths:
  /emails/contact:
    post:
      tags:
        - Emails
      summary: Submit contact form (unauthenticated)
      description: >-
        Public endpoint for contact form submissions. No authentication
        required. Rate limited by IP address (3/hour, 10/day). Email is sent to
        configured recipient addresses only.
      operationId: contact
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 100
                  example: John Doe
                  description: Sender name (max 100 characters)
                email:
                  type: string
                  format: email
                  example: john@example.com
                  description: Sender email address (will be used as reply-to)
                subject:
                  type: string
                  minLength: 1
                  maxLength: 200
                  example: Question about services
                  description: Subject line (max 200 characters)
                message:
                  type: string
                  minLength: 10
                  maxLength: 5000
                  example: I would like to learn more about your services...
                  description: Message content (10-5000 characters, plain text only)
                projectId:
                  type: string
                  example: proj_abc123
                  description: >-
                    Optional project ID to route email to specific client (if
                    not provided, uses default)
                recipientEmail:
                  type: string
                  format: email
                  example: contact@yourcompany.com
                  description: >-
                    Optional recipient email address (must be from allowed
                    domain). If not provided, uses CONTACT_FORM_RECIPIENT_EMAIL
                    env variable.
              required:
                - name
                - email
                - subject
                - message
      responses:
        '200':
          description: Contact form submitted successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  message:
                    type: string
                required:
                  - success
                  - message
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Error message
                  code:
                    type: string
                    description: Error code for programmatic handling
                required:
                  - message
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        JWT token obtained from /api/auth/token endpoint. Token is verified
        using JWKS and must include a valid user identifier.

````