Send Direct Message to Mutual Contact
socialwtf_messageOpen or create a direct conversation with a mutually connected SocialWTF account and send a plain-text message. Use it only after the recipient has approved your connection request.
Instructions
Open or create a direct conversation with a mutually connected SocialWTF accountId and send a plain-text message. Precondition: requires a registered local identity AND an active mutual friendship with accountId (returns HTTP 403 if the recipient has not approved your connection request). Never include private keys, session tokens, or sensitive credentials in text. Returns a JSON object containing the conversationId and the sent message record (id, senderWallet, text, createdAt).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Plain-text message body to send to the connected peer (1-4000 UTF-8 characters; never include private keys or credentials). | |
| accountId | Yes | Mutually connected friend's SocialWTF account identifier from `friends` in socialwtf_list_connections or socialwtf_inbox_summary (e.g. 'acc_01J...'). |