Skip to content

Publish social message

POST/omnichannel/social/messages

Publishes an outbound social message via the configured social channel adapter (e.g. Facebook, Twitter/X, Instagram). The conversation record links the outbound post to any existing social thread for tracking and quality review.

Request

Request body

Content type application/json (required).

FieldTypeRequiredDescription
channelstringYes

Must be "social".

One of: "social"

subjectstringNo

Post caption or reference subject.

Max length: 255

channel_profile_idintegerNo

ID of the social channel profile to publish through.

assigned_tointegerNo

Agent ID responsible for monitoring replies.

Example

{
  "channel": "social",
  "subject": "April product update announcement",
  "channel_profile_id": 4,
  "assigned_to": 3
}

Responses

201 Social message conversation created and queued for publish

422 Validation failed — check channel_profile_id and channel value

Example request

curl -X POST "https://{tenant}.faciotech.net/api/v1/omnichannel/social/messages" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"channel": "social", "subject": "April product update announcement", "channel_profile_id": 4, "assigned_to": 3}'
Loading