Skip to content

Get account authentication logs#

About#

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

GET /users/current/mt4/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 MT4 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 server authentication logs. Response schema: MetaTrader4Log
  • 202 - Retrieval of authentication logs is in progress. Response schema: {retryAfter: number, message: string}
  • 400 - Request validation failed. Response schema: Error
  • 429 - Too many requests error. Response schema: Error