POST
/
api
/
messaging
/
external-messages
Process external message
curl --request POST \
  --url http://localhost:3000/api/messaging/external-messages \
  --header 'Content-Type: application/json' \
  --data '{
  "platform": "discord",
  "messageId": "<string>",
  "channelId": "<string>",
  "userId": "<string>",
  "content": "<string>",
  "attachments": [
    {}
  ],
  "metadata": {}
}'
{
  "success": true,
  "data": {
    "messageId": "<string>",
    "response": "<string>"
  }
}

Body

application/json
platform
enum<string>
required
Available options:
discord,
telegram,
twitter
messageId
string
required
channelId
string
required
userId
string
required
content
string
required
attachments
object[]
metadata
object

Response

Message processed successfully

success
boolean
data
object