Skip to main content
POST
Create Messages For Session

Authorizations

Authorization
string
header
required

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

Path Parameters

workspace_id
string
required
session_id
string
required

Body

application/json

Schema for batch message creation with a max of 100 messages

messages
MessageCreate · object[]
required
Required array length: 1 - 100 elements

Response

Successful Response

id
string
required
content
string
required
peer_id
string
required
session_id
string
required
created_at
string<date-time>
required
workspace_id
string
required
token_count
integer
required
metadata
Metadata · object