get https://{tenant}/myaccount/api/v1/me/personalData
You can download the account information of the authenticated account in HTML or JSON format by calling this endpoint.
To use this endpoint, the "Allow customers to download their data" option must be turned on in the Self-service policy settings.