Skip to content

Get system log#

About#

Get system logs. Start date and end date should not differ by more than a month. Can take a long time

GET /users/current/mt5/provisioning-profiles/:profileId/accounts/:login/authentication-logs

For more information see swagger documentation

Headers#

Name Type Required Description
auth-token string Yes MetaApi account token. See Authentication & authorization

Path parameters#

Name Type Required Description
profileId string Yes Id of the provisioning profile that will be used as the basis
login string Yes MT5 account login

Query parameters#

Name Type Required Description
from number The start date for requesting logs, in YYYY-MM-DD HH:mm:ss.SSS format
to number The end date for requesting logs, in YYYY-MM-DD HH:mm:ss.SSS format

Response#

  • 200 - Successfully get system logs. Response schema: MetaTrader4Log
  • 400 - Validation failed. Response schema: Error
  • 401 - Authorization failed. Response schema: Error
  • 404 - Provisioning profile with specified id not found. Response schema: Error