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

# Post v1outreach batches actions



## OpenAPI

````yaml /api/openapi.json post /v1/outreach-batches/{batch}/actions
openapi: 3.0.0
info:
  title: Erdo API
  description: >-
    Erdo's REST API: query and write datasets, run agents, manage threads,
    integrations, pages, evals, workstreams, experiments, and bounded outreach.
    Authenticate with a Bearer API key (erdo_api_...) or scoped token
    (erdo_token_...).
  version: '2026-09-09'
servers:
  - url: https://api.erdo.ai
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/outreach-batches/{batch}/actions:
    post:
      operationId: POST:mcp.ActOnOutreachBatchAPI
      parameters:
        - allowEmptyValue: true
          explode: false
          in: path
          name: batch
          required: true
          schema:
            type: string
          style: simple
      requestBody:
        content:
          application/json:
            schema:
              properties:
                action:
                  type: string
                action_ref:
                  type: string
                expected_batch_state:
                  type: string
                expected_batch_updated_at:
                  type: string
                expected_eligible_count:
                  format: int64
                  type: integer
                expected_message_hash:
                  type: string
                expected_preview_revision:
                  type: string
                expected_source_snapshot_ref:
                  type: string
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  acted_at:
                    format: date-time
                    type: string
                  action:
                    type: string
                  action_ref:
                    type: string
                  batch:
                    $ref: '#/components/schemas/messaging.OutreachBatchView'
                  replayed:
                    type: boolean
                  state:
                    type: string
                type: object
          description: Success response
        default:
          $ref: '#/components/responses/APIError'
components:
  schemas:
    messaging.OutreachBatchView:
      properties:
        armed_at:
          format: date-time
          type: string
        batch_slug:
          type: string
        cancelled_at:
          format: date-time
          type: string
        completed_at:
          format: date-time
          type: string
        created_at:
          format: date-time
          type: string
        default_country:
          type: string
        delayed_by_days:
          format: int64
          type: integer
        delayed_count:
          format: int64
          type: integer
        delayed_until:
          format: date-time
          type: string
        eligible_count:
          format: int64
          type: integer
        excluded_count:
          format: int64
          type: integer
        immediate_count:
          format: int64
          type: integer
        initiative_ref:
          type: string
        message_body:
          type: string
        message_hash:
          type: string
        message_version:
          type: string
        paused_at:
          format: date-time
          type: string
        preview_revision:
          type: string
        previewed_at:
          format: date-time
          type: string
        recipient_count:
          format: int64
          type: integer
        sequence_step:
          type: string
        source_snapshot_ref:
          type: string
        state:
          type: string
        updated_at:
          format: date-time
          type: string
      type: object
  responses:
    APIError:
      content:
        application/json:
          schema:
            externalDocs:
              url: https://pkg.go.dev/encore.dev/beta/errs#Error
            properties:
              code:
                description: Error code
                example: not_found
                externalDocs:
                  url: https://pkg.go.dev/encore.dev/beta/errs#ErrCode
                type: string
              details:
                description: Error details
                type: object
              message:
                description: Error message
                type: string
            title: APIError
            type: object
      description: Error response
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An Erdo API key (erdo_api_...) or scoped token (erdo_token_...).

````