1. Using a tool such as Postman, construct the DaVinci API call using the POST method and the following URL structure.
    https://orchestrate-api.pingone.com/v1/company/<YOUR_COMPANY_ID>/policy/<YOUR_POLICY_ID>/start

    The headers should include your API key using the following format.

    X-SK-API-KEY=<YOUR_API_KEY>
  2. Execute the API call. The response body will be the output from the Send Success JSON Response action.

This example uses cURL.

curl --location --request POST 'https://orchestrate-api.pingone.com/v1/company/743f6c64-619a-46e5-97a5-c7cf0be0a70e/policy/e29c3b327523685b8e71ab9d76c83346/start' \
--header 'X-SK-API-KEY: 08cfae28703bbbf166b1bef69161af08faba321c7d0b55a7ed3df614a9136140646638ea91b69e00cdc87f25df124df1c0ded58dc642f2cd81a90df5499fafab67dbd768fec633b5a0802ffee9736f07e713f35034bcefac7de8afcc3ea1cfbabbef5dbb23875e485dabd89899a41a0eb0d45b7388be362c103d24f1b0145a6d'

This example uses JavaScript and Fetch.

var myHeaders = new Headers();
myHeaders.append("X-SK-API-KEY", "08cfae28703bbbf166b1bef69161af08faba321c7d0b55a7ed3df614a9136140646638ea91b69e00cdc87f25df124df1c0ded58dc642f2cd81a90df5499fafab67dbd768fec633b5a0802ffee9736f07e713f35034bcefac7de8afcc3ea1cfbabbef5dbb23875e485dabd89899a41a0eb0d45b7388be362c103d24f1b0145a6d");

var requestOptions = {
  method: 'POST',
  headers: myHeaders,
  redirect: 'follow'
};

fetch("https://orchestrate-api.pingone.com/v1/company/743f6c64-619a-46e5-97a5-c7cf0be0a70e/policy/e29c3b327523685b8e71ab9d76c83346/start", requestOptions)
  .then(response => response.text())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));

This example uses JavaScript and NodeJS - Axios.

var axios = require('axios');

var config = {
  method: 'post',
  url: 'https://orchestrate-api.pingone.com/v1/company/743f6c64-619a-46e5-97a5-c7cf0be0a70e/policy/e29c3b327523685b8e71ab9d76c83346/start',
  headers: { 
    'X-SK-API-KEY': '08cfae28703bbbf166b1bef69161af08faba321c7d0b55a7ed3df614a9136140646638ea91b69e00cdc87f25df124df1c0ded58dc642f2cd81a90df5499fafab67dbd768fec633b5a0802ffee9736f07e713f35034bcefac7de8afcc3ea1cfbabbef5dbb23875e485dabd89899a41a0eb0d45b7388be362c103d24f1b0145a6d'
  }
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});