CreateSmsContent

CreateSmsContent API call is used to create a new SMS Content under the given folderId.

If the folderId is not specified, the system creates the content under the default SMS Content folder.

This API allows creating content in multiple languages to send messages to recipients in their preferred language. Each language variant must include a message and sender ID.

For MMS content, you can include media URLs, but the account must have the MMS feature enabled and the sender must support MMS.

The API returns the content UUID after successful execution, otherwise it returns the relevant error code.

Body Params
contentDetail
object
required

Multi-language content details for SMS messages.

string
required
length between 1 and 100

The name of the SMS content. Must be unique within its folder.

uuid
length between 36 and 36

UUID of the folder where this SMS content will be saved. If not provided, the content will be saved under the default SMS Contents folder.

boolean
Defaults to false

Specifies whether this is a transactional content.

Headers
string
Defaults to {$$.env.access_token}
string
Defaults to application/json
Responses

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json