# Rate Limiting for Management APIs

**URL:** <https://community.auth0.com/t/rate-limiting-for-management-apis/191209>\
**Category:** Get Help\
**Tags:** users, management-api\
**Created:** [August 28, 2025, 12:59pm UTC](https://community.auth0.com/t/rate-limiting-for-management-apis/191209 "2025-08-28T12:59:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Davidson.Mohanty](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/davidson.mohanty/32/70911_2.png) [@Davidson.Mohanty](https://community.auth0.com/u/Davidson.Mohanty)\
**Post date:** [August 28, 2025, 12:59pm UTC](https://community.auth0.com/t/rate-limiting-for-management-apis/191209/1 "2025-08-28T12:59:45Z")

</div>

Hi, i am looking at migrating 75k users from my legacy system to Auth0. I’ll be interacting with Create/Update User along with Password Change Ticket APIs. I was wondering if i would hit any sort of rate limits. All the calls will be from a server.

Thank you in advance.

Regards.

---

<div class="post-metadata">

**Author:** ![teodor.andrei](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/teodor.andrei/32/75320_2.png) [@teodor.andrei](https://community.auth0.com/u/teodor.andrei)\
**Post date:** [August 28, 2025, 3:01pm UTC](https://community.auth0.com/t/rate-limiting-for-management-apis/191209/3 "2025-08-28T15:01:46Z")

</div>

Hi @Davidson.Mohanty, and welcome to the Auth0 Community!

A script that attempts to migrate 75,000 users as fast as possible without any delays will almost certainly hit the rate limit, receive an HTTP `429 Too Many Requests` error, and be temporarily blocked from making further requests.

Please take a look at our [Rate Limit Policy](https://auth0.com/docs/troubleshoot/customer-support/operational-policies/rate-limit-policy) and most importantly at the information found [here](https://auth0.com/docs/troubleshoot/customer-support/operational-policies/rate-limit-policy/rate-limit-use-cases#predict-when-requests-to-a-tenant-will-be-rate-limited-:~:text=Predict%20when%20requests%20to%20a%20tenant%20will%20be%20rate%20limited%C2%A0) to solve your use case.

In short, you will have to:

1. **Check the Rate Limit Headers:** After every API call, inspect the HTTP headers in the response.

- `X-RateLimit-Limit`: The total number of requests you can make in the current time window.
- `X-RateLimit-Remaining`: The number of requests you have left.
- `X-RateLimit-Reset`: A UTC epoch timestamp indicating when the limit will reset.

1. **Handle `429` Errors:** When you receive an HTTP `429` status code, your script should pause. Use the `X-RateLimit-Reset` header to determine how long to wait before making the next request.

You could add a **sleep** in your migration logic as a simple mechanism but a more robust approach is to implement an **exponential backoff** strategy. This means if you get a `429` error, you wait for a short period (e.g., 1 second), then retry. If it fails again, you wait longer (e.g., 2 seconds), then 4 seconds, and so on. This prevents overwhelming the API as soon as the limit resets.

I hope this information answers your question!  
Teodor.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [September 11, 2025, 3:02pm UTC](https://community.auth0.com/t/rate-limiting-for-management-apis/191209/4 "2025-09-11T15:02:01Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
