Skip to main content
POST
/
api
/
v1
/
sender-profile-chat
/
message
Send Chat Message
curl --request POST \
  --url https://api.example.com/api/v1/sender-profile-chat/message \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "session_id": "<string>",
  "message": "<string>",
  "context": {}
}
'
{
  "session_id": "<string>",
  "message": {
    "role": "<string>",
    "content": "<string>",
    "id": "<string>",
    "timestamp": "2023-11-07T05:31:56Z",
    "metadata": {}
  },
  "is_complete": false,
  "collected_data": {},
  "next_field": "<string>",
  "suggestions": [
    "<string>"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://bavlio.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request model for chat interactions.

session_id
string
required

Unique session identifier

message
string
required

User's message

context
Context · object

Current conversation context and collected data

Response

Successful Response

Response model for chat interactions.

session_id
string
required
message
ChatMessage · object
required

Represents a single message in the chat conversation.

is_complete
boolean
default:false

Whether profile collection is complete

collected_data
Collected Data · object

All collected profile data so far

next_field
string | null

The field we're expecting next

suggestions
string[] | null

Suggested responses or examples