Skip to main content
POST
/
social
/
conversations
/
{conversation_id}
/
messages
Send a direct message
curl --request POST \
  --url https://api.smartlyq.com/v1/social/conversations/{conversation_id}/messages \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "text": "<string>",
  "image_url": "<string>"
}
'
{
  "success": true,
  "data": {
    "success": true,
    "message": {
      "id": 1003,
      "conversation_id": 101,
      "direction": "out",
      "content": "Thanks!",
      "media_url": null,
      "media_type": null,
      "remote_message_id": "m_3",
      "sender_name": "You",
      "status": "sent",
      "sent_at": "2026-03-01 16:00:00"
    }
  },
  "meta": {
    "request_id": "req_abc123",
    "timestamp": "2026-03-01T16:00:00Z"
  }
}

Authorizations

Authorization
string
header
required

API key from Developer dashboard (Bearer token).

Path Parameters

conversation_id
integer
required

Conversation id

Body

application/json
text
string

Message text

image_url
string

Optional image URL

Response

Success

success
enum<boolean>
Available options:
true
data
object
meta
object