provider Api20100401UserDefinedMessage POST /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/UserDefinedMessages.json
@utdk/twilio /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/UserDefinedMessages.json
Create a new User Defined Message for the given Call SID.
Create a new User Defined Message for the given Call SID.
AccountSid path required
The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created User Defined Message.
string
CallSid path required
The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the User Defined Message is associated with.
string

Try it

Authentication
Configure credentials for Twilio - Api
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

createuserdefinedmessage
POST/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/UserDefinedMessages.json
Create a new User Defined Message for the given Call SID.

Parameters

required

The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created User Defined Message.

required

The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the User Defined Message is associated with.

Input

required

The User Defined Message in the form of URL-encoded JSON string.

A unique string value to identify API call. This should be a unique string value per API call and can be a randomly generated.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import twilio from '@utdk/twilio';

await twilio.createuserdefinedmessage()