> ## 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.

# Validate a call flow

> Checks a document as [Replace a number's call flow](/api-reference/call-flows/replace-a-numbers-call-flow) would, without saving. Returns every error and warning with a JSON pointer, and a summary of what a save would change. Use it to preview a change for a person, or to let an agent fix its own mistakes before saving.

- The answer is `200` also when the document has errors: `valid` is `false` and `errors` lists them.
- `If-Match` is optional. When sent and stale, `errors` has `CALL_FLOWS.ETAG_MISMATCH`; there is no `412`.
- `changes.otherNumbers` lists the numbers whose Jump to steps a save would delete.
- When the voice agents cannot be looked up, their ids are not checked and `warnings` has `VOICE_AGENT_CHECK_SKIPPED`: a save may still answer `502 CALL_FLOWS.UPSTREAM_UNAVAILABLE`.



## 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.