# How can I perform domain verification for my app if am using \`herokuapp.com\`

**URL:** <https://devforum.zoom.us/t/how-can-i-perform-domain-verification-for-my-app-if-am-using-herokuapp-com/25500>\
**Category:** API and Webhooks\
**Created:** [July 28, 2020, 7:43pm UTC](https://devforum.zoom.us/t/how-can-i-perform-domain-verification-for-my-app-if-am-using-herokuapp-com/25500 "2020-07-28T19:43:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![margalight](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/margalight/32/12645_2.png) [@margalight](https://devforum.zoom.us/u/margalight)\
**Post date:** [July 28, 2020, 7:43pm UTC](https://devforum.zoom.us/t/how-can-i-perform-domain-verification-for-my-app-if-am-using-herokuapp-com/25500/1 "2020-07-28T19:43:13Z")

</div>

**Description**  
I building an app using nodeJs and am currently using Heroku, I have manged to set up the zoom Oauth and everything but I can’t seem to use the publishable;e link with other so I decided to verify my domain with my current app but can’t to do it

**Error**  
The full error message or issue you are running into.

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
Knowing the endpoint/s can help us to identify your issue faster. Please link the ones you need help/have a question with.

**Which Endpoint/s?**  
Knowing the API endpoint/s can help us to identify your issue faster. Please link the ones you need help/have a question with.

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. Request URL / Headers (without credentials) / Body
2. See error

**Screenshots (If applicable)**  
If applicable, add screenshots to help explain your problem.

**Additional context**  
Add any other context about the problem here.

---

<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 30, 2020, 9:26pm UTC](https://devforum.zoom.us/t/how-can-i-perform-domain-verification-for-my-app-if-am-using-herokuapp-com/25500/2 "2020-07-30T21:26:08Z")

</div>

Hey @margalight,

You can add a GET route in your heroku Node.js server to verify your domain, like what I have done here:

> <https://github.com/zoom/unsplash-chatbot/blob/master/index.js#L42>

If you aren’t able to do this, please email [developersupport@zoom.us](mailto:developersupport@zoom.us) requesting us to validate your domain as a txt record.

Let me know if that helps! 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![margalight](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/margalight/32/12645_2.png) [@margalight](https://devforum.zoom.us/u/margalight)\
**Post date:** [August 4, 2020, 7:18pm UTC](https://devforum.zoom.us/t/how-can-i-perform-domain-verification-for-my-app-if-am-using-herokuapp-com/25500/3 "2020-08-04T19:18:51Z")

</div>

Thanks for the assist, I have tried it but still unsuccessful.

---

<div class="post-metadata">

**Author:** ![margalight](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/margalight/32/12645_2.png) [@margalight](https://devforum.zoom.us/u/margalight)\
**Post date:** [August 4, 2020, 7:20pm UTC](https://devforum.zoom.us/t/how-can-i-perform-domain-verification-for-my-app-if-am-using-herokuapp-com/25500/4 "2020-08-04T19:20:38Z")

</div>

```
  async getTerms(req: Request, res: Response): Promise<void> {
    res.send(
      'By installing this app you accept connectedly to use your zoom account to create,update and modify meetings.',
    );
  }

  async getPolicy(req: Request, res: Response): Promise<void> {
    res.send('Policy will be provide upon official launch of the app.');
  }

  async getSupport(req: Request, res: Response): Promise<void> {
    res.send('Please send an email to support@connectedly.com for assistance');
  }

  async verify(req: Request, res: Response): Promise<void> {
    res.send(ZOOM_VERIFICATION_CODE);
  }

```

I wrote this in my controller and  
zoomRouter.get(’/terms’, zoomController.getTerms);  
zoomRouter.get(’/policy’, zoomController.getPolicy);  
zoomRouter.get(’/support’, zoomController.getSupport);  
zoomRouter.get(’/zoomverify/verifyzoom.html’, zoomController.verify);

---

<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:** [August 5, 2020, 9:51pm UTC](https://devforum.zoom.us/t/how-can-i-perform-domain-verification-for-my-app-if-am-using-herokuapp-com/25500/5 "2020-08-05T21:51:49Z")

</div>

Hey @margalight,

Are you able to visit the `zoomverify/verifyzoom.html` path in a browser and see the code?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![margalight](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/margalight/32/12645_2.png) [@margalight](https://devforum.zoom.us/u/margalight)\
**Post date:** [August 6, 2020, 8:55am UTC](https://devforum.zoom.us/t/how-can-i-perform-domain-verification-for-my-app-if-am-using-herokuapp-com/25500/6 "2020-08-06T08:55:51Z")

</div>

> [@margalight](#):
>
> /zoomverify/verifyzoom.htm

yes it displays the code from the verification  
[https://connectedly-beta.herokuapp.com/api/v1/zoom/zoomverify/verifyzoom.html](http://verification)  
try it

---

<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:** [August 7, 2020, 7:28pm UTC](https://devforum.zoom.us/t/how-can-i-perform-domain-verification-for-my-app-if-am-using-herokuapp-com/25500/7 "2020-08-07T19:28:57Z")

</div>

Hey @margalight,

That looks perfect. Can you try again in your app marketplace settings? If there is an error please send a screenshot of it to me.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [August 17, 2020, 7:29pm UTC](https://devforum.zoom.us/t/how-can-i-perform-domain-verification-for-my-app-if-am-using-herokuapp-com/25500/8 "2020-08-17T19:29:00Z")

</div>

Closed on August 17, 2020, 7:29pm UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
