# API for fitness app

**URL:** <https://devforum.zoom.us/t/api-for-fitness-app/21517>\
**Category:** API and Webhooks\
**Created:** [June 16, 2020, 5:41pm UTC](https://devforum.zoom.us/t/api-for-fitness-app/21517 "2020-06-16T17:41:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![susan](https://avatars.discourse-cdn.com/v4/letter/s/c5a1d2/32.png) [@susan](https://devforum.zoom.us/u/susan)\
**Post date:** [June 16, 2020, 5:41pm UTC](https://devforum.zoom.us/t/api-for-fitness-app/21517/1 "2020-06-16T17:41:16Z")

</div>

Hello, I want to use the API in my fitness app to do the following use cases and would like to know if And how this is possible With Zoom API.

Our app allows multiple 3rd party fitness instructors to advertise their virtual (over Zoom) fitness classes for sale. Each instructor uses their own personal Zoom account and is the host.

Can we:

1. Allow a user (that is signed in to our app) of our app to purchase a class for $10 let’s say. Once they purchase the class we would reveal the link to the zoom meeting room to view the class.

2. when the user purchases the class on our app they are added to the Zoom meeting as a registered user.

3. when they tap the link from our app it authenticates them as a registered user so that they can access the zoom meeting

4. the zoom meeting would open in the native zoom client they would download.

5. if a person has the link to the meeting but did not purchase it they would not be allowed into the meeting.

6. if a person did purchase the class but is not signed in to our app, they would have to sign in first to our app to view.

Essentially is there a way to authenticate access to a Zoom meeting using only our app log in And account credentials.

Thank you

---

<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:** [June 19, 2020, 5:00pm UTC](https://devforum.zoom.us/t/api-for-fitness-app/21517/2 "2020-06-19T17:00:54Z")

</div>

Hey @susan,

> [@susan](#):
>
> Allow a user (that is signed in to our app) of our app to purchase a class for $10 let’s say. Once they purchase the class we would reveal the link to the zoom meeting room to view the class.

Yes, but you will have to handle the payments through Stripe or some other payments platform.

> [@susan](#):
>
> when the user purchases the class on our app they are added to the Zoom meeting as a registered user.

You can use the [Add Registrant API](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingregistrantcreate) to authorize the user to join the meeting, or handle this custom and only give out the meeting ID and password to the respective people who have paid.

> [@susan](#):
>
> when they tap the link from our app it authenticates them as a registered user so that they can access the zoom meeting

See answer above.

> [@susan](#):
>
> the zoom meeting would open in the native zoom client they would download.

Just have them click the start\_url if instructor or join\_url if participant and it will work!

> [@susan](#):
>
> if a person has the link to the meeting but did not purchase it they would not be allowed into the meeting.

You can handle this via meeting registration, and turning on the setting to not allowing users to join the meeting from multiple devices.

> [@susan](#):
>
> if a person did purchase the class but is not signed in to our app, they would have to sign in first to our app to view.

If they have the Zoom join link they will be able to join the meeting, but you should only show the join link as a button in your app so users cannot share it.

Let me know if that helps! 🙂

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:09pm UTC](https://devforum.zoom.us/t/api-for-fitness-app/21517/3 "2020-08-21T22:09:05Z")

</div>

Closed on August 21, 2020, 10:09pm UTC


