eToro · Example Payload

Createacommentonapost Request

Social TradingCopy TradingInvestingMarket DataPortfolio ManagementFintechTradingStocksCryptocurrencyETFs

Createacommentonapost Request is an example object payload from eToro, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

pathmethodtypeexample

Example Payload

createACommentOnAPost-request.json Raw ↑
{
  "path": "/api/v1/posts/{postId}/comments",
  "method": "post",
  "type": "request",
  "example": {
    "textComment": {
      "summary": "Plain text comment",
      "value": {
        "message": "Great analysis \u2014 I've been watching $TSLA closely too."
      }
    },
    "commentWithAttachment": {
      "summary": "Comment with an image attachment",
      "value": {
        "message": "Check out this chart I made!",
        "attachments": [
          {
            "url": "https://cdn.etoro.com/rich-media/images/johndoe/abc-2025-01-15.jpg",
            "mediaType": "Image"
          }
        ]
      }
    }
  }
}