ActiveCampaign Forum

Dont permit create list api v1


#1

URL:
https://XXXXXXX.api-us1.com/admin/api.php?api_action=list_add&name=listname&to_name=VT&stringid=api-name&sender_addr1=xxxx@xxxx.com.co&sender_country=xxx@xxxxx.com.co&api_key=XXXXXXXX&api_output=json

result:
{“result_code”:0,“result_message”:“El nombre de lista no puede estar vac\u00edo”,“result_output”:“json”}

help me please…

what is the problem here?


#2

I’ve submitted your information to our API support team, who will be in touch soon. Thanks!


#3

The API doc states:

Underlined params include in URL, otherwise as part of the post body. POST data must be formatted as Content-Type: application/x-www-form-urlencoded

So the parameters api_action, api_key, and api_output are included in the URL. All other parameters must be submitted as POST data and not included in the URL.