getUserToken.Rd
Retrieve a user's token. This token is used for starting meetings with the Client SDK.**Scopes:** user:read:admin user:read ** Rate Limit Label https://marketplace.zoom.us/docs/apireference/ratelimits#ratelimits :** LightIf a user signed into Zoom using Google or Facebook, a null value will be returned for the token. To get the token with this API, ask the user to sign into Zoom using their email and password instead.
getUserToken(userId, type = NULL, ttl = NULL, return_response = F)
userId | The user ID or email address of the user. For userlevel apps, pass me as the value for userId. |
---|---|
type | User token types:token Used for starting meetings with the client SDK. This token expires in 14 days and a new token will be returned after the expiry.zak Used for generating the start meeting URL. The token expiration time is two hours. For API users, the expiration time is 90 days. |
ttl | Use this field in conjunction with the type field where the value of type field is zak. The value of this field denotes the expiry time of the zak token in seconds. For example, if you would like the zak token to be expired after one hour of the token generation, the value of this field should be 3600. |
return_response | Whether to return the response instead of the response content. Defaults to FALSE. |