---
# System prepended metadata

title: BotStar API listing

---

# BotStar API listing

## API sending messages or sending a flow start with block id

### Description
Cho phép gửi messages hoặc flow blocks bắt đầu từ `blockId` đến một user

### Request
- POST api2.botstar.com/...
- Body
    ```json
        {
            "recipient": {
                "id": "external chatter id"
            },
            "message": {},
            "options": {
                "message_tag": "CONFIRMED_EVENT_UPDATE" | "POST_PURCHASE_UPDATE" | "ACCOUNT_UPDATE"
            }
        }
    ```
- Response
    ```json
        {
            "recipient_id": "chatter id",
            "message_id": "botstar-message-id"
        }
    ```

---