Get Topics
Use this API to get a list of all the topics available in your Zoho Campaigns account.
Request Type:
- Get
Scope:
- ZohoCampaigns.contact.READ
Request URL:
- https://campaigns.zoho.com/api/v1.1/topics
List of Parameters --Version 1.1
Parameter | Data Type | Description |
from_index | Integer | Range of topics to be returned to the user |
range | Integer | Range of topics to be returned to the user |
Possible error cases
Error code | Description |
4016 | The topic associated with contacts not enabled |
4010 | No privilege |
4011 | Topic name cannot contain special characters |
4012 | Topic description cannot contain special characters |
4013 | Topic name already exists |
4014 | Product ID associated to topic is invalid |
4015 | Users belong to the Brand topic model |
4017 | Topic name cannot be empty |
4018 | Topic description cannot be empty |
4019 | Product ID is mandatory for brand product topic creation |
If your error code is not listed above, click here.
Sample Request
Copiedhttps://campaigns.zoho.com/api/v1.1/topics?details={from_index:0,range:1}
Sample Response
Copied{
"topicDetails": [
{
"topicId": "80696000000044001",
"primaryList": 80696000000044003,
"topicName": "default"
}
],
"code": "200",
"message": "Success",
"uri": "/api/v1.1/topics"
}