Chats
chats

Create Session

Create a new chat session with an agent.

post/v1/chats

Request

  • Base URL: https://api.call2me.app
  • URL: https://api.call2me.app/v1/chats
  • Auth: HTTP bearer

Request body

agent_idstring required
titlestring nullable
external_user_idstring nullable
metadataobject nullable

Response

Successful Response

session_idstring required
user_idstring required
agent_idstring nullable
agent_namestring nullable
titlestring nullable
statusstring required
message_countinteger required
total_tokensinteger required
total_cost_usdnumber required
external_user_idstring nullable
created_atstring required
updated_atstring required
sourcestring
widget_namestring nullable
visitor_namestring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.