Skip to main content
POST
/
inbox
/
conversations
/
{id}
/
messages
Send a message in a conversation
curl --request POST \
  --url https://api.social-api.ai/v1/inbox/conversations/{id}/messages \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "account_id": "acc_abc123",
  "text": "Thanks for your message!",
  "attachment_url": "https://cdn.example.com/photo.jpg"
}
'
{
  "message_id": "m_1234567890",
  "success": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.social-api.ai/llms.txt

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

Authorizations

Authorization
string
header
required

Prefix your API key with "Bearer ". Example: Authorization: Bearer sapi_key_...

Path Parameters

id
string
required

Conversation ID

Body

application/json

Message payload

account_id
string
required
Example:

"acc_abc123"

text
string
required
Example:

"Thanks for your message!"

attachment_url
string
Example:

"https://cdn.example.com/photo.jpg"

Response

Message sent with ID

message_id
string
Example:

"m_1234567890"

success
boolean
Example:

true