title: Accessing Message Body in Azure DevOps Runs API
body: <p>I am trying to trigger my Azure Pipeline using an HTTP request. I am doing this using the Runs API provided by Azure DevOps,
  <a href="https://docs.microsoft.com/en-us/rest/api/azure/devops/pipelines/runs/run-pipeline?view=azure-devops-rest-6.0" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/rest/api/azure/devops/pipelines/runs/run-pipeline?view=azure-devops-rest-6.0</a></p>
  <p>I want to be able to access the message body sent along with the POST request, within my pipeline.</p>
  <p>I know that it is possible to do the following,</p>
  <p>Add parameters to my pipeline similar to what has been shown below,</p>
  <pre><code>parameters:
     - name: id
       type: string
  </code></pre>
  <p>Send the message body of my request to the Runs API within <code>templateParameters</code> to be able to access the values as parameters.</p>
  <p>The issue that I am facing is, my pipeline will actually be triggered by a Webhook and as a result, I don't have control over the structure of the message body. I cannot put the data within <code>templateParameters</code> for the values to be accessible through the parameters.</p>
  <p>Is there any other way that I can access the values of the message body? Is there some other solution to my problem?</p>