PUT v2/contact/seq/{listId}
POST /v2/contact/seq/{listId}
Header
HTTP/1.1
Authorization: Bearer $api_id.$api_secret
Host: api.$app_domain
Accept: application/json
Content-Type: application/json
Request Parameters
listId (required) |
List ID for the contact you're updating (integer) |
contactId |
The contact ID for the contact that you're updating (integer) |
action |
enroll or unenroll |
sequences |
The numeric sequence ID [101] for your action or ["all"] to unenroll the contact from any active sequence ID. |
Request
POST /v2/contact/seq/{listId}
HTTP/1.1 Authorization: Bearer {$key}.{$secret}
Host: {api.app.domain}
Accept: application/json
Content-Type: application/json
{
"id": {$contactId},
"action": "enroll",
"sequences": [101]
}
Response
HTTP/1.1 201 Created
{
"id": "0",
"message": "Success!"
}
Error code
HTTP/1.1 404 Not Found
{
"id": "0",
"message": "Error description"
}
Comments
0 comments
Please sign in to leave a comment.