---
title: "Get a conversation connection (credential + transport) for a session"
method: POST
path: "/api/v1/sessions/{sessionId}/conversation-token"
tags: ["session"]
---

# Get a conversation connection (credential + transport) for a session

`POST /api/v1/sessions/{sessionId}/conversation-token`

## Path parameters

- `sessionId` string, uuid, required

## Request body

- SessionConversationConnectionRequestDTO
  - `assistantId` string, required — The ElevenLabs agent ID for the conversation.

## Response `201`

- SessionConversationConnectionResponseDTO
  - `connectionType` 'webrtc' | 'websocket', required — Transport the credential authenticates, determined by the organization configuration.
  - `credential` string, required — Short-lived ElevenLabs connection credential: a conversation token when connectionType is webrtc, a signed URL when it is websocket.

---

[API](https://skmtc.net/wejam/apis/jam.md) · [All operations](https://skmtc.net/wejam/apis/jam/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wejam/jam/revisions/bd5a5f406bca/schema)
