v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14171791756.1 KB

Creates a flow for the specified Amazon Connect instance.

You can also create and update flows using the Amazon Connect Flow language.

put/contact-flows/{InstanceId}

Path parameters

InstanceIdstring required

The identifier of the Amazon Connect instance.

Request body

Namestring required

The name of the flow.

Type'CONTACT_FLOW' | 'CUSTOMER_QUEUE' | 'CUSTOMER_HOLD' | 'CUSTOMER_WHISPER' | 'AGENT_HOLD' | 'AGENT_WHISPER' | 'OUTBOUND_WHISPER' | 'AGENT_TRANSFER' | 'QUEUE_TRANSFER' required

The type of the flow. For descriptions of the available types, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/create-contact-flow.html#contact-flow-types">Choose a flow type</a> in the <i>Amazon Connect Administrator Guide</i>.

Descriptionstring

The description of the flow.

Contentstring required

The content of the flow.

Tagsobject

The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

Response

Success

ContactFlowIdstring

The identifier of the flow.

ContactFlowArnstring

The Amazon Resource Name (ARN) of the flow.