Just like the web portal, using the API you can deploy your Dialogues either in Pilot or Publish mode. For this, do a POST to the endpoint DeployDialogue and pass the following query string parameters.
|slug||The dialogue slug.|
|isPilot||Set to true if you want to deploy in Pilot mode.|
Once the endpoint is called, you will now get a response indicating the status of the deployment.