Create Topics

This API helps you create topics to associate to leads in a mailing list.

Request type

  • POST

Scope required

  • ZohoMarketingAutomation.lead.CREATE

Request URL

Brand Topic:

https://ma.zoho.com/api/v1/topics?details={topic_name:aaa,topic_desc:bbb}

Brand Product Topic:

https://ma.zoho.com/api/v1/topics?details={topic_name:aaa,topic_desc:bbb,product_id:74726000000064001}

API Limit

  • Duration: 5 mins
  • Number of Calls: 100
  • Lock Period: 30 mins

You can send 100 API calls per 5 minutes. If you hit this limit, you can't use this API for the next 30 minutes due to security reasons, but you can still use other APIs if their lock period hasn’t been reached.

List of parameters - Version 1

ParameterData TypeDescription
topic_desc*StringA description about the topic
topic_name*StringName of the topic to be created
product_idStringProduct ID of the topic associated to leads

* - Mandatory Parameters (For brand topic the product_id is mandatory)

Possible error cases

Error codeDescription
4016The topic associated with leads not enabled
4010No privilege
4011Topic name cannot contain special characters
4012Topic description cannot contain special characters
4013Topic name already exists
4017Topic name cannot be empty
4018Topic description cannot be empty

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

Sample request

Copiedhttps://ma.zoho.com/api/v1/topics?details={topic_name:aaa,topic_desc:bbb}
https://ma.zoho.com/api/v1/topics?details={topic_name:aaa,topic_desc:bbb,product_id:74726000000064001}

Sample Response

CopiedBrand Topic : 

{
    "code": "200",
    "topic_id": "74726000000418001",
    "message": "Success",
    "uri": "/api/v1/topics"
}

Brand Product Topic

{
    "code": "200",
    "topic_id": "74726000000418001",
    "message": "Success",
    "uri": "/api/v1/topics"
}