API reference
Endpoint бүрийн параметр, хариу, алдааны код — openapi.yaml-аас үүсгэсэн.
Суурь хаяг https://api.openbot.mn/v1, нэвтрэлт Authorization: Bearer sk_live_… (Нэвтрэлт).
Хуудсууд
GET /me
Workspace, plan, rate limit
GET /channels
Live channels of the workspace
GET /conversations
Conversations, newest first
GET /conversations/{id}/messages
Messages of one conversation, newest first
POST /messages
Send text (+ quick replies | buttons)
POST /image
Send an image (optional caption as a second bubble)
POST /carousel
Send a generic-template carousel
POST /typing
Typing indicator (Messenger / Instagram)
POST /comments/{id}/reply
Public reply to a comment
POST /comments/{id}/private-reply
Private reply (DM) to the commenter — once per comment, within 7 days
GET /webhook
Current webhook (null when unset)
DELETE /webhook
Remove the webhook and its delivery log
PUT /webhook
Set/replace the webhook URL — returns a NEW signing secret once
POST /webhook/test
Deliver a `test` event synchronously
GET /webhook/deliveries
Recent deliveries (14-day retention)
GET /flows
Active flows with the `api` trigger (404 not_found while the flow API is off)
POST /flows/{id}/invoke
Run a flow headless (sync JSON or SSE)
GET /flows/{id}/runs/{runId}
Trace of one API run (API runs of this workspace's `api` flows only)
Webhook message.received
Inbound customer message