Update list

Update list

Users can update the list using our API Authentication Token.

Request URL

XML/ JSON

https://campaigns.zoho.com/api/updatelistdetails

Request Type: Get

List of Parameters

Parameter

Data Type

Description

authtoken*
scope*

String
String

API Authentication Token
CampaignsAPI

listkey*

String

List Key to send a subscription mail to contacts.

version

String

This will fetch responses based on the current API version.

resfmt

String

XML (or) JSON

newlistname*

String

Give list name.

signupform*

String

public/private

* - Mandatory Parameters

Sample Request:

XML/ JSON

https://campaigns.zoho.com/api/updatelistdetails?authtoken=[API Authentication Token]&scope=CampaignsAPI&listkey=[listkey]&resfmt=[XML/JSON]&newlistname=[give list name]&signupform=[public/private]

Sample Response:

Our API response will let you know of the following be it in the XML or JSON format.

XML Format:

<response uri="/api/updatelistdetails" version="1">

<code>0</code>

<status>success</status>

<message>List updated successfull.</message>

</response>

JSON format:

{"message":"List updated successfull.","status":"success","code":"0","uri":"/api/updatelistdetails","version":"1"}

Possible error cases

Error code Description
903Mandatory fields are missing.
2102Listkey is empty or invalid. 
2206List has been deleted.

If your error code is not listed above, click here.

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohocampaigns.com