---
title: "POST /users/{InstanceId}/{UserId}/contact"
method: POST
path: "/users/{InstanceId}/{UserId}/contact"
---

# POST /users/{InstanceId}/{UserId}/contact

`POST /users/{InstanceId}/{UserId}/contact`

Dismisses contacts from an agent’s CCP and returns the agent to an available state, which allows the agent to receive a new routed contact. Contacts can only be dismissed if they are in a <code>MISSED</code>, <code>ERROR</code>, <code>ENDED</code>, or <code>REJECTED</code> state in the <a href="https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html">Agent Event Stream</a>.

## Path parameters

- `UserId` string, required
- `InstanceId` string, required

## Request body

- object
  - `ContactId` string, required — The identifier of the contact.

## Response `200`

Success

- DismissUserContactResponse

## Other responses

- `480` — InvalidRequestException
- `481` — InvalidParameterException
- `482` — ResourceNotFoundException
- `483` — ThrottlingException
- `484` — AccessDeniedException
- `485` — 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/revisions/fbcf0a4faed2/schema)
