Prerequisites
- The SMS channel must be configured to send outbound SMS using this API. Learn more.
- The phone number must be attached to an experience flow. Learn more.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
| Method | POST |
|---|---|
| Endpoint | https://{{host}}/api/public/bot/{{BotId}}/outboundsms |
| Content-Type | application/json |
| Authorization | auth: {{JWT}} See How to generate the JWT Token. |
| API Scope | Outbound SMS |
| Parameter | Description | Type |
|---|---|---|
host | Environment URL, for example, https://platform.kore.ai | string, required |
BotId | BotId or StreamId. You can access it from the bot’s App Settings page. | string, required |
curl --location 'https://{{host}}/api/public/bot/st-26d52ba6-7a77-56b2-be4e-a8db1da7e440/outboundsms' \
--header 'Content-Type: application/json;charset=UTF-8' \
--header 'auth: <token>' \
--data '{
"fromNo": "+19876543210",
"toNo": "+911234567890"
}'
| Parameter | Description | Type |
|---|---|---|
fromNo | The sender’s phone number in E.164 format. For example, +19876543210. Attach the number to an Experience Flow. | string, required |
toNo | The recipient’s phone number in E.164 format. For example, +911234567890 | string, required |
{
"message": "Triggered the configured Experience flow to deliver message via SMS channel"
}
Was this page helpful?