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

Response

200
application/json

Message processed successfully

The response is of type object.