Skip to main content
POST
Send a message in a conversation

Authorizations

Authorization
string
header
required

Authentication token required for accessing protected endpoints. The token should be obtained from the main SalesCaptain authentication service.

Path Parameters

company_id
string<uuid>
required

Unique identifier for the company

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

conversation_id
string<uuid>
required

Unique identifier for the conversation

Example:

"b2c3d4e5-f6a7-8901-bcde-f12345678901"

Body

application/json
message_body
string
required

Plain text body of the message to send

Example:

"Hi — this is a test message from the api-doc send endpoint."

Response

Message sent successfully

message
string
Example:

"Message sent successfully!"

data
object

Message as returned after a successful send (chat service response)