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

# Create a signature request

> Creates a new signature request from a template. Requires a templateId, a signer (email and name), and a sender (email and name). Optionally accepts a fields array to pre-fill template fields before sending.



## OpenAPI

````yaml /api-reference/openapi.json post /v0/signature-requests
openapi: 3.0.0
info:
  title: Formable API
  version: 1.0.0
  description: >-
    The Formable API lets you embed e-signature and document redlining workflows
    directly into your product. Create templates, send documents for signature,
    run collaborative redline negotiations, and retrieve completed documents.
servers:
  - url: https://formable-production.up.railway.app/api
    description: Production
  - url: http://localhost:4000/api
    description: Local
security:
  - bearerAuth: []
tags:
  - name: Templates
    description: Upload documents and generate editor URLs.
  - name: Signature Requests
    description: Send documents for e-signature and retrieve signed results.
  - name: Redlining
    description: Create and manage collaborative redline negotiations.
  - name: Billing
    description: Retrieve usage information.
  - name: Health
    description: Service health checks.
paths:
  /v0/signature-requests:
    post:
      tags:
        - Signature Requests
      summary: Create a signature request
      description: >-
        Creates a new signature request from a template. Requires a templateId,
        a signer (email and name), and a sender (email and name). Optionally
        accepts a fields array to pre-fill template fields before sending.
      operationId: createSignatureRequest
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - templateId
                - signer
                - sender
              properties:
                templateId:
                  type: string
                  description: The ID of the template to create a signature request for.
                  example: abc123xyz
                signer:
                  type: object
                  required:
                    - email
                    - name
                  properties:
                    email:
                      type: string
                      format: email
                      description: Email address of the signer.
                      example: signer@example.com
                    name:
                      type: string
                      description: Name of the signer.
                      example: Jane Doe
                sender:
                  type: object
                  required:
                    - email
                    - name
                  properties:
                    email:
                      type: string
                      format: email
                      description: Email address of the sender.
                      example: sender@example.com
                    name:
                      type: string
                      description: Name of the sender.
                      example: John Smith
                testMode:
                  type: boolean
                  description: >-
                    Optional flag to mark the signature request as a test. Test
                    mode requests are not counted toward billing.
                  example: false
                fields:
                  type: array
                  description: Optional array of fields to pre-fill in the template.
                  items:
                    type: object
                    required:
                      - fieldId
                      - value
                    properties:
                      fieldId:
                        type: string
                        description: The ID of the field in the template.
                        example: field_123
                      value:
                        type: string
                        description: The value to pre-fill in the field.
                        example: Acme Corporation
      responses:
        '200':
          description: Signature request created successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  signatureRequestId:
                    type: string
                    description: The unique identifier of the created signature request.
                    example: abc123xyz
        '400':
          $ref: '#/components/responses/BadRequestError'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '403':
          $ref: '#/components/responses/ForbiddenError'
        '404':
          $ref: '#/components/responses/NotFoundError'
        '500':
          $ref: '#/components/responses/InternalServerError'
      security:
        - bearerAuth: []
components:
  responses:
    BadRequestError:
      description: Bad request - missing or invalid parameters.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: templateId is required
    UnauthorizedError:
      description: Unauthorized - missing or invalid bearer token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Auth token not valid
    ForbiddenError:
      description: Forbidden - the client is not authorized to perform this action.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Client not authorized to perform this action
    NotFoundError:
      description: The requested resource was not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Resource not found for id abc123xyz
    InternalServerError:
      description: Internal server error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Internal server error
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: A human-readable error message.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        OAuth 2.0 client credentials access token, passed as a Bearer token in
        the Authorization header.

````