Skip to navigation

Set SMS campaign content

Set the content for an SMS campaign.

Authentication

AuthorizationBearer

Authorization using a Mailchimp API key (a.k.a. Bearer token)

OR
AuthorizationBearer
Authorization using OAuth

Path parameters

sms_campaign_idstringRequired
The unique id for the SMS campaign.

Request

The settings for setting the content of an SMS campaign.
message_bodystringRequired
The SMS message body.
medialist of objectsOptional

Attached images or files. Limited to one item. Omitting this field or sending an empty array removes any existing media; to keep the current media while updating other fields, re-send the media array.

Response

This endpoint returns an object.
content_typestringOptional
The content type of the message.
senderstringOptional
The sender identifier for the message.
optout_message_languagestringOptional

The language of the opt-out message.