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

# Trigger Bot Flow

> Trigger a specific Keyword Replies flow for any mobile number via the ChatSyncs API, using the flow's unique ID. Use when a developer asks how to programmatically start a bot conversation instead of waiting for the user to message first.

Starts a specific [Keyword Replies](/learn/whatsapp-keyword-replies) flow for a phone number — useful for
kicking off a conversation from your own system instead of waiting for the user to message
first.

<Tip>
  **Where to find `bot_flow_unique_id`:** open **Chatbot Manager → Keyword Replies** — it's the
  **Unique ID** column shown next to each flow. See
  [Finding Your IDs & API Token](/developer-api/finding-ids#bot-flow-and-whatsapp-bot-id-bot_flow_unique_id)
  for a screenshot.
</Tip>


## OpenAPI

````yaml POST /whatsapp/trigger-bot
openapi: 3.1.0
info:
  title: ChatSyncs Developer API
  version: 1.0.0
  description: >-
    REST API for sending WhatsApp messages and managing subscribers through
    ChatSyncs.
servers:
  - url: https://platform.chatsyncs.com/api/v1
security: []
paths:
  /whatsapp/trigger-bot:
    post:
      tags:
        - WhatsApp API
      summary: Trigger Bot Flow
      operationId: triggerBotFlow
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                apiToken:
                  type: string
                  description: >-
                    Your ChatSyncs API key (not a WhatsApp/Meta access token).
                    [Where to find
                    it](/developer-api/finding-ids#api-token-apitoken).
                  example: API-KEY
                phone_number_id:
                  type: string
                  description: >-
                    The WhatsApp account's phone number ID. [Where to find
                    it](/developer-api/finding-ids#phone-number-id-phone_number_id).
                  example: PHONE-NUMBER-ID
                bot_flow_unique_id:
                  type: string
                  description: >-
                    The Bot Flow's unique ID to trigger. [Where to find
                    it](/developer-api/finding-ids#bot-flow-and-whatsapp-bot-id-bot_flow_unique_id).
                  example: BOT-FLOW-UNIQUE-ID
                phone_number:
                  type: string
                  description: >-
                    The subscriber's phone number, with country code, digits
                    only.
                  example: PHONE-NUMBER
              required:
                - apiToken
                - phone_number_id
                - bot_flow_unique_id
                - phone_number
      responses:
        '200':
          description: >-
            Standard ChatSyncs response. `status` is `"1"` on success and `"0"`
            on failure.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: '`"1"` = success, `"0"` = failure.'
                  message:
                    type: string
                    description: Human-readable result message.
              examples:
                success:
                  summary: Success
                  value:
                    status: '1'
                    message: Success.
                error:
                  summary: Error
                  value:
                    status: '0'
                    message: Invalid request.

````