---
title: "PUT /contact-flow-modules/{InstanceId}"
method: PUT
path: "/contact-flow-modules/{InstanceId}"
---

# PUT /contact-flow-modules/{InstanceId}

`PUT /contact-flow-modules/{InstanceId}`

Creates a flow module for the specified Amazon Connect instance.

## Path parameters

- `InstanceId` string, required

## Request body

- object
  - `Name` string, required — The name of the flow module.
  - `Description` string — The description of the flow module.
  - `Content` string, required — The content of the flow module.
  - `Tags` object — The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
  - `ClientToken` string — A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.

## Response `200`

Success

- CreateContactFlowModuleResponse
  - `Id` string — The identifier of the flow module.
  - `Arn` string — The Amazon Resource Name (ARN) of the flow module.

## Other responses

- `480` — AccessDeniedException
- `481` — InvalidRequestException
- `482` — InvalidContactFlowModuleException
- `483` — InvalidParameterException
- `484` — DuplicateResourceException
- `485` — LimitExceededException
- `486` — ResourceNotFoundException
- `487` — ThrottlingException
- `488` — IdempotencyException
- `489` — InternalServiceException

---

[API](https://skmtc.net/aws/apis/connect.md) · [All operations](https://skmtc.net/aws/apis/connect/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/connect/versions/fbcf0a4faed2/schema)
