I want to add new People through API

I want to add people in pipeline through API so i am trying this:

URL : https://api.pipedrive.com/v1/persons

api_token:

name:dummy person

But it is giving me below error, please advise me what’s wrong in it

Hi.
Please, change your API token as soon as possible since you shared it here.
In the future, you should always keep it safe and hidden :wink:

The reason your request is not working is that the name must be in the body, as x-www-form-urlencoded, not as a query parameter.

No worries i will change api token.

But i am still see issue in it , please help

Please help , i am unable to do now

The api token parameter is name api_token, not api_key, and it needs to be in the query.

  • api_token as a query parameter
  • name as a body parameter