> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bland.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Promote Pathway Version

> Promote a pathway version for a pathway ID to either staging or production environment.

### Headers

<ParamField header="authorization" type="string" required>
  Your API key for authentication.
</ParamField>

### Path

<ParamField path="pathway_id" type="string" required>
  The ID of the pathway you want to promote
</ParamField>

### Body

<ParamField body="version_id" type="number" required>
  The version number of the pathway you want to promote
</ParamField>

<ParamField body="environment" type="string">
  The environment you want to promote the pathway to. Can be `production` or `staging`. Default is `production`.
</ParamField>

### Response

<ResponseField name="message" type="string">
  A message indicating the status of the request.
</ResponseField>

<ResponseExample>
  ```json Response theme={null}
  {
    "message": "Pathway published successfully"
  }
  ```
</ResponseExample>

***

Docs for agents: [llms.txt](/llms.txt)
