Hi,
I need to access information I stored in auth0 metadata for reporting purpose and thinking of building a service that executes following steps:
- Get management API token
- Call exports users API and get job#
- Call get job error API to confirm that no error has occurred
- Poll job details API every 90 seconds for 30 mins until status is completed and retrieve location of download link
- Download file/data and generate report
Questions are
-
Regarding steps# 4, what’s the max. time Auth0 take to finish the job? I would like to poll until that time only.
-
Documentation tells - “The download link is valid for 60 seconds. If this time period expires, you have 24 hours to call it again before the job expires.” Does that mean download link will expire after 60 seconds from the time the job completed or it’s valid for 60 seconds from the time someone access it for the first time?
-
During all these time, if I just need to generate one token, will it only count as 1 token request against M2M quotas? Is M2M quota is based on token generation of API calls?