However response we get a completely different (topic, start date meeting, created date, uuid is not not my userid, my userid is returned on the hostid property !!!)
Thank you for reaching out to the Zoom Developer forum and welcome to the community!
Could you please share with me the request body that you are sending when creating the meeting?
It looks like you are passing the topic, start time and type on the request URL.
With this request body (with or without start-time parameter)
{
“topic”: “Meeting test DC”,
“start_time”: “2022-02-20T05:00:00”,
“type”: 2,
“settings”: {
“host_video”: true,
“join_before_host”: true,
“mute_upon_entry”: true
}
}
I get this error
Response Status Code = 401
{“code”:124,“message”:“Invalid access token.”}
if I want to list users, with the same JWT token, I get a correct response
{
“page_count”: 1,
“page_number”: 1,
“page_size”: 30,
“total_records”: 4,
“users”: [
{
“id”: “…”,
“first_name”: “jean”,
“last_name”: “n…”,
“email”: “n....@gmail.com”,
“type”: 1,
“pmi”: 8926839846,
“timezone”: “Europe/Paris”,
“verified”: 1,
“dept”: “”,
“created_at”: “2018-09-25T16:27:33Z”,
“last_login_time”: “2022-01-27T08:33:41Z”,
“last_client_version”: “5.9.1.3506(mac)”,
“group_ids”: [
“edUf44laRX6cYuEXXXXX”
],
“language”: “fr-FR”,
“phone_number”: “”,
“status”: “active”,
“role_id”: “2”
},
To create the JWT token
I use the HMAC-SHA256. algorithm
I build claims to look like this
{“aud”:null,“iss”:“myAPIKey”,“exp”:curDateTime + oneMonth,“iat”:curDateTime }
After adding the “BEARER” string before the JWT in the Authorization header, now I get this error: Response Status Code = 415 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>300Unsupported Content Type
@daniel.correia
This is an interesting behavior. Have you tried using one of the JWT generated in your marketplace?
You can grab one from your JWT app where it says JWT token and try to call the same endpoints, just to make sure whats going on.
If this does not work, please send me an email to developersupport@zoom.us with your email associated with your account or your account ID. As well as the JWT token so I can debug further
Hi @daniel.correia
Happy to hear you were able to create a meeting!
I am glad you figured it out!
Have an excellent week! and you are very welcome
Best,
Elisa