I want to create a campaign in Zoho Campaign from Zoho Creator. I wrote a function in the creator but I am getting an error.
Here is my code:
void Create_Campaign()
{
list_of_details = response.get("list_of_details");
for each elmnt in list_of_details
{
listkey = elmnt.get("listkey");
}
info create_campaign ;
}
The error is:
{"message":"Unable to find the resource you're looking for.Please recheck the documentation and try again.","version":"1","URI":"/api/v2/createCampaign","Code":"1004","status":"error"}
The 1004 error means:
Wrong
URL entered.
I have used a Zoho Creator's URL which is a Page type in Creator.
I have a few questions regarding this post.
1. While creating a new campaign in Zoho Camapgin your documentation used POST method but when I used POST method, I got an error. In live chat support, they said to use GET method but now I get another error.
2. Is Zoho Creator "PAGE" type acceptable as "content_url"?
If yes or not, can you please suggest what kind of "HTML URL" content is acceptable as "content_url"?
API Documentation Link: https://www.zoho.com/campaigns/help/api/create-campaign.html