# Campaign events APi

**URL:** <https://community.hubspot.com/t/campaign-events-api/99497>\
**Category:** APIs & Integrations\
**Tags:** events\
**Created:** [February 5, 2024, 8:02pm UTC](https://community.hubspot.com/t/campaign-events-api/99497 "2024-02-05T20:02:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pac0001](https://avatars.discourse-cdn.com/v4/letter/p/a3d4f5/32.png) [@pac0001](https://community.hubspot.com/u/pac0001)\
**Post date:** [February 5, 2024, 8:02pm UTC](https://community.hubspot.com/t/campaign-events-api/99497/1 "2024-02-05T20:02:33Z")

</div>

I need to pull ALL of our email events into our DataWarehouse, regardless of the Campaign. I am using the Event API, inside a loop, adjusting the offset, using the value from the previous API response.

[[https://api.hubapi.com/email/public/v1/events?limit=1000&offset=Ch4KFQi6583QqNa5jrQBEJvghMy2y4S0cRj3hISy1jE](https://api.hubapi.com/email/public/v1/events?limit=1000&offset=Ch4KFQi6583QqNa5jrQBEJvghMy2y4S0cRj3hISy1jE)]. This is working, but is slow.

I have 2 questions . . .

1. Is 1000 the max limit?

2. Is there a different API more suited to a batch environment?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [February 6, 2024, 7:16pm UTC](https://community.hubspot.com/t/campaign-events-api/99497/2 "2024-02-06T19:16:05Z")

</div>

Hi, @pac0001. Thanks for your question.

Q1. That is correct – “[The maximum allowed value is 1000.](https://legacydocs.hubspot.com/docs/methods/email/get_events#:~:text=The%20maximum%20allowed%20value%20is%201000.)”

Q2. There is not a batch equivalent for this endpoint

I know this is not the answer you were looking for. I hope this helps get you moving forward. — Jaycee

---

<div class="post-metadata">

**Author:** ![pac0001](https://avatars.discourse-cdn.com/v4/letter/p/a3d4f5/32.png) [@pac0001](https://community.hubspot.com/u/pac0001)\
**Post date:** [February 7, 2024, 2:22pm UTC](https://community.hubspot.com/t/campaign-events-api/99497/3 "2024-02-07T14:22:43Z")

</div>

Thank you for your response.

Is there a limit to the # of concurrent API calls I can make?

As a work around, I added the “eventType” to my request. Then for each eventType, I make the API call. The documentation shows 11 different event types . . . can I run 11 API calls in parallel?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [February 9, 2024, 7:49pm UTC](https://community.hubspot.com/t/campaign-events-api/99497/4 "2024-02-09T19:49:05Z")

</div>

Hi, @pac0001. There isn’t a concurrency limit listed in the [Rate Limit documentation](https://developers.hubspot.com/docs/api/usage-details#rate-limits), only calls per second and per 24-hour period. You may need to do some testing in your app to avoid hitting those limits if you try to make concurrent calls this way.

Best,

Jaycee
