Update a Welcome Series message.
Response format | JSON |
---|---|
Requires authentication? | Yes |
name optional | Internal name for the message. |
---|---|
sequence_id optional | 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. |
curl -X PUT \
-u '[SID]:[TOKEN]' \
-H 'Content-Type: application/json' \
'https://api.essential.to/v2/channel/3mesNha3El_vwtUUC-iW8Q/welcome_series/Ekex0KsnCYWEwTddoLl1hQ/items/anXDxSK9m7pwvShHXaxKvg' \
-d '{"sequence_id":3, "name":"Fourth message", "body":"Updated message that will be sent to subscribers"}'
# Sample response
{
"name": "Fourth message",
"body": "Updated message that will be sent to subscribers",
"media_urls": null,
"sequence_id": 3,
"created_at": "2017-08-16T18:24:14.000Z",
"updated_at": "2017-08-16T21:17:46.551Z",
"sid": "anXDxSK9m7pwvShHXaxKvg",
"account_sid": "QsbrYCSo2m0sShMLOlZqtw",
"channel_sid": "3mesNha3El_vwtUUC-iW8Q"
}
Python coming soon.
Node coming soon.