---
title: "Send a document out to be signed."
method: POST
path: "/api/v1/signatures"
tags: ["Signatures"]
---

# Send a document out to be signed.

`POST /api/v1/signatures`

## Request

- Base URL: `http://localhost:5180`
- URL: `http://localhost:5180/api/v1/signatures`
- Auth: API key in cookie `better-auth.session_token`

Each signer gets their own link, which is a bearer credential: it is emailed to them and never stored, only its hash. The link expires on its own.

A signer who already holds an open request for the same lease or document is not asked again: nothing is minted or mailed for them, and their existing request comes back marked `alreadyAsked`. So sending again after an answer that never arrived emails nobody twice.

## Request body

- object
  - `leaseId` string
  - `sendWithBlanks` boolean
  - `inOrder` boolean
  - `documentId` string
  - `message` string
  - `expiresInDays` integer: How long the link works. Left out, it is two weeks.
  - `signers` object[], required
    - `name` string, required
    - `email` string, email, required
    - `contactId` string

## Response `200`

The requests, one per signer.

- object
  - `ok` unknown, required
  - `data` object, required
    - `requests` object[], required
      - `id` string, required
      - `leaseId` string, nullable, required
      - `documentId` string, nullable, required
      - `where` string, required
      - `reference` string, required
      - `awaitingCountersign` boolean, required
      - `sequence` number, required
      - `declineReason` string, nullable, required
      - `signerName` string, required
      - `signerEmail` string, required
      - `status` 'queued' | 'sent' | 'opened' | 'signed' | 'declined' | 'expired', required
      - `createdAt` string, required
      - `expiresAt` string, required
      - `openedAt` string, nullable, required
      - `signedAt` string, nullable, required
      - `declinedAt` string, nullable, required
      - `alreadyAsked` boolean: On a send only. True where this signer already held an open request for the same thing, so nothing was minted or mailed and this is that request.
  - `meta` object, required
    - `requestId` string, required: Echoed in the x-request-id header. Quote it in a bug report.

## Other responses

- `400`: The subject is not yours, or a signer is not addressable.

---

[API](https://skmtc.dev/dardaris/apis/dardaris-api.md) · [All operations](https://skmtc.dev/dardaris/apis/dardaris-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dardaris/apis/dardaris-api/revisions/4aff33835c73?raw)
