# Unknown SSL protocol error in connection to api.zoom.us:443

**URL:** <https://devforum.zoom.us/t/unknown-ssl-protocol-error-in-connection-to-api-zoom-us-443/39633>\
**Category:** API and Webhooks\
**Created:** [January 4, 2021, 12:17pm UTC](https://devforum.zoom.us/t/unknown-ssl-protocol-error-in-connection-to-api-zoom-us-443/39633 "2021-01-04T12:17:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![khanmdmudassir](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/khanmdmudassir/32/18223_2.png) [@khanmdmudassir](https://devforum.zoom.us/u/khanmdmudassir)\
**Post date:** [January 4, 2021, 12:17pm UTC](https://devforum.zoom.us/t/unknown-ssl-protocol-error-in-connection-to-api-zoom-us-443/39633/1 "2021-01-04T12:17:50Z")

</div>

**Description**  
Unable to make an API call using curl PHP

**Error**  
Unknown SSL protocol error in connection to [api.zoom.us:443](http://api.zoom.us:443)

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
Using JWT token in the curl API call.

**Which Endpoint/s?**  
`https://api.zoom.us/v2/users/{userID}/meetings`

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

1. Below is the gitlab link to sample code:  
[curl\_example.php · master · Mudassir Khan / Zoom Issue Curl API · GitLab](https://gitlab.com/mudass1r/zoom-issue-curl-api/-/blob/master/curl_example.php)
2. Below is the error  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/6/9689929e56c2e51769554f01d49689793fe1acc7.png)

**Additional context**  
I’m able to get the data using the Postman but not able to get any data using curl PHP locally.

---

<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:** [January 4, 2021, 8:53pm UTC](https://devforum.zoom.us/t/unknown-ssl-protocol-error-in-connection-to-api-zoom-us-443/39633/2 "2021-01-04T20:53:54Z")

</div>

Hi @khanmdmudassir,

If this request is working for you in Postman, this is likely an issue with your PHP server configuration.

Please check out these threads and let me know if they help:  
[https://devforum.zoom.us/search?q=Unknown%20SSL%20protocol%20error](https://devforum.zoom.us/search?q=Unknown%20SSL%20protocol%20error)

Best,  
Will

---

<div class="post-metadata">

**Author:** ![khanmdmudassir](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/khanmdmudassir/32/18223_2.png) [@khanmdmudassir](https://devforum.zoom.us/u/khanmdmudassir)\
**Post date:** [January 5, 2021, 5:50am UTC](https://devforum.zoom.us/t/unknown-ssl-protocol-error-in-connection-to-api-zoom-us-443/39633/3 "2021-01-05T05:50:53Z")

</div>

I agree on the PHP configuration part. But I’m using the same PHP script to call other third party APIs like TalkJS, its working for them but doesn’t work for Zoom API calls.

Is there a special header or curl parameter we need to include for API call from Zoom ? I will try to run the script under SSL and let you know if it works.

Also I did checked out the relevant post in the devform but there isn’t solution available.

---

<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:** [January 5, 2021, 7:14pm UTC](https://devforum.zoom.us/t/unknown-ssl-protocol-error-in-connection-to-api-zoom-us-443/39633/4 "2021-01-05T19:14:29Z")

</div>

Hi @khanmdmudassir,

Have you tried exporting the code snippet generated by Postman in PHP, to compare against how you’re calling the API in your PHP script?  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/0/90c4474a040e0860623e8e2762809ec73afc3536.png)

This might help expose a missing header or something else that could be different between these environments.

Let me know how this goes!  
Will

---

<div class="post-metadata">

**Author:** ![khanmdmudassir](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/khanmdmudassir/32/18223_2.png) [@khanmdmudassir](https://devforum.zoom.us/u/khanmdmudassir)\
**Post date:** [January 6, 2021, 1:25pm UTC](https://devforum.zoom.us/t/unknown-ssl-protocol-error-in-connection-to-api-zoom-us-443/39633/5 "2021-01-06T13:25:07Z")

</div>

Hi @will.zoom,

Thanks for your inputs, but I tried the code from Postman as well and it didn’t work

The API call worked when I had tested my code on production server under SSL certified domain.

But it does worked with non SSL environment/Local environment. Even the local certificate isn’t working in this case.

I need to get the API call working in local environment for development purpose.

---

<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:** [January 6, 2021, 10:35pm UTC](https://devforum.zoom.us/t/unknown-ssl-protocol-error-in-connection-to-api-zoom-us-443/39633/6 "2021-01-06T22:35:12Z")

</div>

Hi @khanmdmudassir,

Thanks for clarifying—since this is an SSL related error and your request works in Postman, it sounds like this is related to your environments and their certs, rather than the Zoom API. Have you tried checking StackOverflow for similar errors?

Thanks,  
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:** [February 6, 2021, 8:35am UTC](https://devforum.zoom.us/t/unknown-ssl-protocol-error-in-connection-to-api-zoom-us-443/39633/7 "2021-02-06T08:35:14Z")

</div>

Closed on February 6, 2021, 8:35am UTC

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