# Some small issue about the api \[POST /webinars/{webinarId}/registrants\]

**URL:** <https://devforum.zoom.us/t/some-small-issue-about-the-api-post-webinars-webinarid-registrants/87414>\
**Category:** Webinars\
**Tags:** api\
**Created:** [April 26, 2023, 10:03am UTC](https://devforum.zoom.us/t/some-small-issue-about-the-api-post-webinars-webinarid-registrants/87414 "2023-04-26T10:03:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jiangqimin](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jiangqimin/32/45151_2.png) [@jiangqimin](https://devforum.zoom.us/u/jiangqimin)\
**Post date:** [April 26, 2023, 10:03am UTC](https://devforum.zoom.us/t/some-small-issue-about-the-api-post-webinars-webinarid-registrants/87414/1 "2023-04-26T10:03:11Z")

</div>

I would like to confirm a few details about the api

[https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/webinarRegistrantCreate](https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/webinarRegistrantCreate)

```auto

Error Code: 3000

This webinar does not have registration as required: {webinarId}.

Error Code: 3000

You have reached the limit for the number of attendees you can add. Contact Zoom Support for more information.

Error Code: 3000

The Zoom REST API does not support paid registration.

```

The above three errors appear to have different messages, why is the code set to the same one?

Can we only judge errors based on the content of the message?

```auto

HTTP Status Code: 429

You have exceeded the daily rate limit of "{0}" for Add a webinar registrant API requests for the registrant "{1}". You can resume these API requests at GMT 00:00:00.

```

According to the instructions of this API, the limit should be calculated in seconds.  
[https://developers.zoom.us/docs/api/rest/rate-limits/](https://developers.zoom.us/docs/api/rest/rate-limits/)  
30 requests/second？

Why it looks like we need to wait until the next day to continue using it?

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [April 27, 2023, 6:28pm UTC](https://devforum.zoom.us/t/some-small-issue-about-the-api-post-webinars-webinarid-registrants/87414/2 "2023-04-27T18:28:43Z")

</div>

Hi @jiangqimin  
Thanks for reaching out to us!  
The limit for adding registrants to a webinar/meeting was introduced last year and it limits you to only be able to add a registrant to the same webinar up to 3 times.  
So what you are seeing is expected

---

<div class="post-metadata">

**Author:** ![jiangqimin](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jiangqimin/32/45151_2.png) [@jiangqimin](https://devforum.zoom.us/u/jiangqimin)\
**Post date:** [April 28, 2023, 5:59am UTC](https://devforum.zoom.us/t/some-small-issue-about-the-api-post-webinars-webinarid-registrants/87414/3 "2023-04-28T05:59:29Z")

</div>

@elisa.zoom

I try it ,and it looks like the limit is 3 when i want registrant with same email. thanks.

so.if I make the request over 30 requests/second, what code&message I will get ?  
I want to be able to distinguish between these two situations。

On the other side, if I send a wrong email, I get this

```auto
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<result>
    <code>300</code>
    <message>Validation Failed.</message>
    <errors>
        <field>email</field>
        <message>Invalid field.</message>
    </errors>
</result>

```

is there any way to make it return as json?(as the other error like)

---

<div class="post-metadata">

**Author:** ![jiangqimin](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jiangqimin/32/45151_2.png) [@jiangqimin](https://devforum.zoom.us/u/jiangqimin)\
**Post date:** [April 28, 2023, 6:27am UTC](https://devforum.zoom.us/t/some-small-issue-about-the-api-post-webinars-webinarid-registrants/87414/4 "2023-04-28T06:27:50Z")

</div>

I get json by set accept to ‘application/json’ in header. thanks.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [May 3, 2023, 8:34pm UTC](https://devforum.zoom.us/t/some-small-issue-about-the-api-post-webinars-webinarid-registrants/87414/5 "2023-05-03T20:34:36Z")

</div>

Thanks for sharing more details with me @jiangqimin  
I will share your feedback to our Documentation team so they can make adjustments to it
