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

# Execute an outbound touch

> Execute one governed outbound touch (call, SMS, or voicemail drop) for a contact in a campaign. The touch runs through the campaign's consent, quiet-hours, and frequency checks before it is placed.



## OpenAPI

````yaml /api-reference/openapi.json post /tracking/campaigns/{campaign_code}/outbound
openapi: 3.1.0
info:
  title: Compensable API
  version: 0.1.0
  description: >-
    Customer-facing endpoints of the Compensable control plane. Authenticate
    with a tenant API key: `Authorization: Bearer cmp_live_…`.
servers:
  - url: https://api.compensable.live
    description: Production
security: []
paths:
  /tracking/campaigns/{campaign_code}/outbound:
    post:
      tags:
        - Outbound touches
      summary: Execute an outbound touch
      description: >-
        Execute one governed outbound touch (call, SMS, or voicemail drop) for a
        contact in a campaign. The touch runs through the campaign's consent,
        quiet-hours, and frequency checks before it is placed.
      operationId: execute_outbound_touch_tracking_campaigns__campaign_code__outbound_post
      parameters:
        - name: campaign_code
          in: path
          required: true
          schema:
            type: string
            title: Campaign Code
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OutboundTouchBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '401':
          description: Missing or invalid API key (`invalid_api_key`).
        '403':
          description: >-
            Key lacks the required scope (`insufficient_scope`), or API access
            is not enabled for the organization (`tracking_disabled`).
        '404':
          description: Campaign or call not found in your organization.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - ApiKeyBearer: []
components:
  schemas:
    OutboundTouchBody:
      properties:
        channel:
          type: string
          enum:
            - call
            - sms
            - voicemail
          title: Channel
        to_e164:
          type: string
          maxLength: 32
          minLength: 1
          title: To E164
        consent_basis:
          type: string
          maxLength: 32
          minLength: 1
          title: Consent Basis
        funnel_node:
          anyOf:
            - type: string
              maxLength: 256
            - type: 'null'
          title: Funnel Node
        scenario_ref:
          anyOf:
            - type: string
              maxLength: 256
            - type: 'null'
          title: Scenario Ref
        template_id:
          anyOf:
            - type: string
              maxLength: 256
            - type: 'null'
          title: Template Id
        dynamic_variables:
          additionalProperties: true
          type: object
          title: Dynamic Variables
        lead_timezone:
          anyOf:
            - type: string
              maxLength: 64
            - type: 'null'
          title: Lead Timezone
        cadence_step:
          type: integer
          minimum: 0
          title: Cadence Step
          default: 1
        idempotency_key:
          anyOf:
            - type: string
              maxLength: 128
            - type: 'null'
          title: Idempotency Key
        dry_run:
          type: boolean
          title: Dry Run
          default: false
      additionalProperties: false
      type: object
      required:
        - channel
        - to_e164
        - consent_basis
      title: OutboundTouchBody
      description: >-
        One governed outbound-touch request. ``extra="forbid"`` makes an unknown

        key a loud 422 rather than a silently-ignored typo.


        ``campaign_code`` is NOT a body field — it is the path parameter, and
        the org

        id comes from the presenting API key, so neither can be spoofed via the
        body.

        ``consent_basis`` is REQUIRED: the caller asserts the TCPA basis and the

        service verifies it against the tier on file (never trusted verbatim).

        ``funnel_node`` selects a ``variants[funnel_node]`` entry in the
        campaign

        config (the two-funnel-variant deliverable); absent → the flat base
        config.
    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
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ApiKeyBearer:
      type: http
      scheme: bearer
      bearerFormat: cmp_live_…
      description: >-
        Tenant API key, sent as `Authorization: Bearer cmp_live_…`. Keys are
        org-scoped and carry explicit scopes (`enroll`, `execute`). Any missing,
        malformed, unknown, revoked, or expired credential returns a generic 401
        `invalid_api_key`.

````