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

# Get a number's call flow

> Returns the number's whole call flow as one typed document, with an `ETag` header: a hash of the stored steps. Send the document back with your changes to [Replace a number's call flow](/api-reference/call-flows/replace-a-numbers-call-flow), with the `ETag` as `If-Match`. A number with no steps returns `"steps": []`.

- **Business hours run first.** When `businessHours.active` is `true`, business hours run before this flow, and when closed they decide what the caller hears.
- **Display names.** `include=names` adds a read-only name next to each reference (`userName`, `groupName`, `soundName`, `voicemailBoxName`, `voiceAgentName`), so a script or an AI assistant can describe the flow without one lookup per id. A reference that no longer resolves has a `null` name.
- **Conditional read.** Send the `ETag` you last saw as `If-None-Match` (see `304`). The read sends `Cache-Control: no-cache, no-store, must-revalidate` (with `no-cache, must-revalidate`), so no HTTP cache answers you with a stored body after a `304`.
- **Hidden values.** HTTP Request header values are never returned.
- **What the API cannot edit.** A flow with a step type the API does not write, or with stored data it cannot represent, has `editable: false`, and `problems` says why. So does a step the Dashboard saved where a save through the API refuses it (`STEP_NOT_ALLOWED_HERE`): move or remove it. `true` is not a guarantee: a flow saved in the Dashboard over a size limit, or with a ring step that has no ring time, reads `editable: true`, but sending it back unchanged is refused with `422` (see [Replace a number's call flow](/api-reference/call-flows/replace-a-numbers-call-flow)).
- **Deleted records.** A step that points at a deleted user, group, sound, voicemail box, voice agent or step reads `null` there with the problem `DANGLING_REFERENCE`, and the flow has `editable: false`. A condition on a deleted contact field or contact tag keeps its `field` and `value` and puts `DANGLING_REFERENCE` on the Condition splitter step. Set those fields to existing records, or remove the steps, and send the corrected document.
- **Voice agents.** When the voice agent service does not answer, a Voice Agent step reads `voiceAgentId: null` with the problem `VOICE_AGENT_LOOKUP_FAILED`, and the flow reads `editable: false` until a later read finds the agent.
- **Contact fields.** When the contacts service does not answer, a custom field variable in an HTTP Request step may read in its stored id form, `{{contact.custom_fields.<id>}}`, instead of by field name. It is accepted back as it is.

A change to the stored steps changes the `ETag`: a save in the Dashboard designer or through this API, deleting a user or group the flow uses, or a plan downgrade.



## API Specification

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


## Related topics

- [Get a number](https://help.cloudtalk.io/api-reference/numbers/get-a-number.md)
- [Get a call flow version](https://help.cloudtalk.io/api-reference/call-flows/get-a-call-flow-version.md)
- [Build call flows with the API](https://help.cloudtalk.io/guides/call-flows/build-with-api.md)


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