---
title: "POST /routing-profiles/{InstanceId}/{RoutingProfileId}/associate-queues"
method: POST
path: "/routing-profiles/{InstanceId}/{RoutingProfileId}/associate-queues"
---

# POST /routing-profiles/{InstanceId}/{RoutingProfileId}/associate-queues

`POST /routing-profiles/{InstanceId}/{RoutingProfileId}/associate-queues`

Associates a set of queues with a routing profile.

## Path parameters

- `InstanceId` string, required
- `RoutingProfileId` string, required

## Request body

- object
  - `QueueConfigs` RoutingProfileQueueConfig[], required — The queues to associate with this routing profile.
    - `QueueReference` object, required — Contains information about a queue resource.
      - `QueueId` string, required — The identifier for the queue.
      - `Channel` 'VOICE' | 'CHAT' | 'TASK', required — The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.
    - `Priority` integer, required — The order in which contacts are to be handled for the queue. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/concepts-routing-profiles-priority.html">Queues: priority and delay</a>.
    - `Delay` integer, required — The delay, in seconds, a contact should be in the queue before they are routed to an available agent. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/concepts-routing-profiles-priority.html">Queues: priority and delay</a> in the <i>Amazon Connect Administrator Guide</i>.

## Response `200`

Success

## Other responses

- `480` — InvalidRequestException
- `481` — InvalidParameterException
- `482` — ResourceNotFoundException
- `483` — ThrottlingException
- `484` — 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)
