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

> ## Agent Instructions
> Flowsign is one word with a lowercase s.
> The REST API base URL is https://my.flowsign.app and every endpoint lives under /api/v1.
> When answering API questions, cite the HTTP method and endpoint path.
> API access needs the Enterprise plan and an API key with the API access permission.

# Send draft packages

> Sends each listed package that is still a draft, one at a time, and reports every id in `results`. Requires canSendPackages.



## OpenAPI

````yaml /api-reference/openapi.json post /api/v1/packages/send
openapi: 3.0.3
info:
  title: Flowsign API
  version: 1.0.0
  description: >-
    Public v1 API for Flowsign. Every endpoint is authenticated with a Bearer
    API key (prefix `fsk_`). Errors use `{ error, details? }`; success responses
    wrap payload data as `{ data }`.


    An organisation is divided into workspaces. A key is issued for one
    workspace and acts there on every request (see `GET /api/v1/workspaces`);
    `X-Workspace-Id` is optional and may only name that workspace. Packages,
    templates, contacts and members are scoped to the key's workspace.
servers:
  - url: https://my.flowsign.app
    description: Production
security:
  - ApiKey: []
paths:
  /api/v1/packages/send:
    post:
      tags:
        - Packages
      summary: Send draft packages
      description: >-
        Sends each listed package that is still a draft, one at a time, and
        reports every id in `results`. Requires canSendPackages.
      operationId: postPackagesSend
      parameters:
        - schema:
            type: string
            description: >-
              The workspace the key was issued for, as returned by `GET
              /api/v1/workspaces`. Optional: omitting it acts in the key's
              workspace, and any other id is rejected with 401.
          required: false
          name: x-workspace-id
          in: header
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                packageIds:
                  type: array
                  items:
                    type: string
                    minLength: 1
                    description: The id of a draft package.
                    example: cmg4v8q2k0001s7xh3b9d2f6a
                  minItems: 1
                  description: The ids of the draft packages to send. At least one.
                  example:
                    - cmg4v8q2k0001s7xh3b9d2f6a
                    - cmg4w1p7r0001s7xh8d2c5e9k
              required:
                - packageIds
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      sentCount:
                        type: integer
                        minimum: 0
                        description: How many of the listed packages were sent.
                        example: 2
                      results:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                              description: A package id from the request.
                              example: cmg4v8q2k0001s7xh3b9d2f6a
                            outcome:
                              type: string
                              enum:
                                - sent
                                - skipped
                                - failed
                              description: >-
                                `sent` went out. `skipped` is not a DRAFT, or
                                not visible to the caller with edit access.
                                `failed` is a draft that could not be sent
                                (missing required custom field values, a
                                workflow that cannot run, a file still
                                uploading, or another member editing it);
                                `reason` says why, and the rest still go.
                              example: sent
                            reason:
                              type: string
                              description: >-
                                Why the package was skipped or failed. Absent
                                when it was sent.
                              example: The document file has not finished uploading
                          required:
                            - id
                            - outcome
                        description: One entry per id in the request, in the same order.
                    required:
                      - sentCount
                      - results
                required:
                  - data
        '400':
          description: The body is not valid JSON
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: Caller's plan does not include this feature (publicApi / webhooks)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: API key present but caller lacks the required permission
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Request failed schema validation; details keyed by field
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded; see `Retry-After`
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: What went wrong, in plain words.
          example: 'Missing permission: canSendPackages'
        details:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: >-
            Validation problems keyed by field path. Present only on 422
            responses.
          example:
            recipients.0.email:
              - Invalid email
      required:
        - error
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer
      bearerFormat: fsk_*

````