SNA
エンドポイントリファレンス

Chat セッション作成

DB に chat セッションを作成します。

POST
/chat/sessions

認証

bearerAuth
認証Bearer <token>

In: header

リクエスト本文

application/json

TypeScript 定義

TypeScript で request body 型を使用します。

レスポンス本文

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/chat/sessions" \  -H "Content-Type: application/json" \  -d '{}'
{
  "status": "created",
  "id": "string",
  "meta": {
    "property1": null,
    "property2": null
  }
}
{
  "status": "error",
  "message": "string",
  "stack": "string"
}
{
  "status": "error",
  "message": "string",
  "stack": "string"
}
{
  "status": "error",
  "message": "string",
  "stack": "string"
}