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

# Create a signature request

> Create a new signature request for a document.



## OpenAPI

````yaml /api-reference/signatures/openapi.yaml post /v2/requests
openapi: 3.0.0
info:
  title: Signatures API
  description: >-
    The Signatures API lets you create and manage signature requests and
    signature transactions, and drive documents through the signing and
    notarization process. All endpoints are authenticated with a bearer JWT.
  version: 2.0.0
  contact:
    name: Slate API Support
    email: api-support@slate.inc
    url: https://slate.inc
servers:
  - url: https://api.slate.inc/signatures
    description: Production
  - url: https://api.uat.slate.inc/signatures
    description: UAT (staging)
security:
  - bearerAuth: []
paths:
  /v2/requests:
    post:
      summary: Create a signature request
      description: Create a new signature request for a document.
      operationId: postV2SignaturesRequests
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateSignatureRequest'
              type: object
      responses:
        '201':
          description: Signature request created successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SignatureRequest'
        '400':
          description: Invalid request parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized or invalid permissions.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Unexpected internal error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    CreateSignatureRequest:
      type: object
      description: >
        Provide `fileId`. `documentId` is a deprecated alias still accepted for
        backwards compatibility; supply exactly one.
      properties:
        fileId:
          type: string
          format: uuid
          description: The ID of the file to create the signature request for.
        documentId:
          type: string
          format: uuid
          deprecated: true
          description: Deprecated — use `fileId`. Accepted for backwards compatibility.
    SignatureRequest:
      type: object
      required:
        - id
        - createdOn
        - file
      properties:
        id:
          type: string
          format: uuid
          description: Unique identifier for the signature request.
        createdOn:
          type: string
          format: date-time
          description: Timestamp when the signature request was created.
        completedOn:
          type: string
          format: date-time
          description: Timestamp when the signature request was completed.
        signedBy:
          type: string
          description: The user ID that signed the document.
          minLength: 1
        notarizedBy:
          type: string
          description: The user ID that notarized the document.
          minLength: 1
        completedFileUrl:
          description: A URL where the completed file can be downloaded from.
          type: string
          minLength: 1
        file:
          $ref: '#/components/schemas/File'
        document:
          deprecated: true
          description: Deprecated — use `file`. Retained for backwards compatibility.
          allOf:
            - $ref: '#/components/schemas/File'
    Error:
      type: object
      required:
        - message
      properties:
        message:
          type: string
          description: A human-readable error message.
    File:
      type: object
      required:
        - id
        - matterReference
        - template
      properties:
        id:
          type: string
          format: uuid
          description: The ID of the document that the signature request is for.
        matterReference:
          type: string
          description: >-
            The matter reference (file number) of the matter the document
            belongs to.
        preparedBy:
          type: string
          description: The user ID of the user that prepared the document.
        preparedOn:
          type: string
          format: date-time
          description: The timestamp when the document was prepared.
        firmId:
          type: string
          description: The firm identifier that the document is assigned to.
        templates:
          type: array
          items:
            $ref: '#/components/schemas/Template'
    Template:
      type: object
      required:
        - id
        - filename
        - displayName
        - signatureRequired
        - notaryRequired
      properties:
        id:
          type: string
          description: The template ID that was used to generate the document.
          format: uuid
        filename:
          type: string
          description: The filename or internal reference identifier for the template.
        displayName:
          type: string
          description: The user-friendly display name for the template.
        signatureRequired:
          type: boolean
          description: Whether the template requires a signature.
        notaryRequired:
          type: boolean
          description: Whether the template requires a notary in addition to the signer.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Cognito-issued JWT access token. Send it as `Authorization: Bearer
        <token>`.

````