Create Welcome Series message

Adds a message to a Welcome Series.

Resource URL:

POST https://api.essential.to/v2/channel/{sid}/welcome_series/{welcome_series_sid}/items

Resource information:

Response formatJSON
Requires authentication?Yes

Parameters:

name
required

Internal name for the message.

sequence_id
required

Unique zero-based index in the series for the message

body
optional

Message body. Note that either media_urls or body must be specified."

media_urls
optional

Array of image urls. Note that either media_urls or body must be specified.

Sample code:

curl -X POST \
     -u '[SID]:[TOKEN]' \
     -H 'Content-Type: application/json' \
     'https://api.essential.to/v2/channel/3mesNha3El_vwtUUC-iW8Q/welcome_series/Ekex0KsnCYWEwTddoLl1hQ/items' \
     -d '{"sequence_id":0, name":"Third message", "body":"This is the message that will be sent to subscribers"}'

# Sample response
{
  "name": "Third message",
  "body": "This is the message that will be sent to subscribers",
  "media_urls": null,
  "sequence_id": 2,
  "created_at": "2017-08-16T18:24:14.853Z",
  "updated_at": "2017-08-16T18:24:14.853Z",
  "sid": "anXDxSK9m7pwvShHXaxKvg",
  "account_sid": "QsbrYCSo2m0sShMLOlZqtw",
  "channel_sid": "3mesNha3El_vwtUUC-iW8Q"
}
Python coming soon.
Node coming soon.