cURL
curl --request POST \ --url https://api.bland.ai/v1/pathway/{pathway_id}/publish \ --header 'Content-Type: application/json' \ --header 'authorization: <authorization>' \ --data '{ "version_id": 123, "environment": "<string>" }'
{ "message": "Pathway published successfully" }
Promote a pathway version for a pathway ID to either staging or production environment.
production
staging
Was this page helpful?