Skip to content

[Facebook] Send Direct Message

Request

Send a direct message to the specified user.

Security
bearerAuth
Bodyapplication/json
bodyobject(PrivateMessageSendParams)required
curl -i -X POST \
  https://threechatai.redocly.app/_mock/apis/3chat-api/api/open/v3/butler/meta/private-message/send \
  -H 'Authorization: Bearer <YOUR_Access Token_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "body": {
      "pageId": "string",
      "recipient": {
        "commentId": "string",
        "id": "string",
        "postId": "string",
        "userRef": "string"
      },
      "message": "string"
    }
  }'

Responses

Headers
any
Bodyapplication/json
codeinteger or null
Any of:
integer
messagestring or null
Any of:
string
dataobject(EntityResponseData_Object_)
Response
{ "code": 0, "message": "", "data": { "entity": {} } }