# API size limits

**URL:** https://meta.discourse.org/t/api-size-limits/298646
**Category:** Development
**Tags:** rest-api
**Created:** [March 9, 2024, 12:33am UTC](https://meta.discourse.org/t/api-size-limits/298646 "2024-03-09T00:33:23Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Isambard](https://avatars.discourse-cdn.com/v4/letter/i/858c86/32.png) [@Isambard](https://meta.discourse.org/u/Isambard)
#### Post date: [March 9, 2024, 12:33am UTC](https://meta.discourse.org/t/api-size-limits/298646/1 "2024-03-09T00:33:23Z")

</div>

Are there any size limits on API calls? I’m looking to add 70’000 members into a group using the add group members API call which I guess is roughly 2 megabytes of payload data in the call.

---

<div class="post-metadata">

### Author: ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)
#### Post date: [March 11, 2024, 7:03pm UTC](https://meta.discourse.org/t/api-size-limits/298646/2 "2024-03-11T19:03:56Z")

</div>

No, but there probably should be. I’d be surprised if that worked because there is a limit depending on how long the request takes. It could time out on you. Probably best to break it up into many api calls and space it out. There is a rate limit on invites if you are passing in `notify_users: true` as that sends out emails.
