# Unable to create events sessions via API

**URL:** <https://devforum.zoom.us/t/unable-to-create-events-sessions-via-api/89679>\
**Category:** API and Webhooks\
**Created:** [June 6, 2023, 1:53am UTC](https://devforum.zoom.us/t/unable-to-create-events-sessions-via-api/89679 "2023-06-06T01:53:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RB\_GFMA](https://avatars.discourse-cdn.com/v4/letter/r/e19adc/32.png) [@RB\_GFMA](https://devforum.zoom.us/u/RB_GFMA)\
**Post date:** [June 6, 2023, 1:53am UTC](https://devforum.zoom.us/t/unable-to-create-events-sessions-via-api/89679/1 "2023-06-06T01:53:51Z")

</div>

Below entire postman data , excluded bearer token and the

POST [https://api.zoom.us/v2/zoom\_events/events/1vykMaTSSdio3uxJGhYtRA/sessions:](https://api.zoom.us/v2/zoom_events/events/1vykMaTSSdio3uxJGhYtRA/sessions:) {  
“Network”: {  
“addresses”: {  
“local”: {  
“address”: “172.18.2.251”,  
“family”: “IPv4”,  
“port”: 54403  
},  
“remote”: {  
“address”: “170.114.52.2”,  
“family”: “IPv4”,  
“port”: 443  
}  
},  
“tls”: {  
“reused”: false,  
“authorized”: true,  
“authorizationError”: null,  
“cipher”: {  
“name”: “TLS\_AES\_128\_GCM\_SHA256”,  
“standardName”: “TLS\_AES\_128\_GCM\_SHA256”,  
“version”: “TLSv1/SSLv3”  
},  
“protocol”: “TLSv1.3”,  
“ephemeralKeyInfo”: {},  
“peerCertificate”: {  
“subject”: {  
“country”: “US”,  
“stateOrProvince”: “California”,  
“locality”: “San Jose”,  
“organization”: “Zoom Video Communications, Inc.”,  
“commonName”: “_.zoom.us",  
“alternativeNames”: "DNS:_.zoom.us, DNS:zoom.us”  
},  
“issuer”: {  
“country”: “US”,  
“organization”: “DigiCert Inc”,  
“commonName”: “DigiCert TLS RSA SHA256 2020 CA1”  
},  
“validFrom”: “Apr 15 00:00:00 2023 GMT”,  
“validTo”: “May 1 23:59:59 2024 GMT”,  
“fingerprint”: “14:9F:5D:9E:08:49:BA:0E:12:A4:8F:90:BD:0F:D6:0C:2A:6D:D1:53”,  
“serialNumber”: “021c2faba6011a89efa67788c647e470”  
}  
}  
},  
“Request Headers”: {  
“content-type”: “application/json”,  
“accept”: “application/json”,  
“authorization”: “Bearer eyJzdiI6”,  
“user-agent”: “PostmanRuntime/7.29.2”,  
“cache-control”: “no-cache”,  
“postman-token”: “88a4cd86-b7f1-44df-9651-0df7ced16fc6”,  
“host”: “[api.zoom.us](http://api.zoom.us)”,  
“accept-encoding”: “gzip, deflate, br”,  
“connection”: “keep-alive”,  
“content-length”: “719”,  
“cookie”: “TS018dd1ba=01cfbc656ff71d44a52ec3f55ab18d975cf98c029784b345347c17d3ef06133eca99b39cd41c4789222f5dde91967bef9aaf68c79b; \_\_cf\_bm=SywvtX.eT8s1QrjSuNq7rbS22PmQXKxKEI.7.RyRCtQ-1686010176-0-ARU7ti2aJNPDuhnxAMfNF8JJRkaD+SxOtzG+wxArchV9btREtmdXPoS8GmaXGq1D8NBsg4FEXToeV+EAHmFyGS4=; \_zm\_chtaid=732; \_zm\_ctaid=rLlAm6zlQS6w2RzRMswfWQ.1686010176655.22525112f497ca8497d7c9814ab83b61; \_zm\_mtk\_guid=28531cf739f94c869baa973542c067c6; \_zm\_page\_auth=us06\_c\_o5rxb33XSZevu2MuuYBYfg; \_zm\_ssid=us06\_c\_xYl9qZivShq\_lFuX7MTGMg”  
},  
“Request Body”: “{\n "name": "Test Event API test session",\n "description": "",\n "start\_time": "2023-06-18T05:00:00Z",\n "end\_time": "2023-06-18T06:00:00Z",\n "timezone": "America/New\_York",\n "type": 2,\n \n "featured": false,\n "visible\_in\_landing\_page": true,\n "featured\_in\_lobby": false,\n "visible\_in\_lobby": true,\n "chat\_channel": false,\n "led\_by\_sponsor": false,\n "track\_labels": ,\n "audience\_labels": ,\n "product\_labels": ,\n "level": ,\n "alternative\_host": ,\n "panelist": ,\n \n "is\_simulive": false\n}”,  
“Response Headers”: {  
“date”: “Tue, 06 Jun 2023 00:10:42 GMT”,  
“content-type”: “application/json”,  
“content-length”: “41”,  
“connection”: “keep-alive”,  
“x-ratelimit-remaining”: “5997”,  
“x-zm-trackingid”: “WEB\_228eb72e9c20993018eda6a9f1d4c9bc”,  
“x-ratelimit-limit”: “6000”,  
“zm-nws-region”: “va1”,  
“strict-transport-security”: “max-age=31536000; includeSubDomains”,  
“cf-cache-status”: “DYNAMIC”,  
“report-to”: “{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=UQ9Ns%2B7bkMHrwvnn8uLSNDlml9UoP1SI8osV%2FD9%2Bq4lbRt8rFpzY2fJ3JF8JYmbwebVbCO2qtBnb3o9iQvqSM%2FCGT9xTqJ7i2yNPPLlnFJYVVjH6QnbUoIqVuOQg"}],"group":"cf-nel","max\_age":604800}”,  
“nel”: “{"success\_fraction":0.01,"report\_to":"cf-nel","max\_age":604800}”,  
“server”: “cloudflare”,  
“cf-ray”: “7d2c6f109a9ec337-EWR”,  
“alt-svc”: “h3=":443"; ma=86400”  
},  
“Response Body”: “{"code":403,"message":"access\_forbidden"}”  
}

---

<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:** [June 7, 2023, 2:50pm UTC](https://devforum.zoom.us/t/unable-to-create-events-sessions-via-api/89679/2 "2023-06-07T14:50:50Z")

</div>

Hi @RB_GFMA  
Thanks for reaching out to us!  
Is this the first time that you run into this issue? have you been able to create sessions for events via API in the past?  
Can you please make sure that your access token has the scopes required for this endpoint?  
**Scopes:** `zoom_events_sessions:write:admin``zoom_events_sessions:write`

Cheers,  
Elisa

---

<div class="post-metadata">

**Author:** ![RB\_GFMA](https://avatars.discourse-cdn.com/v4/letter/r/e19adc/32.png) [@RB\_GFMA](https://devforum.zoom.us/u/RB_GFMA)\
**Post date:** [June 9, 2023, 3:33am UTC](https://devforum.zoom.us/t/unable-to-create-events-sessions-via-api/89679/3 "2023-06-09T03:33:22Z")

</div>

Yes, I do and this forums reply doesn’t allow to upload image  
and tried again, I see diff error now

POST [https://api.zoom.us/v2/zoom\_events/events/kmM1R-K8RJq9R4xm-mt3Xg/sessions:](https://api.zoom.us/v2/zoom_events/events/kmM1R-K8RJq9R4xm-mt3Xg/sessions:) {  
“Network”: {  
“addresses”: {  
“local”: {  
“address”: “172.18.2.251”,  
“family”: “IPv4”,  
“port”: 54972  
},  
“remote”: {  
“address”: “170.114.52.2”,  
“family”: “IPv4”,  
“port”: 443  
}  
},  
“tls”: {  
“reused”: false,  
“authorized”: true,  
“authorizationError”: null,  
“cipher”: {  
“name”: “TLS\_AES\_128\_GCM\_SHA256”,  
“standardName”: “TLS\_AES\_128\_GCM\_SHA256”,  
“version”: “TLSv1/SSLv3”  
},  
“protocol”: “TLSv1.3”,  
“ephemeralKeyInfo”: {},  
“peerCertificate”: {  
“subject”: {  
“country”: “US”,  
“stateOrProvince”: “California”,  
“locality”: “San Jose”,  
“organization”: “Zoom Video Communications, Inc.”,  
“commonName”: “_.zoom.us",  
“alternativeNames”: "DNS:_.zoom.us, DNS:zoom.us”  
},  
“issuer”: {  
“country”: “US”,  
“organization”: “DigiCert Inc”,  
“commonName”: “DigiCert TLS RSA SHA256 2020 CA1”  
},  
“validFrom”: “Apr 15 00:00:00 2023 GMT”,  
“validTo”: “May 1 23:59:59 2024 GMT”,  
“fingerprint”: “14:9F:5D:9E:08:49:BA:0E:12:A4:8F:90:BD:0F:D6:0C:2A:6D:D1:53”,  
“serialNumber”: “021c2faba6011a89efa67788c647e470”  
}  
}  
},  
“Request Headers”: {  
“content-type”: “application/json”,  
“accept”: “application/json”,  
“authorization”: “Bearer eyJzdiI6IjAwMDH-2stTbEV2A2Ht1DNLg”,  
“user-agent”: “PostmanRuntime/7.29.2”,  
“cache-control”: “no-cache”,  
“postman-token”: “191ea1f9-bafc-4d6e-9b16-6adf04628e67”,  
“host”: “[api.zoom.us](http://api.zoom.us)”,  
“accept-encoding”: “gzip, deflate, br”,  
“connection”: “keep-alive”,  
“content-length”: “4479”,  
“cookie”: “TS018dd1ba=01cfbc656ff71d44a52ec3f55ab18d975cf98c029784b345347c17d3ef06133eca99b39cd41c4789222f5dde91967bef9aaf68c79b; \_\_cf\_bm=dOAM6IC3FIjX4tJUndIiZT5IXuKcMtvrbuuRdMZKIjM-1686281156-0-AceC64XO5QEeCjCWMirFZ236OXcg6ZcRR+sSIFaEr6hDvy5ilvFV6+8xYHQVR9Rjhu/b5iufQEpTeZn6FtnHHbk=; \_zm\_chtaid=737; \_zm\_ctaid=YrcqLtoVTKGXcPpgVbL2dA.1686281156250.58af4925601b93df245d4bf0570e498d; \_zm\_mtk\_guid=28531cf739f94c869baa973542c067c6; \_zm\_page\_auth=us06\_c\_X8iE5XMZTXaQZ9CSaTU3Qg; \_zm\_ssid=us06\_c\_xYl9qZivShq\_lFuX7MTGMg”  
},  
“Request Body”: “{\n "end\_time": "2022-05-31T13:00:00Z",\n "start\_time": "2022-05-31T13:00:00Z",\n "type": 2,\n "timezone": "America/New\_York",\n "name": "Session 1",\n "description": "Educational Session on ZoomEvents",\n "session\_speakers": [\n {\n "speaker\_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access\_to\_edit\_session": true,\n "show\_in\_session\_detail": true,\n "has\_alternative\_host\_permission": true\n },\n {\n "speaker\_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access\_to\_edit\_session": true,\n "show\_in\_session\_detail": true,\n "has\_alternative\_host\_permission": true\n },\n {\n "speaker\_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access\_to\_edit\_session": true,\n "show\_in\_session\_detail": true,\n "has\_alternative\_host\_permission": true\n },\n {\n "speaker\_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access\_to\_edit\_session": true,\n "show\_in\_session\_detail": true,\n "has\_alternative\_host\_permission": true\n },\n {\n "speaker\_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access\_to\_edit\_session": true,\n "show\_in\_session\_detail": true,\n "has\_alternative\_host\_permission": true\n },\n {\n "speaker\_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access\_to\_edit\_session": true,\n "show\_in\_session\_detail": true,\n "has\_alternative\_host\_permission": true\n },\n {\n "speaker\_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access\_to\_edit\_session": true,\n "show\_in\_session\_detail": true,\n "has\_alternative\_host\_permission": true\n },\n {\n "speaker\_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access\_to\_edit\_session": true,\n "show\_in\_session\_detail": true,\n "has\_alternative\_host\_permission": true\n },\n {\n "speaker\_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access\_to\_edit\_session": true,\n "show\_in\_session\_detail": true,\n "has\_alternative\_host\_permission": true\n },\n {\n "speaker\_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access\_to\_edit\_session": true,\n "show\_in\_session\_detail": true,\n "has\_alternative\_host\_permission": true\n },\n {\n "speaker\_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access\_to\_edit\_session": true,\n "show\_in\_session\_detail": true,\n "has\_alternative\_host\_permission": true\n },\n {\n "speaker\_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access\_to\_edit\_session": true,\n "show\_in\_session\_detail": true,\n "has\_alternative\_host\_permission": true\n },\n {\n "speaker\_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access\_to\_edit\_session": true,\n "show\_in\_session\_detail": true,\n "has\_alternative\_host\_permission": true\n },\n {\n "speaker\_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access\_to\_edit\_session": true,\n "show\_in\_session\_detail": true,\n "has\_alternative\_host\_permission": true\n },\n {\n "speaker\_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access\_to\_edit\_session": true,\n "show\_in\_session\_detail": true,\n "has\_alternative\_host\_permission": true\n },\n {\n "speaker\_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access\_to\_edit\_session": true,\n "show\_in\_session\_detail": true,\n "has\_alternative\_host\_permission": true\n },\n {\n "speaker\_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access\_to\_edit\_session": true,\n "show\_in\_session\_detail": true,\n "has\_alternative\_host\_permission": true\n },\n {\n "speaker\_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access\_to\_edit\_session": true,\n "show\_in\_session\_detail": true,\n "has\_alternative\_host\_permission": true\n },\n {\n "speaker\_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access\_to\_edit\_session": true,\n "show\_in\_session\_detail": true,\n "has\_alternative\_host\_permission": true\n },\n {\n "speaker\_id": "4uzfv3JwTeyR5QpC3PXwMg",\n "access\_to\_edit\_session": true,\n "show\_in\_session\_detail": true,\n "has\_alternative\_host\_permission": true\n }\n],\n "featured": true,\n "visible\_in\_landing\_page": true,\n "featured\_in\_lobby": false,\n "visible\_in\_lobby": true,\n "is\_simulive": true,\n "record\_file\_id": "f09340e1-cdc3-4eae-9a74-98f9777ed908",\n "chat\_channel": true,\n "led\_by\_sponsor": false,\n "track\_labels": [\n "Technical Track",\n "Technical Track"\n],\n "audience\_labels": [\n "Family",\n "Family"\n],\n "product\_labels": [\n "zoomMeeting",\n "zoomMeeting"\n],\n "level": [\n "Level-1",\n "Level-1"\n],\n "alternative\_host": [\n "abc.cd@email.com",\n "abc.cd@email.com"\n],\n "panelist": [\n "abc.cd@email.com",\n "abc.cd@email.com"\n]\n}”,  
“Response Headers”: {  
“date”: “Fri, 09 Jun 2023 03:31:12 GMT”,  
“content-type”: “application/json”,  
“content-length”: “43”,  
“connection”: “keep-alive”,  
“x-ratelimit-remaining”: “5997”,  
“x-zm-trackingid”: “WEB\_91626689dae5c4281951524aefba8757”,  
“x-ratelimit-limit”: “6000”,  
“zm-nws-region”: “va1”,  
“strict-transport-security”: “max-age=31536000; includeSubDomains”,  
“cf-cache-status”: “DYNAMIC”,  
“report-to”: “{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=2IyIWwIskxYALC6q%2BP6GoMgo8u7MUqL5Z%2BsuHgDBzW57cozP4OeCfiV4uYdJK42TchMpTu6ZDCNeeU3amqZqomtoKC3ktaEo%2BpEMJ%2FeyCeuWk5ZyCTRtL1%2FC2mq4"}],"group":"cf-nel","max\_age":604800}”,  
“nel”: “{"success\_fraction":0.01,"report\_to":"cf-nel","max\_age":604800}”,  
“server”: “cloudflare”,  
“cf-ray”: “7d464cde2ff5c466-EWR”,  
“alt-svc”: “h3=":443"; ma=86400”  
},  
“Response Body”: “{"code":404,"message":"Video is not found"}”  
}

---

<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:** [June 11, 2024, 7:10pm UTC](https://devforum.zoom.us/t/unable-to-create-events-sessions-via-api/89679/4 "2024-06-11T19:10:06Z")

</div>

Closed on June 11, 2024, 7:10pm UTC

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