It is a method to change campaign list properties.
Principle of use
Syntax and URL to call the method |
updateList (int list_id, string title, string before_subscribe_url, string after_subscribe_url) |
https://api.selzy.com/en/api/updateList?format=json&api_key=KEY&list_id=ID&title=NewListName |
Arguments |
api_key * |
API access key. |
list_id * |
List code obtained using the getLists or createList method. |
title * |
List name. It must be unique in your account.Examples:
title=NewListTitle
title=%D0%9D%D0%BE%D0%B2%D1%8B%D0%B9
(«New» in the UTF-8 format)
|
before_subscribe_url |
The URL for redirect to the pre-subscription page. Usually this page shows a message that the contact should follow the confirmation link to activate the subscription. You can add substitution fields to this URL — for example, you can identify a contact by the email address by substituting an email here — or by the contact code in your database by saving the code in an additional field and substituting it into this URL. |
after_subscribe_url |
The URL for redirect to the post-subscription page. Usually this page shows a message that the subscription has been completed successfully. You can add substitution fields to this URL — for example, you can identify a contact by the email address by substituting an email here — or by the contact code in your database by saving the code in an additional field and substituting it into this URL. |
Return value |
Empty JSON object
If there are any errors or warnings, they are returned in the error/warnings fields as described. |