v1

latestOpenAPI 3.0.12026-07-26171200932.8 KB
Social Feeds

Create a new discussion post

Rate limit: 20 requests per 60 seconds. This is a dedicated limit for this endpoint — it is not shared with (pooled across) any other endpoint, so the full rate is available to this endpoint alone.


[DEPRECATED — use POST /api/v1/posts instead] Creates a new discussion post in the feed system. This endpoint allows users to create posts that can be associated with instruments, users, or general discussions.

post/api/v1/feeds/post

Headers

x-request-idstring uuid required
Example:9e009c48-0816-4f7d-8236-1ea750d1b49a

A unique request identifier.

x-api-keystring password required
Example:lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663

API key for authentication.

x-user-keystring password required
Example:eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_

User-specific authentication key.

Request body

messagestring

Post text content (max 1000 chars)

Example request

{
  "message": "Just opened a long position on $TSLA — strong earnings ahead!",
  "attachments": [
    {
      "url": "https://cdn.etoro.com/rich-media/images/johndoe/abc-2025-01-15.jpg",
      "title": "Tesla Q4 Earnings Chart",
      "host": "cdn.etoro.com",
      "description": "Tesla quarterly earnings breakdown",
      "mediaType": "Image",
      "media": {
        "image": {
          "width": 1200,
          "height": 630,
          "url": "https://cdn.etoro.com/rich-media/images/johndoe/abc-2025-01-15.jpg"
        }
      }
    }
  ]
}

Response

Post accepted successfully

idstring

Unique post ID

obsoleteIdstring

Legacy numeric post ID

createdstring date-time

Creation timestamp

updatedstring date-time nullable

Last-edited timestamp

isDeletedboolean

True when the post has been soft-deleted

type'Default' | 'Share' | 'MarketEvent' | 'Trade' | 'Order' | 'Copy' | 'Poll' | 'Article'

Post type

isSpamboolean

True when the post is classified as spam

editStatus'None' | 'Edited' | 'Moderated'

Edit lifecycle status