# Webinar registration api post request doesn't save all data for registrant

**URL:** <https://devforum.zoom.us/t/webinar-registration-api-post-request-doesnt-save-all-data-for-registrant/22854>\
**Category:** API and Webhooks\
**Created:** [July 1, 2020, 7:35am UTC](https://devforum.zoom.us/t/webinar-registration-api-post-request-doesnt-save-all-data-for-registrant/22854 "2020-07-01T07:35:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohitkakkar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mohitkakkar/32/11278_2.png) [@mohitkakkar](https://devforum.zoom.us/u/mohitkakkar)\
**Post date:** [July 1, 2020, 7:35am UTC](https://devforum.zoom.us/t/webinar-registration-api-post-request-doesnt-save-all-data-for-registrant/22854/1 "2020-07-01T07:35:17Z")

</div>

**Description**  
I am using php language and zoom api v2 to post registrant data for zoom webinars. However, api is just storing basic data for registrant (email, first\_name, last\_name). Other data like (country, state, city, zip, phone) is not getting stored.

**Error**  
No error message. API returns successfully newly created registrant object.

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
JWT

**Which Endpoint/s?**  
$client-\>request(‘POST’, ‘/webinars/’ . $webinar\_id . ‘/registrants’, , [  
‘first\_name’ =\> $registrant\_first\_name,  
‘last\_name’ =\> $registrant\_last\_name,  
‘email’ =\> $registrant\_email,  
‘address’ =\> $registrant\_address,  
‘city’ =\> $registrant\_city,  
‘country’ =\> $registrant\_country,  
‘zip’ =\> $registrant\_postal\_code,  
‘state’ =\> $registrant\_state\_province,  
‘phone’ =\> ‘00000000’,  
]);

Please help. Thanks.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 6, 2020, 7:06pm UTC](https://devforum.zoom.us/t/webinar-registration-api-post-request-doesnt-save-all-data-for-registrant/22854/2 "2020-07-06T19:06:32Z")

</div>

Hey @mohitkakkar,

Can you share your request body in JSON format so I can investigate your issue in postman?

Duplicate thread:

> [@Add Webinar Registrant is not saving additional information beyond Name & Email](https://devforum.zoom.us/t/add-webinar-registrant-is-not-saving-additional-information-beyond-name-email/4371/15):
>
> Hey @mariaeramosmorales, Can you please share your request body when calling the [add registrant endpoint](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarregistrantcreate) so I can debug? We think there is an issue with your request body JSON. Thanks, Tommy

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 10:34pm UTC](https://devforum.zoom.us/t/webinar-registration-api-post-request-doesnt-save-all-data-for-registrant/22854/3 "2020-08-21T22:34:40Z")

</div>


