Skip to content

Read account replicas

About

Returns MetaTrader account replicas for current user account

GET /users/current/accounts:accountId/replicas

For more information see swagger documentation

Headers

Name Type Required Description
auth-token string Yes Authorization token. See Authentication and authorization

Path parameters

Name Type Required Description
accountId string Yes MetaTrader primary account id

Response

Examples

Example request:

curl -X GET --header 'Accept: application/json' --header 'auth-token: token' 'https://mt-provisioning-api-v1.agiliumtrade.agiliumtrade.ai/users/current/accounts/1eda642a-a9a3-457c-99af-3bc5e8d5c4c9/replicas'

Example response:

[
  {
    "_id": "861ceafd-a58e-2fb9-a9bb-c9dd449f3bb4",
    "magic": 123456,
    "connectionStatus": "DISCONNECTED",
    "state": "DEPLOYED",
    "region": "london",
    "quoteStreamingIntervalInSeconds": 5,
    "copyFactoryResourceSlots": 1,
    "resourceSlots": 1,
    "extensions": [],
    "tags": [],
    "reliability": "high"
  }
]