Skip to content

Get server authentication logs#

About#

Get server authentication logs. Start date and end date should not differ by more than a day. It can take long time to execute this endpoint.

GET /users/current/mt5/provisioning-profiles/:profileId/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

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