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

# Set Contact Draft

> Give one contact their own words for one email, or put them back on the
template.

Refused once the campaign is sending, for the same reason the sequence is:
children are mid-flight against the copy they planned with, and rewriting
it underneath them would send words nobody reviewed.



## OpenAPI

````yaml /openapi-generated.json put /outreach/sequencer/campaigns/{campaign_id}/contacts/{contact_id}/draft
openapi: 3.1.0
info:
  title: anycrm-api
  version: 0.0.1
servers: []
security: []
tags:
  - name: Customer Intelligence
    description: >-
      Company research and ICP-fit scoring — create a research run, track its
      progress, and read back scored companies as leads.
  - name: Outreach
    description: >-
      The cold-email sending infrastructure — domains and mailboxes, over
      Primeforge and Warmforge.
  - name: AnyCard
    description: >-
      Authenticated CRUD for AnyCard, the org's digital business-card /
      lead-capture product.
  - name: AnyCard Events
    description: >-
      Event-attribution analytics for AnyCard — which captured leads converted,
      broken down by source, owner, and deal.
  - name: AnyCard Share Links
    description: >-
      Unauthenticated endpoints reached by anyone who scans a QR code or opens a
      shared AnyCard link.
  - name: AI
    description: >-
      A streaming (SSE) AI chat endpoint with account-commit actions it can take
      on the caller's behalf.
  - name: Analytics Assistant
    description: >-
      The natural-language analytics assistant — a guarded text-to-SQL loop
      (SSE) that answers ad-hoc questions over the org's CRM data as a
      least-privilege, read-only database role.
  - name: Account Readiness
    description: >-
      Account Readiness Profiles — AI-scored signals on whether an account is
      ready for outreach or expansion, computed via a Temporal workflow.
  - name: Integrations
    description: >-
      Pipedream Connect — issuing connect tokens and managing the org's
      connected third-party accounts.
  - name: Feedback
    description: >-
      User-submitted platform feedback (bug reports, feature requests) — global,
      not scoped to one organization.
  - name: Public Media
    description: >-
      Unauthenticated image reads for publicly-embeddable assets (card photos,
      inline email images) — allowlisted by key shape; everything else in the
      storage bucket stays private.
  - name: Service Health
    description: Service liveness.
paths:
  /outreach/sequencer/campaigns/{campaign_id}/contacts/{contact_id}/draft:
    put:
      tags:
        - Outreach Sequencer
      summary: Set Contact Draft
      description: >-
        Give one contact their own words for one email, or put them back on the

        template.


        Refused once the campaign is sending, for the same reason the sequence
        is:

        children are mid-flight against the copy they planned with, and
        rewriting

        it underneath them would send words nobody reviewed.
      operationId: >-
        set_contact_draft_outreach_sequencer_campaigns__campaign_id__contacts__contact_id__draft_put
      parameters:
        - name: campaign_id
          in: path
          required: true
          schema:
            type: string
            title: Campaign Id
        - name: contact_id
          in: path
          required: true
          schema:
            type: string
            title: Contact Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DraftBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: >-
                  Response Set Contact Draft Outreach Sequencer Campaigns 
                  Campaign Id  Contacts  Contact Id  Draft Put
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    DraftBody:
      properties:
        node_id:
          type: string
          title: Node Id
        active:
          type: boolean
          title: Active
          default: true
        subject:
          anyOf:
            - type: string
            - type: 'null'
          title: Subject
        body:
          anyOf:
            - type: string
            - type: 'null'
          title: Body
        source:
          anyOf:
            - type: string
            - type: 'null'
          title: Source
        step:
          anyOf:
            - type: integer
            - type: 'null'
          title: Step
      type: object
      required:
        - node_id
      title: DraftBody
      description: |-
        One node's copy for one contact.

        ``active`` is the switch the UI shows. Turning it off keeps the words —
        somebody wrote them, and switching a contact back to the common template
        should not be the same act as throwing them away.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````