Skip to main content
Create Twilio Sms Channel
curl --request POST \
  --url https://{api_endpoint}/api/v1/orchestrate/agents/{agent_id}/environments/{environment_id}/channels/twilio_sms \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "channel_app_id": "<string>",
  "channel": "twilio_sms",
  "created_on": "<string>",
  "updated_at": "<string>",
  "created_by": "<string>",
  "updated_by": "<string>",
  "description": "<string>",
  "account_sid": "<string>",
  "twilio_authentication_token": "<string>",
  "phone_number": "<string>"
}'
"<any>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agent_id
string
required
environment_id
string
required

Body

application/json
account_sid
string
required
twilio_authentication_token
string
required
name
string | null
channel_app_id
string | null
channel
string
default:twilio_sms
Allowed value: "twilio_sms"
created_on
string | null
updated_at
string | null
created_by
string | null
updated_by
string | null
description
string | null
Maximum length: 1024
phone_number
string | null

Response

Successful Response

The response is of type any.