Create a Long Term Meeting Room

This code snippet shows how to create a long term meeting room 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:

KeyDescription
JWT

Used to authenticate your request. See Authentication for more information, including how to generate a JWT.

ROOM_DISPLAY_NAME

The name of the meeting room.

EXPIRATION_DATE

The time for when the room will be expired, expressed in ISO 8601 format. Required only for long-term room creation.

VONAGE_APPLICATION_ID

The Vonage Application ID.

VONAGE_APPLICATION_PRIVATE_KEY_PATH

Private key path.

Write the code

Add the following to create-long-term-room.sh:

View full source

Run your code

Save this file to your machine and run it:

sh create-long-term-room.sh

Example Response

Your Long Term Room has been created.

You will receive a response similar to the following: