eToro · Schema

GetAllowedScopesResponse

Social TradingCopy TradingInvestingMarket DataPortfolio ManagementFintechTradingStocksCryptocurrencyETFs

Properties

Name Type Description
scopes array The permission scope names that may be assigned to agent-portfolio user tokens.
View JSON Schema on GitHub

JSON Schema

GetAllowedScopesResponse.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/etoro/refs/heads/main/json-schema/GetAllowedScopesResponse.json",
  "title": "GetAllowedScopesResponse",
  "type": "object",
  "properties": {
    "scopes": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ScopeNameItem"
      },
      "description": "The permission scope names that may be assigned to agent-portfolio user tokens.",
      "example": [
        {
          "name": "etoro-public:trade.real:read"
        },
        {
          "name": "etoro-public:trade.real:write"
        }
      ]
    }
  }
}