---
title: "POST /assistants/{assistantId}/sessions"
method: POST
path: "/assistants/{assistantId}/sessions"
---

# POST /assistants/{assistantId}/sessions

`POST /assistants/{assistantId}/sessions`

Creates a session. A session is a contextual container used for generating recommendations. Amazon Connect creates a new Wisdom session for each contact on which Wisdom is enabled.

## Path parameters

- `assistantId` string, required

## Request body

- object
  - `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>.
  - `description` string — The description.
  - `name` string, required — The name of the session.
  - `tags` object — The tags used to organize, track, or control access for this resource.

## Response `200`

Success

- CreateSessionResponse
  - `session` object — The session.
    - `description` string — The description of the session.
    - `integrationConfiguration` object — The configuration information for the session integration.
      - `topicIntegrationArn` string — The Amazon Resource Name (ARN) of the integrated Amazon SNS topic used for streaming chat messages.
    - `name` string, required — The name of the session.
    - `sessionArn` string, required — The Amazon Resource Name (ARN) of the session.
    - `sessionId` string, required — The identifier of the session.
    - `tags` object — The tags used to organize, track, or control access for this resource.

## Other responses

- `480` — ConflictException
- `481` — ValidationException
- `482` — ResourceNotFoundException

---

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