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

# Send a one-off test email for a lead

> Sends the exact subject/body supplied to the given address from the chosen mailbox. Sends REAL email. Writes no SendLog row, does not touch mailbox counters or the lead's status. Errors (JSON): 400 missing/invalid mailbox_id or recipient, 404 mailbox not in workspace, 502 send failed or mailbox auth failed.

**Minimum role:** `edit` (`x-min-role`). **Destructive:** `true` (`x-destructive`).



## OpenAPI

````yaml /openapi.json post /campaigns/{campaign_id}/leads/{contact_id}/test-send
openapi: 3.0.3
info:
  title: Sales Sequencer API
  version: '1'
  description: >-
    Every Sales Sequencer action over HTTP. Each call runs as the API key's
    creator, with that user's role, in the key's workspace. Auth: X-API-Key
    header.
servers:
  - url: https://api.salessequencer.com/api/v1
security:
  - key: []
paths:
  /campaigns/{campaign_id}/leads/{contact_id}/test-send:
    post:
      tags:
        - Leads
      summary: Send a one-off test email for a lead
      description: >-
        Sends the exact subject/body supplied to the given address from the
        chosen mailbox. Sends REAL email. Writes no SendLog row, does not touch
        mailbox counters or the lead's status. Errors (JSON): 400
        missing/invalid mailbox_id or recipient, 404 mailbox not in workspace,
        502 send failed or mailbox auth failed.


        **Minimum role:** `edit` (`x-min-role`). **Destructive:** `true`
        (`x-destructive`).
      operationId: campaigns_test_send_lead
      parameters:
        - in: path
          name: campaign_id
          required: true
          schema:
            type: integer
        - in: path
          name: contact_id
          required: true
          schema:
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              properties:
                body:
                  description: Body to send as-is.
                  type: string
                mailbox_id:
                  description: Mailbox to send from (same workspace).
                  type: integer
                subject:
                  description: Subject to send as-is (no re-rendering).
                  type: string
                to:
                  description: Recipient email (must contain @).
                  type: string
              required:
                - to
                - mailbox_id
              type: object
      responses:
        '200':
          description: 'JSON {ok: true, sent_from: <mailbox email>} or {ok: false, error}.'
components:
  securitySchemes:
    key:
      in: header
      name: X-API-Key
      type: apiKey

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.