# Authorize and send form

**URL:** <https://devforum.zoom.us/t/authorize-and-send-form/8147>\
**Category:** API and Webhooks\
**Created:** [February 20, 2020, 6:21am UTC](https://devforum.zoom.us/t/authorize-and-send-form/8147 "2020-02-20T06:21:52Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![artyut](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@artyut](https://devforum.zoom.us/u/artyut)\
**Post date:** [February 20, 2020, 6:21am UTC](https://devforum.zoom.us/t/authorize-and-send-form/8147/1 "2020-02-20T06:21:52Z")

</div>

Can I authorize and send form data in one post request?

---

<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:** [February 20, 2020, 6:36am UTC](https://devforum.zoom.us/t/authorize-and-send-form/8147/2 "2020-02-20T06:36:38Z")

</div>

Hey @artyut,

With a [Zoom JWT Token](https://marketplace.zoom.us/docs/guides/authorization/jwt/jwt-with-zoom#jwt-for-testing), yes.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![artyut](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@artyut](https://devforum.zoom.us/u/artyut)\
**Post date:** [February 20, 2020, 2:04pm UTC](https://devforum.zoom.us/t/authorize-and-send-form/8147/3 "2020-02-20T14:04:27Z")

</div>

Can I log in to the part using JWT, and in the form send a POST request of the form [https://api.zoom.us/v2/webinars/xxx/registrants?first\_name={username}&phone={phone}&email={email}](https://api.zoom.us/v2/webinars/xxx/registrants?first_name=%7Busername%7D&phone=%7Bphone%7D&email=%7Bemail%7D)?

---

<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:** [February 20, 2020, 5:59pm UTC](https://devforum.zoom.us/t/authorize-and-send-form/8147/4 "2020-02-20T17:59:09Z")

</div>

Hey @artyut,

Yes. Just add the JWT Token as the Authorization bearer header.

`"Authorization": "Bearer JWT_TOKEN"`

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![artyut](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@artyut](https://devforum.zoom.us/u/artyut)\
**Post date:** [February 20, 2020, 6:21pm UTC](https://devforum.zoom.us/t/authorize-and-send-form/8147/5 "2020-02-20T18:21:42Z")

</div>

Yes, but i send

`https://api.zoom.us/v2/webinars/XXX/registrants?authorization=Bearer%20XXX&first_name={username}&last_name={username}&phone={phone}&email={email}` and result is bad

---

<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:** [February 20, 2020, 6:27pm UTC](https://devforum.zoom.us/t/authorize-and-send-form/8147/6 "2020-02-20T18:27:54Z")

</div>

Hey @artyut,

Please try:

`https://api.zoom.us/v2/webinars/XXX/registrants?access_token={JWT_TOKEN}&first_name={username}&last_name={username}&phone={phone}&email={email}`

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![artyut](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@artyut](https://devforum.zoom.us/u/artyut)\
**Post date:** [February 20, 2020, 6:48pm UTC](https://devforum.zoom.us/t/authorize-and-send-form/8147/7 "2020-02-20T18:48:58Z")

</div>

Dont works and with «access\_token», and with «authorization»

---

<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:** [February 21, 2020, 5:29am UTC](https://devforum.zoom.us/t/authorize-and-send-form/8147/8 "2020-02-21T05:29:46Z")

</div>

Hey @artyut,

Please provide the response body / error so we can debug.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![artyut](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@artyut](https://devforum.zoom.us/u/artyut)\
**Post date:** [February 21, 2020, 2:22pm UTC](https://devforum.zoom.us/t/authorize-and-send-form/8147/9 "2020-02-21T14:22:13Z")

</div>

error 124 «Invalid access token»

---

<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:** [February 21, 2020, 6:16pm UTC](https://devforum.zoom.us/t/authorize-and-send-form/8147/10 "2020-02-21T18:16:48Z")

</div>

Hey @artyut,

Please try setting the authorization in the [request header](https://developer.mozilla.org/en-US/docs/Glossary/Request_header).

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, 7:27pm UTC](https://devforum.zoom.us/t/authorize-and-send-form/8147/11 "2020-08-21T19:27:33Z")

</div>

Closed on August 21, 2020, 7:27pm UTC


