Skip to main content
POST

Authorizations

Authorization
string
header
required

eToro OAuth2. Each operation lists the scopes that grant access as separate security requirements (OpenAPI OR semantics): the caller's token only needs ONE of them — you do NOT need all of them. The same scopes back the x-api-key/x-user-key credential pair.

Headers

x-request-id
string<uuid>
required

A unique request identifier.

Example:

"c1d905f8-2e81-4045-bbd8-b30a9415ef55"

x-api-key
string<password>
required

API key for authentication.

Example:

"lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663"

x-user-key
string<password>
required

User-specific authentication key.

Example:

"eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_"

Path Parameters

postId
string<uuid>
required

ID of the parent post (UUID)

commentId
string<uuid>
required

ID of the comment (UUID)

Body

application/json

Reply content. message is required; attachments is optional.

Request body for creating a comment or reply

message
string
required

Comment text (max 500 chars)

Example:

"Great analysis! I agree — the fundamentals are solid."

attachments
object[]

List of attachments for a post or comment (request body format)

Response

Reply created

A comment (or reply) on a post, wrapped with interaction data

entity
object

Core comment data

repliesCount
integer

Number of direct replies to this comment

Example:

2

replies
array

Inline reply preview. Each entry has the same shape as Comment; nested replies arrays are not populated at this level.

emotionsData
object

Aggregated emotions (likes) on an entity

requesterContext
object

Requester's relationship state with the comment