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

# Create GTM strategy

> Create GTM strategy

**CLI:**

```bash theme={null}
puffle strategy create --title <title> --intent <intent> --source-plan <source-plan>
puffle strategy create --title <title> --intent <intent> --source-plan <source-plan> --description <description> --details <details>
```

## Overview

Create GTM strategy

This page documents `post /api/strategies`. Use the request and response sections on this page for accepted parameters, payload fields, response fields, and authentication behavior.

## AI agent notes

* Confirm the operation matches the user's intent before calling it.
* For write operations, confirm the user intends to change state.
* Surface validation, permission, and not-found errors instead of retrying unchanged.


## OpenAPI

````yaml post /api/strategies
openapi: 3.0.3
info:
  title: Puffle API
  version: 1.0.0
  description: >-
    HTTP API for the Puffle GTM platform - strategy planning, campaign-backed
    Outbound execution, Puffle Agent runs, sender management, and Unibox reply
    workflows. Designed for operation by both humans and autonomous AI agents.
    Agents should start at the [Agent Playbook](/guides/agent-playbook) which
    prescribes a workspace-context check (`GET /api/context`) and core user
    journeys with exact call ordering.
  contact:
    name: Puffle Support
    url: https://puffle.ai
servers:
  - url: https://app.puffle.ai
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Campaigns
    description: >-
      Campaign-backed Outbound execution. These endpoints manage draft,
      launching, active, paused, and completed Outbound runs with sequence
      nodes, contacts, and sender accounts.
  - name: Accounts
    description: Signed-in user account, settings, and workspace context endpoints.
  - name: Senders
    description: >-
      Connected sender accounts, email inboxes, sending domains, DNS
      verification, warmup, and sender capacity.
  - name: Socials
    description: >-
      Social post scheduling and inbox — schedule, publish, archive, and delete
      posts across LinkedIn, Twitter, Threads, Bluesky via the Late (late.ai)
      integration. Connect social accounts via OAuth, pull analytics, monitor
      mentions.
paths:
  /api/strategies:
    post:
      tags:
        - Strategies
      summary: Create GTM strategy
      description: >-
        Create or reuse one structured executable GTM Strategy from
        Puffle-authored intent and source seeds, then reserve its first Run.
        Seller context is resolved from the authenticated tenant; this operation
        does not call the Strategy Planner.
      operationId: strategies.create
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                title:
                  type: string
                  minLength: 1
                  maxLength: 180
                description:
                  type: string
                  maxLength: 500
                intent:
                  type: string
                  minLength: 1
                sourcePlan:
                  type: object
                  properties:
                    sourceId:
                      type: string
                      enum:
                        - linkedin_posts
                        - linkedin_jobs
                        - linkedin_people
                        - news
                        - reddit
                        - hacker_news
                        - x_twitter
                        - hiring_cafe
                        - github
                    query:
                      minItems: 1
                      type: array
                      items:
                        type: string
                        minLength: 1
                        maxLength: 240
                    reason:
                      type: string
                      minLength: 1
                      maxLength: 240
                  required:
                    - sourceId
                    - query
                    - reason
                  additionalProperties: false
                details:
                  type: object
                  properties:
                    channel:
                      type: string
                    signal:
                      type: string
                    expectedLead:
                      type: string
                    whyThisShouldWork:
                      type: string
                  additionalProperties: {}
              required:
                - title
                - intent
                - sourcePlan
              additionalProperties: false
      responses:
        '200':
          description: Created or reused Strategy with its first Run.
          content:
            application/json:
              schema:
                type: object
                properties:
                  strategy:
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                      title:
                        type: string
                      description:
                        type: string
                      kind:
                        type: string
                        enum:
                          - recurring
                          - static
                      scheduleEnabled:
                        type: boolean
                      definitionHash:
                        type: string
                        minLength: 64
                        maxLength: 64
                        nullable: true
                      intent:
                        type: string
                      sellerContext:
                        type: string
                      sourcePlans:
                        type: array
                        items:
                          type: object
                          properties:
                            sourceId:
                              type: string
                              enum:
                                - linkedin_posts
                                - linkedin_jobs
                                - linkedin_people
                                - news
                                - reddit
                                - hacker_news
                                - x_twitter
                                - hiring_cafe
                                - github
                            query:
                              minItems: 1
                              type: array
                              items:
                                type: string
                                minLength: 1
                                maxLength: 240
                            reason:
                              type: string
                              minLength: 1
                              maxLength: 240
                          required:
                            - sourceId
                            - query
                            - reason
                          additionalProperties: false
                      details:
                        type: object
                        properties:
                          channel:
                            type: string
                          signal:
                            type: string
                          expectedLead:
                            type: string
                          whyThisShouldWork:
                            type: string
                        additionalProperties: {}
                      lastRunId:
                        type: string
                        format: uuid
                        nullable: true
                      outboundCampaignId:
                        type: string
                        format: uuid
                        nullable: true
                      leadCount:
                        type: integer
                        minimum: 0
                        maximum: 9007199254740991
                      contactedCount:
                        type: integer
                        minimum: 0
                        maximum: 9007199254740991
                      nextRunAt:
                        type: string
                        nullable: true
                      createdAt:
                        type: string
                      updatedAt:
                        type: string
                    required:
                      - id
                      - title
                      - description
                      - kind
                      - scheduleEnabled
                      - definitionHash
                      - intent
                      - sellerContext
                      - sourcePlans
                      - details
                      - lastRunId
                      - outboundCampaignId
                      - leadCount
                      - contactedCount
                      - nextRunAt
                      - createdAt
                      - updatedAt
                    additionalProperties: false
                  run:
                    type: object
                    properties:
                      id:
                        type: string
                        minLength: 1
                      triggerRunId:
                        type: string
                        minLength: 1
                        nullable: true
                      status:
                        type: string
                      counts:
                        type: object
                        additionalProperties:
                          type: number
                    required:
                      - id
                      - triggerRunId
                      - status
                      - counts
                    additionalProperties: false
                  dispatch:
                    type: string
                    enum:
                      - recorded
                      - accepted_unrecorded
                      - existing
                  strategyDisposition:
                    type: string
                    enum:
                      - created
                      - reused
                  runDisposition:
                    type: string
                    enum:
                      - queued
                      - existing
                required:
                  - strategy
                  - run
                  - dispatch
                  - strategyDisposition
                  - runDisposition
                additionalProperties: false
        '400':
          description: Invalid input.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
        '500':
          description: Server error.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
                additionalProperties: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: pk_live_...

````