# Request Body should be a valid JSON object in creating invite link api

**URL:** <https://devforum.zoom.us/t/request-body-should-be-a-valid-json-object-in-creating-invite-link-api/76429>\
**Category:** API and Webhooks\
**Created:** [September 23, 2022, 5:57am UTC](https://devforum.zoom.us/t/request-body-should-be-a-valid-json-object-in-creating-invite-link-api/76429 "2022-09-23T05:57:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![shivendra9459](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shivendra9459/32/41636_2.png) [@shivendra9459](https://devforum.zoom.us/u/shivendra9459)\
**Post date:** [September 23, 2022, 5:57am UTC](https://devforum.zoom.us/t/request-body-should-be-a-valid-json-object-in-creating-invite-link-api/76429/1 "2022-09-23T05:57:56Z")

</div>

In this api call  
[https://api.zoom.us/v2/meetings/75387754507/invite\_links](https://api.zoom.us/v2/meetings/75387754507/invite_links)  
getting error  
  
`300`  
Request Body should be a valid JSON object.  
  
Please help me to fix this

{  
“ttl”: 3600,  
“attendees”: [  
{  
“name”: “Mike Brown”  
},  
{  
“name”: “Mike Brown”  
},  
{  
“name”: “Mike Brown”  
}  
]  
}

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [September 26, 2022, 1:40pm UTC](https://devforum.zoom.us/t/request-body-should-be-a-valid-json-object-in-creating-invite-link-api/76429/2 "2022-09-26T13:40:26Z")

</div>

Hi @shivendra9459

Thanks for reaching out to the Zoom Developer Forum, I am happy to help here!  
Could you please double check that your meeting ID is valid and has not expired yet?

---

<div class="post-metadata">

**Author:** ![shivendra9459](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/shivendra9459/32/41636_2.png) [@shivendra9459](https://devforum.zoom.us/u/shivendra9459)\
**Post date:** [September 27, 2022, 6:20am UTC](https://devforum.zoom.us/t/request-body-should-be-a-valid-json-object-in-creating-invite-link-api/76429/3 "2022-09-27T06:20:03Z")

</div>

Thanks for responding, This issue is fixed. Actually I am calling this API from postman so this getting this error dont know why bu when I called this api from my code (reactjs). This issue is fixed.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [September 27, 2022, 11:16pm UTC](https://devforum.zoom.us/t/request-body-should-be-a-valid-json-object-in-creating-invite-link-api/76429/4 "2022-09-27T23:16:49Z")

</div>

Happy to hear this is not an issue anymore! @shivendra9459  
Feel free to reach out back to us whenever you need to!

---

<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:** [October 1, 2023, 2:53pm UTC](https://devforum.zoom.us/t/request-body-should-be-a-valid-json-object-in-creating-invite-link-api/76429/5 "2023-10-01T14:53:32Z")

</div>

Closed on October 1, 2023, 2:53pm UTC

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