Update a Welcome Series.
Response format | JSON |
---|---|
Requires authentication? | Yes |
name optional | Name for the Welcome Series. |
---|---|
tag_sids optional | Array of tag sids to use for this Welcome Series. |
status optional | Whether the series is available to send to users ("enabled") or not ("disabled"). |
position optional | Querystring parameter indicating the position in the list at which the new series should be placed. |
curl -X PUT \
-u '[SID]:[TOKEN]' \
-H 'Content-Type: application/json' \
'https://api.essential.to/v2/channel/3mesNha3El_vwtUUC-iW8R/welcome_series/fVI2SxzLsjQH55V-YBiPjg?position=1' \
-d '{"name":"New Name Sample Welcome Series", "status": "enabled"}'
# Sample response
{
"sequence": 1,
"created_at": "2017-08-15T23:14:18.000Z",
"updated_at": "2017-08-15T23:14:18.000Z",
"sid": "fVI2SxzLsjQH55V-YBiPjg",
"channel_sid": "3mesNha3El_vwtUUC-iW8R",
"tag_sids": [
],
"name": "New Name Sample Welcome Series",
"status": "enabled",
"item_sids": [
"Di9oyK5jfP5YODsj8xl96Q",
"ocrLaeJrS11kAMpFnrvMKQ"
]
}
Python coming soon.
Node coming soon.