agents
channels.twilio.numbers
agents.test
conversations
data_sources
events
incidents
insights
insights.folders
insights.workflows
insights.tools
custom_messages
permissions
prompts
session_labels
sessions.transcript
sessions.full-summary
sessions.latency
session_debug
channels.targets
directory
dashboards
organizations
outbound.batches
- GETList Outbound Communication Batches
- POSTCreate Outbound Communication Batch
- GETGet Outbound Communication Batch
- PUTUpdate Outbound Communication Batch
- DELDelete Outbound Communication Batch
- POSTUpload Outbound Communication Batch
- GETFetch Outbound Communication Batch Results
- POSTCreate Outbound Communication Request
- POSTDelete Requests By List Of Reference Ids
outbound.campaigns
language_groups
channels.twilio
Create Twilio Channel
POST
/
api
/
v1
/
channels
/
twilio
/
Copy
Ask AI
import { SyllableSDK } from "syllable-sdk";
const syllableSDK = new SyllableSDK({
apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
});
async function run() {
const result = await syllableSDK.channels.twilio.create({
name: "syllable-webchat",
config: {
accountSid: "AC123...",
authToken: "sometoken",
},
});
// Handle the result
console.log(result);
}
run();
Copy
Ask AI
{
"name": "syllable-webchat",
"channel_service": "webchat",
"supported_modes": [
"chat",
"voice"
],
"is_system_channel": false,
"id": 123
}
Authorizations
Body
application/json
Request model for creating a Twilio channel.
Response
200
application/json
Successful Response
The response is of type object
.
Copy
Ask AI
import { SyllableSDK } from "syllable-sdk";
const syllableSDK = new SyllableSDK({
apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
});
async function run() {
const result = await syllableSDK.channels.twilio.create({
name: "syllable-webchat",
config: {
accountSid: "AC123...",
authToken: "sometoken",
},
});
// Handle the result
console.log(result);
}
run();
Copy
Ask AI
{
"name": "syllable-webchat",
"channel_service": "webchat",
"supported_modes": [
"chat",
"voice"
],
"is_system_channel": false,
"id": 123
}
Assistant
Responses are generated using AI and may contain mistakes.