# Start a meeting via API

**URL:** <https://devforum.zoom.us/t/start-a-meeting-via-api/28316>\
**Category:** API and Webhooks\
**Created:** [August 27, 2020, 11:09am UTC](https://devforum.zoom.us/t/start-a-meeting-via-api/28316 "2020-08-27T11:09:43Z")\
**Posts on this page:** 9\
**Page:** 2

<div class="post-metadata">

**Author:** ![Marcus1](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@Marcus1](https://devforum.zoom.us/u/Marcus1)\
**Post date:** [September 25, 2020, 10:30am UTC](https://devforum.zoom.us/t/start-a-meeting-via-api/28316/21 "2020-09-25T10:30:16Z")

</div>

Hi Will

We were following the instructions at the reference page ([https://marketplace.zoom.us/docs/sdk/native-sdks/web/build/signature](https://marketplace.zoom.us/docs/sdk/native-sdks/web/build/signature)) regarding Heroku:

![~WRD0000.jpg](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/5/52d5f1c08649212fe6768d2cacdcf8df711810d9.jpeg)

![image001.jpg](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/f/f464dd1c7c382c015b3fc53eebe1cd1aadffee61.jpeg)

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [September 28, 2020, 4:51pm UTC](https://devforum.zoom.us/t/start-a-meeting-via-api/28316/22 "2020-09-28T16:51:01Z")

</div>

Hey @Marcus1,

Thanks for clarifying—is it possible you’re passing undefined values or no values to the generator? The last signature you shared was missing values for `meetingId` and `role`  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/a/6acd160fd2d7c558668c9d2f1bb9a1686a5c7f98.png)

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![Marcus1](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@Marcus1](https://devforum.zoom.us/u/Marcus1)\
**Post date:** [September 28, 2020, 5:13pm UTC](https://devforum.zoom.us/t/start-a-meeting-via-api/28316/23 "2020-09-28T17:13:26Z")

</div>

Hi Will

This is the way we are calling it via ajax:

$.ajax({  
url: “[https://assessmaqerx.herokuapp.com](https://assessmaqerx.herokuapp.com)”,  
type: ‘POST’,  
data:{  
“apiKey” : ‘’,  
“apiSecret” : ‘’,  
“meetingNumber”: ‘’,  
“role”: 1  
},  
success: function (result) {  
f\_meeting(result.signature);  
},  
error: function(xhr, status, error) {  
alert(xhr.responseText);  
}  
})

Just changed some values. If something is missing, is here, can you please help us to find?

Thank you!

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [September 29, 2020, 8:58pm UTC](https://devforum.zoom.us/t/start-a-meeting-via-api/28316/24 "2020-09-29T20:58:26Z")

</div>

Hey @Marcus1,

Thanks for updating this—can you share the signature this is generating? I’m happy to take another look now.

Thanks!  
Will

---

<div class="post-metadata">

**Author:** ![Marcus1](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@Marcus1](https://devforum.zoom.us/u/Marcus1)\
**Post date:** [September 30, 2020, 10:15am UTC](https://devforum.zoom.us/t/start-a-meeting-via-api/28316/25 "2020-09-30T10:15:57Z")

</div>

Hi Will, thank you again!  
Sorry, I think I did not make myself clear, this is exactly the code that generated the last signature I sent you, the one you told me was full of “undefined”. But, as you can see, everything seems to be defined. Guess we are reaching a dead end here…

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 1, 2020, 8:38pm UTC](https://devforum.zoom.us/t/start-a-meeting-via-api/28316/26 "2020-10-01T20:38:22Z")

</div>

Hey @Marcus1,

Apologies for any confusion! In taking a look at the body you’re sending to your heroku generator, I noticed you’re passing some extra fields it appears. If you’re using [our generator flow](https://marketplace.zoom.us/docs/sdk/native-sdks/web/build/signature), you only need to POST the `meetingNumber` and `role` fields:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/e/de2eef7244c68e1e16c1b9c66e60f26b8f786360.png)

Can you adjust the request body and let me know if you’re still having trouble?

Thanks!  
Will

---

<div class="post-metadata">

**Author:** ![Marcus1](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@Marcus1](https://devforum.zoom.us/u/Marcus1)\
**Post date:** [October 2, 2020, 11:21am UTC](https://devforum.zoom.us/t/start-a-meeting-via-api/28316/27 "2020-10-02T11:21:17Z")

</div>

Hi Will

That was how we where calling it in our first attempt, then you wrote:

_"I’m still seeing `undefined` s in your signature:_

_Can you please ensure you’re passing valid values for the fields I referenced in the above post?"_

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 2, 2020, 8:42pm UTC](https://devforum.zoom.us/t/start-a-meeting-via-api/28316/28 "2020-10-02T20:42:19Z")

</div>

Hey @Marcus1,

Sorry for any confusion—depending on whether you’re using the heroku generator or generating the signature in your code, your request may or may not include the api credentials.

If you’re using our heroku generator, the api key and secret are passed when you create/deploy your Heroku URL, so you don’t need to pass them in the request body.

Let me know if this clears things up.

Best,  
Will

---

<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:** [November 2, 2020, 6:42am UTC](https://devforum.zoom.us/t/start-a-meeting-via-api/28316/29 "2020-11-02T06:42:20Z")

</div>

Closed on November 2, 2020, 6:42am UTC

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

[Previous page](https://devforum.zoom.us/t/start-a-meeting-via-api/28316.md?page=1)
