---
title: "Chat with a given session id and get back a response for a given message"
method: PUT
path: "/ai/agents/session/{sessionId}/chat"
tags: ["AI Agent", "Experimental"]
---

# Chat with a given session id and get back a response for a given message

`PUT /ai/agents/session/{sessionId}/chat`

## Request

- Base URL: `https://api.app.subskribe.com`
- URL: `https://api.app.subskribe.com/ai/agents/session/{sessionId}/chat`
- Auth: API key in header `X-API-Key`

The API responds user message, a session id is required to identify the session this message needs to be posted

## Path parameters

- `sessionId` string, required

## Request body `text/plain`

- string

## Response `200`

successful operation

- string

---

[API](https://skmtc.dev/dealhub/apis/subskribe-api.md) - [All operations](https://skmtc.dev/dealhub/apis/subskribe-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dealhub/apis/subskribe-api/revisions/c1ee531b82ce?raw)
