Skip to content

Enable MetaStats API


Enables MetaStats API for trading account. The account will be temporary stopped to perform this action. Note that this is a paid option

POST /users/current/accounts/:accountId/enable-metastats-api

For more information see swagger documentation


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

Path parameters

Name Type Required Description
accountId string Yes Trading account id


  • 204 - MetaStats API enabled for account
  • 401 - Authorization failed. Response schema: Error
  • 403 - Method or resource access permissions are missing. Response schema: Error
  • 404 - Account not found. Response schema: Error


Example request:

curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'auth-token: token' ''