Circle CI api url to trigger a pipeline on a webhook

I am trying to add circle ci in a phraseApp webhook, so on every translation change, circle ci pipeline would trigger.

Since I need to give only a callback url in a webhook, I have given like below

https://circleci.com/api/v2/project//pipeline?circle-token=

I am currently have couple of issues

  1. How can I pass parameters, branch name in this? I have tried to pass branch as a query param, that didn’t work.

  2. I am getting 400 error response from circle ci when the trigged via webhook , not sure what exacly is invalid in the request (I have tested webhook via send test notification, which worked fine and pipeline got triggered)

Please help to resolve this issues.

Thanks