Create Tokens
Overview
The Vonage Video Client SDKs require tokens for participants to use audio, video, and messaging functionality in your application. You can create a token using the Vonage Video API.
This how-to will go over:
- Creating a token
Before you start
Before you can create a token you first need to create a session. To learn about sessions and their role in a Vonage Video application, read the Sessions documentation.
Create a Token
To create a token, pass a Session ID to the generate client token function in the Vonage Server SDKs.
The function will return a string which is the token you will need for the Client SDKs. By default this token is able to both subscribe to and publish video. You additionally pass more options to the function which will allow you to customize the token. For more information check the Tokens documentation.