---
title: "Fetch conversation"
method: GET
path: "/conversation/{conversationId}/fetch"
tags: ["Conversation"]
---

# Fetch conversation

`GET /conversation/{conversationId}/fetch`

## Request

- Base URL: `https://api.chatbotkit.com/api/v1`
- URL: `https://api.chatbotkit.com/api/v1/conversation/{conversationId}/fetch`
- Auth: HTTP bearer

## Path parameters

- `conversationId` string, required: The ID of the conversation to retrieve

## Response `200`

The conversation was retrieved successfully

- union
  - object: A bot configuration that can be applied without a dedicated bot instance.
    - `name` string: The associated name
    - `description` string: The associated description
    - `meta` Meta: Meta data information
    - `id` string, required: The instance ID
    - `createdAt` number, required: The timestamp (ms) when the instance was created
    - `updatedAt` number, required: The timestamp (ms) when the instance was updated
    - `botId` string, nullable: The ID of the bot this configuration is using
    - `contactId` string: The contact id assigned to this conversation
    - `taskId` string: The task id assigned to this conversation
    - `expiresAt` number, nullable: The timestamp (ms) at which the conversation expires and is automatically deleted
  - object: A bot configuration that can be applied without a dedicated bot instance.
    - `name` string: The associated name
    - `description` string: The associated description
    - `meta` Meta: Meta data information
    - `id` string, required: The instance ID
    - `createdAt` number, required: The timestamp (ms) when the instance was created
    - `updatedAt` number, required: The timestamp (ms) when the instance was updated
    - `model` string: A model definition
    - `backstory` string, nullable: The backstory this configuration is using
    - `datasetId` string, nullable: The id of the dataset this configuration is using
    - `skillsetId` string, nullable: The id of the skillset this configuration is using
    - `privacy` boolean: The privacy flag for this configuration
    - `moderation` boolean: The moderation flag for this configuration
    - `contactId` string: The contact id assigned to this conversation
    - `taskId` string: The task id assigned to this conversation
    - `expiresAt` number, nullable: The timestamp (ms) at which the conversation expires and is automatically deleted

## Other responses

- `default`: An error response

---

[API](https://skmtc.dev/chatbotkit/apis/cbk-api.md) · [All operations](https://skmtc.dev/chatbotkit/apis/cbk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/chatbotkit/apis/cbk-api/revisions/13d250576136?raw)
