My request doesn't work

Hello,
I would like to use the api, with account_view it is ok, but when i want to add contact with contact_add it doesn’t work.
Reculât message is > Contact Email Address is not valid
My request is : https://efficonex.api-us1.com/admin/api.php?api_key=mykey&api_action=contact_add&email=test@test.fr&p[1]=1

Is someone could help me ?

Hey @efficonex,

That looks like you are making a GET request. contact_add is a POST request, with the parameters being passed in the body of the request.

I recommend using a tool like POSTman to test these requests out before going into production.

3 Likes

Thanks a lot. It is ok for me.