POST chat-messages

Request Information

URI Parameters

None.

Body Parameters

ChatMessageRequest
NameDescriptionTypeAdditional information
sessionId

string

Required

String length: inclusive between 0 and 200

agent

string

Required

Matching regular expression pattern: ^(travel|mobile)$

accountId

string

Required

String length: inclusive between 0 and 200

userId

integer

Required

role

string

Required

Matching regular expression pattern: ^(user|assistant)$

seq

integer

Required

Range: inclusive between 1 and 9223372036854775807

text

string

Required

metadata

Collection of Object

None.

toolNames

Collection of string

None.

createdAt

date

Required

Request Formats

application/json, text/json

Sample:
{
  "sessionId": "sample string 1",
  "agent": "sample string 2",
  "accountId": "sample string 3",
  "userId": 1,
  "role": "sample string 4",
  "seq": 1,
  "text": "sample string 5",
  "metadata": null,
  "toolNames": [
    "sample string 1",
    "sample string 2"
  ],
  "createdAt": "2026-11-03T18:48:25.9744189+00:00"
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.