List rooms by theme
This code snippet shows how to list all rooms associated with a theme using the Meetings API.
See the API Reference for more information.
Example Request
Where needed, replace the following variables in the sample code with your own values:
| Key | Description |
|---|---|
JWT | Used to authenticate your request. See Authentication for more information, including how to generate a JWT. |
THEME_ID | The theme UUID. |
VONAGE_APPLICATION_ID | The Vonage Application ID. |
VONAGE_APPLICATION_PRIVATE_KEY_PATH | Private key path. |
Run your code
Save this file to your machine and run it:
sh list-rooms-by-theme.sh
Prerequisites
Create a file named request.js and add the following code:
Run your code
Save this file to your machine and run it:
node request.js
Prerequisites
Create a file named request.py and add the following code:
import vonage
client = vonage.Client(
application_id=VONAGE_APPLICATION_ID,
private_key=VONAGE_PRIVATE_KEY,Run your code
Save this file to your machine and run it:
python request.py
Prerequisites
Create a file named list-rooms-by-theme.rb and add the following code:
Run your code
Save this file to your machine and run it:
ruby list-rooms-by-theme.rb