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

# Publish a call flow draft

> Makes a draft the live flow, through the same checks as [Replace a number's call flow](/api-reference/call-flows/replace-a-numbers-call-flow). **It answers the next call**, so a mistake reaches callers at once. Use it when a script or an AI assistant prepares a change and a person approves it. The new version has `source: publish`, and `restoredFromVersionId` names the draft. The draft itself stays in the history.

Publish the draft a person approved by the draft's `versionId`: `latest-draft` names the newest draft when the request arrives, which may be one saved after the approval. Send `If-Match` with the `ETag` of the read the draft was built on (see `412`).



## API Specification

The full API specification for this endpoint is available in the [documentation index](https://help.cloudtalk.io/llms.txt).


## Related topics

- [Build call flows with the API](https://help.cloudtalk.io/guides/call-flows/build-with-api.md)
- [Replace a number's call flow](https://help.cloudtalk.io/api-reference/call-flows/replace-a-numbers-call-flow.md)
- [Changelog](https://help.cloudtalk.io/changelog.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.