Hello
I am trying to create a lead using the following information
https://mktorest.com/POST/rest/v1/leads.json?access_token=xxxxxxxxxxxxxxxxxxxxxxxxxxx
Payload
{
"action":"createOnly",
"lookupField":"email",
"input":[
{
"email":"kjashaedd-1@klooblept.com",
"firstName":"Kataldar-1",
"postalCode":"04828"
}
]
}
But when i execute the request. I get the following error
<html> <head><title>403 Forbidden</title></head> <body bgcolor="white"> <center><h1>403 Forbidden</h1></center> <hr><center>nginx</center> </body> </html>
Please advise
Ashwini
Solved! Go to Solution.
Thanks. The issue was resolved
That's not the correct URL. You should reread the docs. REST URLs begin with the Munchkin ID and do not contain the word POST (that's the HTTP method, not in the path).
Why are you using the API exactly, and from what language?
Ok, please mark my answer as Correct.
I kind of meant my answer. Anyway....
The issue was resolved with the solution provided