Meetings API

Product deprecation notice

Starting on August 31st 2024, users will no longer be able to create Meetings API applications. Existing applications will continue to work uninterrupted until June 30th, 2025. If you are looking to build with video, please consider Vonage Video API or Vonage Video Express services, or contact your account managers or support for help.

OpenAPI-Spezifikation herunterladen

Get all rooms

gethttps://api-eu.vonage.com/v1/meetings/rooms

Authentifizierung

SchlüsselBeschreibungWoBeispiel
Authorization

Ihr JSON-Web-Token.
Lesen Sie mehr über JWTs

Headers

Bearer <JWT>

Abfrage Parameter

start_id
integer

The room serial number to filter from - This number is not the room Id

end_id
integer

The room serial number to filter to (excluding end_id itself) - This number is not the room Id

page_size
integer
Standard20

The maximum number of rooms in the current page

Antworten
Inhalt Typ
application/json

OK

page_size
integer
Beispiel25

The number of results returned on this page

total_items
integer
Beispiel30

The overall number of results

_embedded
array
id
string(uuid)
Beispiel9f6fe8ae-3458-4a72-b532-8276d5533e97

The room UUID

display_name
string
Max200
BeispielMy custom room

The name of the meeting room

metadata
string
Max500
BeispielWelcome to my custom room

Free text that can be attached to a room. This will be passed in the form of a header in events related to this room.

type
string
Standardinstant

The type of meeting which can be instant or long term. An instant is active for 10 minutes until the first participant joins the roo, and remains active for 10 minutes after the last participant leaves. A long term room expires after a specific date

Muss eines der folgenden sein:instantlong_term
recording_options
object

An object containing various meeting recording options

auto_record
boolean

Automatically record all sessions in this room. Recording cannot be stopped when this is set to true.

record_only_owner
boolean

Record only the owner screen or any share screen of the video.

meeting_code
string
Min9
Beispiel280674154

The meeting PIN number

is_available
boolean
Standardtrue

Once a room becomes unavailable, no new sessions can be created under it

theme_id
string(uuid)
Beispielef2b46f3-8ebb-437e-a671-272e4990fbc8

The theme UUID

created_at
string(date)
Beispiel{}

The time for when the room was created, expressed in ISO 8601 format

expires_at
string(date)
Beispiel{}

The time for when the room will be expired, expressed in ISO 8601 format. The value must be greater than 10 minutes from now

expire_after_use
boolean
Beispieltrue

Close the room after a session ends. Only relevant for long_term rooms

join_approval_level
string

The level of approval needed to join the meeting in the room. When set to "after_owner_only" the participants will join the meeting only after the host joined. When set to "explicit_approval" the participants will join the waiting room and the host will deny/approve them.

Muss eines der folgenden sein:noneafter_owner_onlyexplicit_approval
initial_join_options
object

Sets the default options for participants

microphone_state
string
Standarddefault
Beispielon

Set the default microphone option for users in the pre-join screen of this room.

Muss eines der folgenden sein:onoffdefault
callback_urls
object

Provides callback URLs to listen to events

rooms_callback_url
string
Beispielhttps://example.com/rooms

Callback url for rooms events, overrides application level rooms callback url.

sessions_callback_url
string
Beispielhttps://example.com/sessions

Callback url for sessions events, overrides application level sessions callback url.

recordings_callback_url
string
Beispielhttps://example.com/recordings

Callback url for recordings events, overrides application level recordings callback url.

available_features
object
is_recording_available
boolean
Standardtrue

Determine if recording feature is available in the UI.

is_chat_available
boolean
Standardtrue

Determine if chat feature is available in the UI.

is_whiteboard_available
boolean
Standardtrue

Determine if whiteboard feature is available in the UI.

is_locale_switcher_available
boolean
Standardtrue

Determine if the locale switcher is available in the UI.

is_captions_available
boolean

Determine if captions are available in the UI.

ui_settings
object

Provides options to customize the user interface

language
string
Standarden
Beispieles

The desired language of the UI. The default is English.

Muss eines der folgenden sein:arcadeenesfrheitpt-brzh-twzh-cn
_links
object

Provides links to join the meeting room

guest_url
object

The link to join the meeting as participant, using the meeting code

href
string
Beispielhttps://meetings.vonage.com/280674154
host_url
object

The link to join the meeting as host, using the meeting code

href
string
Beispielhttps://meetings.vonage.com/?room_token=280674154&participant_token=eyJhbGciOiJIUzI1NiIsInR5cC
_links
object

Represents HAL links for navigation purposes

first
object

Provides a link to the first element

href
string
Beispielhttps://api-eu.vonage.com/v1/meetings/rooms?page_size=50
self
object

Provides a link to the current element

href
string
Beispielhttps://api-eu.vonage.com/v1/meetings/rooms?page_size=50&start_id=2293905
next
object

Provides a link to the next element

href
string
Beispielhttps://api-eu.vonage.com/v1/meetings/rooms?page_size=50&start_id=2293906
prev
object

Provides a link to the previous element

href
string
Beispielhttps://api-eu.vonage.com/v1/meetings/rooms?page_size=50&start_id=2293904

Beispiel Antwort

{
   "page_size": 25,
   "total_items": 30,
   "_embedded": [
      {
         "id": "9f6fe8ae-3458-4a72-b532-8276d5533e97",
         "display_name": "My custom room",
         "metadata": "Welcome to my custom room",
         "type": "instant",
         "recording_options": {
            "auto_record": false,
            "record_only_owner": false
         },
         "meeting_code": "280674154",
         "is_available": true,
         "theme_id": "ef2b46f3-8ebb-437e-a671-272e4990fbc8",
         "created_at": {},
         "expires_at": {},
         "expire_after_use": true,
         "join_approval_level": "none",
         "initial_join_options": {
            "microphone_state": "on"
         },
         "callback_urls": {
            "rooms_callback_url": "https://example.com/rooms",
            "sessions_callback_url": "https://example.com/sessions",
            "recordings_callback_url": "https://example.com/recordings"
         },
         "available_features": {
            "is_recording_available": true,
            "is_chat_available": true,
            "is_whiteboard_available": true,
            "is_locale_switcher_available": true,
            "is_captions_available": false
         },
         "ui_settings": {
            "language": "es"
         },
         "_links": {
            "guest_url": {
               "href": "https://meetings.vonage.com/280674154"
            },
            "host_url": {
               "href": "https://meetings.vonage.com/?room_token=280674154&participant_token=eyJhbGciOiJIUzI1NiIsInR5cC"
            }
         }
      }
   ],
   "_links": {
      "first": {
         "href": "https://api-eu.vonage.com/v1/meetings/rooms?page_size=50"
      },
      "self": {
         "href": "https://api-eu.vonage.com/v1/meetings/rooms?page_size=50&start_id=2293905"
      },
      "next": {
         "href": "https://api-eu.vonage.com/v1/meetings/rooms?page_size=50&start_id=2293906"
      },
      "prev": {
         "href": "https://api-eu.vonage.com/v1/meetings/rooms?page_size=50&start_id=2293904"
      }
   }
}

Create a room

An application is limited to a thousand rooms. Trying to create more rooms will result in a 403 response.

posthttps://api-eu.vonage.com/v1/meetings/rooms

Authentifizierung

SchlüsselBeschreibungWoBeispiel
Authorization

Ihr JSON-Web-Token.
Lesen Sie mehr über JWTs

Headers

Bearer <JWT>

Anfrage Körper
Inhalt Typ
application/json

Einer der
display_name
string
Erforderlich
Max200
BeispielMy custom room

The name of the meeting room

metadata
string
Max500
BeispielWelcome to my custom room

Free text that can be attached to a room. This will be passed in the form of a header in events related to this room.

type
string
Beispielinstant

Represents a room that is active for 10 minutes until the first participant joins the room, and remains active for 10 minutes after the last participant leaves.

Muss eines der folgenden sein:instant
recording_options
object

An object containing various meeting recording options

auto_record
boolean

Automatically record all sessions in this room. Recording cannot be stopped when this is set to true.

record_only_owner
boolean

Record only the owner screen or any share screen of the video.

theme_id
string(uuid)
Beispielef2b46f3-8ebb-437e-a671-272e4990fbc8

The theme UUID

join_approval_level
string

The level of approval needed to join the meeting in the room. When set to "after_owner_only" the participants will join the meeting only after the host joined. When set to "explicit_approval" the participants will join the waiting room and the host will deny/approve them.

Muss eines der folgenden sein:noneafter_owner_onlyexplicit_approval
initial_join_options
object

Sets the default options for participants

microphone_state
string
Standarddefault
Beispielon

Set the default microphone option for users in the pre-join screen of this room.

Muss eines der folgenden sein:onoffdefault
callback_urls
object

Provides callback URLs to listen to events

rooms_callback_url
string
Beispielhttps://example.com/rooms

Callback url for rooms events, overrides application level rooms callback url.

sessions_callback_url
string
Beispielhttps://example.com/sessions

Callback url for sessions events, overrides application level sessions callback url.

recordings_callback_url
string
Beispielhttps://example.com/recordings

Callback url for recordings events, overrides application level recordings callback url.

available_features
object
is_recording_available
boolean
Standardtrue

Determine if recording feature is available in the UI.

is_chat_available
boolean
Standardtrue

Determine if chat feature is available in the UI.

is_whiteboard_available
boolean
Standardtrue

Determine if whiteboard feature is available in the UI.

is_locale_switcher_available
boolean
Standardtrue

Determine if the locale switcher is available in the UI.

is_captions_available
boolean

Determine if captions are available in the UI.

ui_settings
object

Provides options to customize the user interface

language
string
Standarden
Beispieles

The desired language of the UI. The default is English.

Muss eines der folgenden sein:arcadeenesfrheitpt-brzh-twzh-cn

Beispiel Anfrage

{
   "display_name": "My custom room",
   "metadata": "Welcome to my custom room",
   "type": "instant",
   "recording_options": {
      "auto_record": false,
      "record_only_owner": false
   },
   "theme_id": "ef2b46f3-8ebb-437e-a671-272e4990fbc8",
   "join_approval_level": "none",
   "initial_join_options": {
      "microphone_state": "on"
   },
   "callback_urls": {
      "rooms_callback_url": "https://example.com/rooms",
      "sessions_callback_url": "https://example.com/sessions",
      "recordings_callback_url": "https://example.com/recordings"
   },
   "available_features": {
      "is_recording_available": true,
      "is_chat_available": true,
      "is_whiteboard_available": true,
      "is_locale_switcher_available": true,
      "is_captions_available": false
   },
   "ui_settings": {
      "language": "es"
   }
}

Antworten
Inhalt Typ
application/json

OK

id
string(uuid)
Beispiel9f6fe8ae-3458-4a72-b532-8276d5533e97

The room UUID

display_name
string
Max200
BeispielMy custom room

The name of the meeting room

metadata
string
Max500
BeispielWelcome to my custom room

Free text that can be attached to a room. This will be passed in the form of a header in events related to this room.

type
string
Standardinstant

The type of meeting which can be instant or long term. An instant is active for 10 minutes until the first participant joins the roo, and remains active for 10 minutes after the last participant leaves. A long term room expires after a specific date

Muss eines der folgenden sein:instantlong_term
recording_options
object

An object containing various meeting recording options

auto_record
boolean

Automatically record all sessions in this room. Recording cannot be stopped when this is set to true.

record_only_owner
boolean

Record only the owner screen or any share screen of the video.

meeting_code
string
Min9
Beispiel280674154

The meeting PIN number

is_available
boolean
Standardtrue

Once a room becomes unavailable, no new sessions can be created under it

theme_id
string(uuid)
Beispielef2b46f3-8ebb-437e-a671-272e4990fbc8

The theme UUID

created_at
string(date)
Beispiel{}

The time for when the room was created, expressed in ISO 8601 format

expires_at
string(date)
Beispiel{}

The time for when the room will be expired, expressed in ISO 8601 format. The value must be greater than 10 minutes from now

expire_after_use
boolean
Beispieltrue

Close the room after a session ends. Only relevant for long_term rooms

join_approval_level
string

The level of approval needed to join the meeting in the room. When set to "after_owner_only" the participants will join the meeting only after the host joined. When set to "explicit_approval" the participants will join the waiting room and the host will deny/approve them.

Muss eines der folgenden sein:noneafter_owner_onlyexplicit_approval
initial_join_options
object

Sets the default options for participants

microphone_state
string
Standarddefault
Beispielon

Set the default microphone option for users in the pre-join screen of this room.

Muss eines der folgenden sein:onoffdefault
callback_urls
object

Provides callback URLs to listen to events

rooms_callback_url
string
Beispielhttps://example.com/rooms

Callback url for rooms events, overrides application level rooms callback url.

sessions_callback_url
string
Beispielhttps://example.com/sessions

Callback url for sessions events, overrides application level sessions callback url.

recordings_callback_url
string
Beispielhttps://example.com/recordings

Callback url for recordings events, overrides application level recordings callback url.

available_features
object
is_recording_available
boolean
Standardtrue

Determine if recording feature is available in the UI.

is_chat_available
boolean
Standardtrue

Determine if chat feature is available in the UI.

is_whiteboard_available
boolean
Standardtrue

Determine if whiteboard feature is available in the UI.

is_locale_switcher_available
boolean
Standardtrue

Determine if the locale switcher is available in the UI.

is_captions_available
boolean

Determine if captions are available in the UI.

ui_settings
object

Provides options to customize the user interface

language
string
Standarden
Beispieles

The desired language of the UI. The default is English.

Muss eines der folgenden sein:arcadeenesfrheitpt-brzh-twzh-cn
_links
object

Provides links to join the meeting room

guest_url
object

The link to join the meeting as participant, using the meeting code

href
string
Beispielhttps://meetings.vonage.com/280674154
host_url
object

The link to join the meeting as host, using the meeting code

href
string
Beispielhttps://meetings.vonage.com/?room_token=280674154&participant_token=eyJhbGciOiJIUzI1NiIsInR5cC

Beispiel Antwort

{
   "id": "9f6fe8ae-3458-4a72-b532-8276d5533e97",
   "display_name": "My custom room",
   "metadata": "Welcome to my custom room",
   "type": "instant",
   "recording_options": {
      "auto_record": false,
      "record_only_owner": false
   },
   "meeting_code": "280674154",
   "is_available": true,
   "theme_id": "ef2b46f3-8ebb-437e-a671-272e4990fbc8",
   "created_at": {},
   "expires_at": {},
   "expire_after_use": true,
   "join_approval_level": "none",
   "initial_join_options": {
      "microphone_state": "on"
   },
   "callback_urls": {
      "rooms_callback_url": "https://example.com/rooms",
      "sessions_callback_url": "https://example.com/sessions",
      "recordings_callback_url": "https://example.com/recordings"
   },
   "available_features": {
      "is_recording_available": true,
      "is_chat_available": true,
      "is_whiteboard_available": true,
      "is_locale_switcher_available": true,
      "is_captions_available": false
   },
   "ui_settings": {
      "language": "es"
   },
   "_links": {
      "guest_url": {
         "href": "https://meetings.vonage.com/280674154"
      },
      "host_url": {
         "href": "https://meetings.vonage.com/?room_token=280674154&participant_token=eyJhbGciOiJIUzI1NiIsInR5cC"
      }
   }
}

Get room details

gethttps://api-eu.vonage.com/v1/meetings/rooms/:room_id

Authentifizierung

SchlüsselBeschreibungWoBeispiel
Authorization

Ihr JSON-Web-Token.
Lesen Sie mehr über JWTs

Headers

Bearer <JWT>

Antworten
Inhalt Typ
application/json

OK

id
string(uuid)
Beispiel9f6fe8ae-3458-4a72-b532-8276d5533e97

The room UUID

display_name
string
Max200
BeispielMy custom room

The name of the meeting room

metadata
string
Max500
BeispielWelcome to my custom room

Free text that can be attached to a room. This will be passed in the form of a header in events related to this room.

type
string
Standardinstant

The type of meeting which can be instant or long term. An instant is active for 10 minutes until the first participant joins the roo, and remains active for 10 minutes after the last participant leaves. A long term room expires after a specific date

Muss eines der folgenden sein:instantlong_term
recording_options
object

An object containing various meeting recording options

auto_record
boolean

Automatically record all sessions in this room. Recording cannot be stopped when this is set to true.

record_only_owner
boolean

Record only the owner screen or any share screen of the video.

meeting_code
string
Min9
Beispiel280674154

The meeting PIN number

is_available
boolean
Standardtrue

Once a room becomes unavailable, no new sessions can be created under it

theme_id
string(uuid)
Beispielef2b46f3-8ebb-437e-a671-272e4990fbc8

The theme UUID

created_at
string(date)
Beispiel{}

The time for when the room was created, expressed in ISO 8601 format

expires_at
string(date)
Beispiel{}

The time for when the room will be expired, expressed in ISO 8601 format. The value must be greater than 10 minutes from now

expire_after_use
boolean
Beispieltrue

Close the room after a session ends. Only relevant for long_term rooms

join_approval_level
string

The level of approval needed to join the meeting in the room. When set to "after_owner_only" the participants will join the meeting only after the host joined. When set to "explicit_approval" the participants will join the waiting room and the host will deny/approve them.

Muss eines der folgenden sein:noneafter_owner_onlyexplicit_approval
initial_join_options
object

Sets the default options for participants

microphone_state
string
Standarddefault
Beispielon

Set the default microphone option for users in the pre-join screen of this room.

Muss eines der folgenden sein:onoffdefault
callback_urls
object

Provides callback URLs to listen to events

rooms_callback_url
string
Beispielhttps://example.com/rooms

Callback url for rooms events, overrides application level rooms callback url.

sessions_callback_url
string
Beispielhttps://example.com/sessions

Callback url for sessions events, overrides application level sessions callback url.

recordings_callback_url
string
Beispielhttps://example.com/recordings

Callback url for recordings events, overrides application level recordings callback url.

available_features
object
is_recording_available
boolean
Standardtrue

Determine if recording feature is available in the UI.

is_chat_available
boolean
Standardtrue

Determine if chat feature is available in the UI.

is_whiteboard_available
boolean
Standardtrue

Determine if whiteboard feature is available in the UI.

is_locale_switcher_available
boolean
Standardtrue

Determine if the locale switcher is available in the UI.

is_captions_available
boolean

Determine if captions are available in the UI.

ui_settings
object

Provides options to customize the user interface

language
string
Standarden
Beispieles

The desired language of the UI. The default is English.

Muss eines der folgenden sein:arcadeenesfrheitpt-brzh-twzh-cn
_links
object

Provides links to join the meeting room

guest_url
object

The link to join the meeting as participant, using the meeting code

href
string
Beispielhttps://meetings.vonage.com/280674154
host_url
object

The link to join the meeting as host, using the meeting code

href
string
Beispielhttps://meetings.vonage.com/?room_token=280674154&participant_token=eyJhbGciOiJIUzI1NiIsInR5cC

Beispiel Antwort

{
   "id": "9f6fe8ae-3458-4a72-b532-8276d5533e97",
   "display_name": "My custom room",
   "metadata": "Welcome to my custom room",
   "type": "instant",
   "recording_options": {
      "auto_record": false,
      "record_only_owner": false
   },
   "meeting_code": "280674154",
   "is_available": true,
   "theme_id": "ef2b46f3-8ebb-437e-a671-272e4990fbc8",
   "created_at": {},
   "expires_at": {},
   "expire_after_use": true,
   "join_approval_level": "none",
   "initial_join_options": {
      "microphone_state": "on"
   },
   "callback_urls": {
      "rooms_callback_url": "https://example.com/rooms",
      "sessions_callback_url": "https://example.com/sessions",
      "recordings_callback_url": "https://example.com/recordings"
   },
   "available_features": {
      "is_recording_available": true,
      "is_chat_available": true,
      "is_whiteboard_available": true,
      "is_locale_switcher_available": true,
      "is_captions_available": false
   },
   "ui_settings": {
      "language": "es"
   },
   "_links": {
      "guest_url": {
         "href": "https://meetings.vonage.com/280674154"
      },
      "host_url": {
         "href": "https://meetings.vonage.com/?room_token=280674154&participant_token=eyJhbGciOiJIUzI1NiIsInR5cC"
      }
   }
}

Update an existing room

If you try to update a room which expired or not available anymore, you will receive a 404 response

patchhttps://api-eu.vonage.com/v1/meetings/rooms/:room_id

Authentifizierung

SchlüsselBeschreibungWoBeispiel
Authorization

Ihr JSON-Web-Token.
Lesen Sie mehr über JWTs

Headers

Bearer <JWT>

Anfrage Körper
Inhalt Typ
application/json

update_details
object
Erforderlich

Contains information to be updated on the room. It is mandatory to provide at least one value to update; you will receive a 400 response otherwise.

expires_at
string(date)
Beispiel{}

The time for when the room will be expired, expressed in ISO 8601 format. The value must be greater than 10 minutes from now

expire_after_use
boolean
Beispieltrue

Close the room after a session ends. Only relevant for long_term rooms

theme_id
string(uuid)
Beispielef2b46f3-8ebb-437e-a671-272e4990fbc8

The theme UUID

join_approval_level
string

The level of approval needed to join the meeting in the room. When set to "after_owner_only" the participants will join the meeting only after the host joined. When set to "explicit_approval" the participants will join the waiting room and the host will deny/approve them.

Muss eines der folgenden sein:noneafter_owner_onlyexplicit_approval
initial_join_options
object

Sets the default options for participants

microphone_state
string
Standarddefault
Beispielon

Set the default microphone option for users in the pre-join screen of this room.

Muss eines der folgenden sein:onoffdefault
callback_urls
object

Provides callback URLs to listen to events

rooms_callback_url
string
Beispielhttps://example.com/rooms

Callback url for rooms events, overrides application level rooms callback url.

sessions_callback_url
string
Beispielhttps://example.com/sessions

Callback url for sessions events, overrides application level sessions callback url.

recordings_callback_url
string
Beispielhttps://example.com/recordings

Callback url for recordings events, overrides application level recordings callback url.

available_features
object
is_recording_available
boolean
Standardtrue

Determine if recording feature is available in the UI.

is_chat_available
boolean
Standardtrue

Determine if chat feature is available in the UI.

is_whiteboard_available
boolean
Standardtrue

Determine if whiteboard feature is available in the UI.

is_locale_switcher_available
boolean
Standardtrue

Determine if the locale switcher is available in the UI.

is_captions_available
boolean

Determine if captions are available in the UI.

Beispiel Anfrage

{
   "update_details": {
      "expires_at": {},
      "expire_after_use": true,
      "theme_id": "ef2b46f3-8ebb-437e-a671-272e4990fbc8",
      "join_approval_level": "none",
      "initial_join_options": {
         "microphone_state": "on"
      },
      "callback_urls": {
         "rooms_callback_url": "https://example.com/rooms",
         "sessions_callback_url": "https://example.com/sessions",
         "recordings_callback_url": "https://example.com/recordings"
      },
      "available_features": {
         "is_recording_available": true,
         "is_chat_available": true,
         "is_whiteboard_available": true,
         "is_locale_switcher_available": true,
         "is_captions_available": false
      }
   }
}

Antworten
Inhalt Typ
application/json

OK

id
string(uuid)
Beispiel9f6fe8ae-3458-4a72-b532-8276d5533e97

The room UUID

display_name
string
Max200
BeispielMy custom room

The name of the meeting room

metadata
string
Max500
BeispielWelcome to my custom room

Free text that can be attached to a room. This will be passed in the form of a header in events related to this room.

type
string
Standardinstant

The type of meeting which can be instant or long term. An instant is active for 10 minutes until the first participant joins the roo, and remains active for 10 minutes after the last participant leaves. A long term room expires after a specific date

Muss eines der folgenden sein:instantlong_term
recording_options
object

An object containing various meeting recording options

auto_record
boolean

Automatically record all sessions in this room. Recording cannot be stopped when this is set to true.

record_only_owner
boolean

Record only the owner screen or any share screen of the video.

meeting_code
string
Min9
Beispiel280674154

The meeting PIN number

is_available
boolean
Standardtrue

Once a room becomes unavailable, no new sessions can be created under it

theme_id
string(uuid)
Beispielef2b46f3-8ebb-437e-a671-272e4990fbc8

The theme UUID

created_at
string(date)
Beispiel{}

The time for when the room was created, expressed in ISO 8601 format

expires_at
string(date)
Beispiel{}

The time for when the room will be expired, expressed in ISO 8601 format. The value must be greater than 10 minutes from now

expire_after_use
boolean
Beispieltrue

Close the room after a session ends. Only relevant for long_term rooms

join_approval_level
string

The level of approval needed to join the meeting in the room. When set to "after_owner_only" the participants will join the meeting only after the host joined. When set to "explicit_approval" the participants will join the waiting room and the host will deny/approve them.

Muss eines der folgenden sein:noneafter_owner_onlyexplicit_approval
initial_join_options
object

Sets the default options for participants

microphone_state
string
Standarddefault
Beispielon

Set the default microphone option for users in the pre-join screen of this room.

Muss eines der folgenden sein:onoffdefault
callback_urls
object

Provides callback URLs to listen to events

rooms_callback_url
string
Beispielhttps://example.com/rooms

Callback url for rooms events, overrides application level rooms callback url.

sessions_callback_url
string
Beispielhttps://example.com/sessions

Callback url for sessions events, overrides application level sessions callback url.

recordings_callback_url
string
Beispielhttps://example.com/recordings

Callback url for recordings events, overrides application level recordings callback url.

available_features
object
is_recording_available
boolean
Standardtrue

Determine if recording feature is available in the UI.

is_chat_available
boolean
Standardtrue

Determine if chat feature is available in the UI.

is_whiteboard_available
boolean
Standardtrue

Determine if whiteboard feature is available in the UI.

is_locale_switcher_available
boolean
Standardtrue

Determine if the locale switcher is available in the UI.

is_captions_available
boolean

Determine if captions are available in the UI.

ui_settings
object

Provides options to customize the user interface

language
string
Standarden
Beispieles

The desired language of the UI. The default is English.

Muss eines der folgenden sein:arcadeenesfrheitpt-brzh-twzh-cn
_links
object

Provides links to join the meeting room

guest_url
object

The link to join the meeting as participant, using the meeting code

href
string
Beispielhttps://meetings.vonage.com/280674154
host_url
object

The link to join the meeting as host, using the meeting code

href
string
Beispielhttps://meetings.vonage.com/?room_token=280674154&participant_token=eyJhbGciOiJIUzI1NiIsInR5cC

Beispiel Antwort

{
   "id": "9f6fe8ae-3458-4a72-b532-8276d5533e97",
   "display_name": "My custom room",
   "metadata": "Welcome to my custom room",
   "type": "instant",
   "recording_options": {
      "auto_record": false,
      "record_only_owner": false
   },
   "meeting_code": "280674154",
   "is_available": true,
   "theme_id": "ef2b46f3-8ebb-437e-a671-272e4990fbc8",
   "created_at": {},
   "expires_at": {},
   "expire_after_use": true,
   "join_approval_level": "none",
   "initial_join_options": {
      "microphone_state": "on"
   },
   "callback_urls": {
      "rooms_callback_url": "https://example.com/rooms",
      "sessions_callback_url": "https://example.com/sessions",
      "recordings_callback_url": "https://example.com/recordings"
   },
   "available_features": {
      "is_recording_available": true,
      "is_chat_available": true,
      "is_whiteboard_available": true,
      "is_locale_switcher_available": true,
      "is_captions_available": false
   },
   "ui_settings": {
      "language": "es"
   },
   "_links": {
      "guest_url": {
         "href": "https://meetings.vonage.com/280674154"
      },
      "host_url": {
         "href": "https://meetings.vonage.com/?room_token=280674154&participant_token=eyJhbGciOiJIUzI1NiIsInR5cC"
      }
   }
}

Get a recording

gethttps://api-eu.vonage.com/v1/meetings/recordings/:recording_id

Authentifizierung

SchlüsselBeschreibungWoBeispiel
Authorization

Ihr JSON-Web-Token.
Lesen Sie mehr über JWTs

Headers

Bearer <JWT>

Antworten
Inhalt Typ
application/json

OK

id
string(uuid)
Beispiel9f6fe8ae-3458-4a72-b532-8276d5533e97

The recording UUID

session_id
string
Beispiel2_MX40NjMwODczMn5-MTU3NTgyODEwNzQ2MH5OZDJrVmdBRUNDbG5MUzNqNX20yQ1Z-fg

Corresponds to the underlying Video API session id

started_at
string(date-time)
Beispiel{}

The date the recording started

ended_at
string(date-time)
Beispiel{}

The date the recording stopped

status
string
Beispielstopped

The recording current status

Muss eines der folgenden sein:startedstoppedpauseduploaded
_links
object

Provide links for the current recording

url
object

The recording url

href
string
Beispielhttps://prod-meetings-recordings.s3.amazonaws.com/123/9f6fe8ae-3458-4a72-b532-8276d5533e97/archive.mp4

Beispiel Antwort

{
   "id": "9f6fe8ae-3458-4a72-b532-8276d5533e97",
   "session_id": "2_MX40NjMwODczMn5-MTU3NTgyODEwNzQ2MH5OZDJrVmdBRUNDbG5MUzNqNX20yQ1Z-fg",
   "started_at": {},
   "ended_at": {},
   "status": "stopped",
   "_links": {
      "url": {
         "href": "https://prod-meetings-recordings.s3.amazonaws.com/123/9f6fe8ae-3458-4a72-b532-8276d5533e97/archive.mp4"
      }
   }
}

Delete a recording

The recording needs to have a 'uploaded' status to be deleted. Otherwise, you will receive a 500 response.

deletehttps://api-eu.vonage.com/v1/meetings/recordings/:recording_id

Authentifizierung

SchlüsselBeschreibungWoBeispiel
Authorization

Ihr JSON-Web-Token.
Lesen Sie mehr über JWTs

Headers

Bearer <JWT>

Antworten

No Content

Get recordings of a session

The session_id is provided in the callbacks

gethttps://api-eu.vonage.com/v1/meetings/sessions/:session_id/recordings

Authentifizierung

SchlüsselBeschreibungWoBeispiel
Authorization

Ihr JSON-Web-Token.
Lesen Sie mehr über JWTs

Headers

Bearer <JWT>

Antworten
Inhalt Typ
application/json

OK

_embedded
object
recordings
array

List of recordings for the given session

id
string(uuid)
Beispiel9f6fe8ae-3458-4a72-b532-8276d5533e97

The recording UUID

session_id
string
Beispiel2_MX40NjMwODczMn5-MTU3NTgyODEwNzQ2MH5OZDJrVmdBRUNDbG5MUzNqNX20yQ1Z-fg

Corresponds to the underlying Video API session id

started_at
string(date-time)
Beispiel{}

The date the recording started

ended_at
string(date-time)
Beispiel{}

The date the recording stopped

status
string
Beispielstopped

The recording current status

Muss eines der folgenden sein:startedstoppedpauseduploaded
_links
object

Provide links for the current recording

url
object

The recording url

href
string
Beispielhttps://prod-meetings-recordings.s3.amazonaws.com/123/9f6fe8ae-3458-4a72-b532-8276d5533e97/archive.mp4

Beispiel Antwort

{
   "_embedded": {
      "recordings": [
         {
            "id": "9f6fe8ae-3458-4a72-b532-8276d5533e97",
            "session_id": "2_MX40NjMwODczMn5-MTU3NTgyODEwNzQ2MH5OZDJrVmdBRUNDbG5MUzNqNX20yQ1Z-fg",
            "started_at": {},
            "ended_at": {},
            "status": "stopped",
            "_links": {
               "url": {
                  "href": "https://prod-meetings-recordings.s3.amazonaws.com/123/9f6fe8ae-3458-4a72-b532-8276d5533e97/archive.mp4"
               }
            }
         }
      ]
   }
}

Get numbers that can be used to dial into a meeting

gethttps://api-eu.vonage.com/v1/meetings/dial-in-numbers

Antworten
Inhalt Typ
application/json

OK

array
number
string
Beispiel17323338801

The phone number

locale
string
Beispielen-US

The language culture name

display_name
string
BeispielUnited States

The name of the number

Beispiel Antwort

[
   {
      "number": 17323338801,
      "locale": "en-US",
      "display_name": "United States"
   }
]

Get application themes

An application is limited to a thousand themes. Trying to create more themes will result in a 403 response.

gethttps://api-eu.vonage.com/v1/meetings/themes

Authentifizierung

SchlüsselBeschreibungWoBeispiel
Authorization

Ihr JSON-Web-Token.
Lesen Sie mehr über JWTs

Headers

Bearer <JWT>

Antworten
Inhalt Typ
application/json

OK

array
theme_id
string(uuid)
Beispielef2b46f3-8ebb-437e-a671-272e4990fbc8

The theme UUID

theme_name
string
Max200
BeispielTheme1

The name of the theme (must be unique). If null, a UUID will automatically be generated

domain
string
BeispielVCP

The domain of the theme

Muss eines der folgenden sein:VCPVBC
account_id
string
Beispiel123ab4cd

The applications account id (ApiKey)

application_id
string(uuid)
Beispiel921a6f5b-1f94-49f4-8107-26f0c75fc6e7

The application Id

main_color
string
Max7
Beispiel#12f64e

The main color that will be used for the meeting room.

short_company_url
string
Max128
Beispielshort-url

The URL that will represent every meeting room with this theme. The value must be unique across Vonage

brand_text
string
Max200
BeispielBrand

The text that will appear on the meeting homepage, in the case that there is no brand image

brand_image_colored
string
Beispielbranded-image-colored

Colored logo's key in storage system

brand_image_white
string
Beispielbranded-image-white

White logo's key in storage system

branded_favicon
string
Beispielbranded-favicon

Favicon key in storage system

brand_image_colored_url
string
Beispielbranded-image-colored-url

Colored logo's link

brand_image_white_url
string
Beispielbranded-image-white-url

White logo's link

branded_favicon_url
string
Beispielbranded-favicon-url

Favicon link

Beispiel Antwort

[
   {
      "theme_id": "ef2b46f3-8ebb-437e-a671-272e4990fbc8",
      "theme_name": "Theme1",
      "domain": "VCP",
      "account_id": "123ab4cd",
      "application_id": "921a6f5b-1f94-49f4-8107-26f0c75fc6e7",
      "main_color": "#12f64e",
      "short_company_url": "short-url",
      "brand_text": "Brand",
      "brand_image_colored": "branded-image-colored",
      "brand_image_white": "branded-image-white",
      "branded_favicon": "branded-favicon",
      "brand_image_colored_url": "branded-image-colored-url",
      "brand_image_white_url": "branded-image-white-url",
      "branded_favicon_url": "branded-favicon-url"
   }
]

Create a theme

posthttps://api-eu.vonage.com/v1/meetings/themes

Authentifizierung

SchlüsselBeschreibungWoBeispiel
Authorization

Ihr JSON-Web-Token.
Lesen Sie mehr über JWTs

Headers

Bearer <JWT>

Anfrage Körper
Inhalt Typ
application/json

theme_name
string
Max200
BeispielTheme1

The name of the theme (must be unique). If null, a UUID will automatically be generated

main_color
string
Erforderlich
Max7
Beispiel#12f64e

The main color that will be used for the meeting room.

brand_text
string
Erforderlich
Max200
BeispielBrand

The text that will appear on the meeting homepage, in the case that there is no brand image

short_company_url
string
Max128
Beispielshort-url

The URL that will represent every meeting room with this theme. The value must be unique across Vonage

Beispiel Anfrage

{
   "theme_name": "Theme1",
   "main_color": "#12f64e",
   "brand_text": "Brand",
   "short_company_url": "short-url"
}

Antworten
Inhalt Typ
application/json

Created

theme_id
string(uuid)
Beispielef2b46f3-8ebb-437e-a671-272e4990fbc8

The theme UUID

theme_name
string
Max200
BeispielTheme1

The name of the theme (must be unique). If null, a UUID will automatically be generated

domain
string
BeispielVCP

The domain of the theme

Muss eines der folgenden sein:VCPVBC
account_id
string
Beispiel123ab4cd

The applications account id (ApiKey)

application_id
string(uuid)
Beispiel921a6f5b-1f94-49f4-8107-26f0c75fc6e7

The application Id

main_color
string
Max7
Beispiel#12f64e

The main color that will be used for the meeting room.

short_company_url
string
Max128
Beispielshort-url

The URL that will represent every meeting room with this theme. The value must be unique across Vonage

brand_text
string
Max200
BeispielBrand

The text that will appear on the meeting homepage, in the case that there is no brand image

brand_image_colored
string
Beispielbranded-image-colored

Colored logo's key in storage system

brand_image_white
string
Beispielbranded-image-white

White logo's key in storage system

branded_favicon
string
Beispielbranded-favicon

Favicon key in storage system

brand_image_colored_url
string
Beispielbranded-image-colored-url

Colored logo's link

brand_image_white_url
string
Beispielbranded-image-white-url

White logo's link

branded_favicon_url
string
Beispielbranded-favicon-url

Favicon link

Beispiel Antwort

{
   "theme_id": "ef2b46f3-8ebb-437e-a671-272e4990fbc8",
   "theme_name": "Theme1",
   "domain": "VCP",
   "account_id": "123ab4cd",
   "application_id": "921a6f5b-1f94-49f4-8107-26f0c75fc6e7",
   "main_color": "#12f64e",
   "short_company_url": "short-url",
   "brand_text": "Brand",
   "brand_image_colored": "branded-image-colored",
   "brand_image_white": "branded-image-white",
   "branded_favicon": "branded-favicon",
   "brand_image_colored_url": "branded-image-colored-url",
   "brand_image_white_url": "branded-image-white-url",
   "branded_favicon_url": "branded-favicon-url"
}

Get theme by theme id

gethttps://api-eu.vonage.com/v1/meetings/themes/:theme_id

Authentifizierung

SchlüsselBeschreibungWoBeispiel
Authorization

Ihr JSON-Web-Token.
Lesen Sie mehr über JWTs

Headers

Bearer <JWT>

Antworten
Inhalt Typ
application/json

OK

theme_id
string(uuid)
Beispielef2b46f3-8ebb-437e-a671-272e4990fbc8

The theme UUID

theme_name
string
Max200
BeispielTheme1

The name of the theme (must be unique). If null, a UUID will automatically be generated

domain
string
BeispielVCP

The domain of the theme

Muss eines der folgenden sein:VCPVBC
account_id
string
Beispiel123ab4cd

The applications account id (ApiKey)

application_id
string(uuid)
Beispiel921a6f5b-1f94-49f4-8107-26f0c75fc6e7

The application Id

main_color
string
Max7
Beispiel#12f64e

The main color that will be used for the meeting room.

short_company_url
string
Max128
Beispielshort-url

The URL that will represent every meeting room with this theme. The value must be unique across Vonage

brand_text
string
Max200
BeispielBrand

The text that will appear on the meeting homepage, in the case that there is no brand image

brand_image_colored
string
Beispielbranded-image-colored

Colored logo's key in storage system

brand_image_white
string
Beispielbranded-image-white

White logo's key in storage system

branded_favicon
string
Beispielbranded-favicon

Favicon key in storage system

brand_image_colored_url
string
Beispielbranded-image-colored-url

Colored logo's link

brand_image_white_url
string
Beispielbranded-image-white-url

White logo's link

branded_favicon_url
string
Beispielbranded-favicon-url

Favicon link

Beispiel Antwort

{
   "theme_id": "ef2b46f3-8ebb-437e-a671-272e4990fbc8",
   "theme_name": "Theme1",
   "domain": "VCP",
   "account_id": "123ab4cd",
   "application_id": "921a6f5b-1f94-49f4-8107-26f0c75fc6e7",
   "main_color": "#12f64e",
   "short_company_url": "short-url",
   "brand_text": "Brand",
   "brand_image_colored": "branded-image-colored",
   "brand_image_white": "branded-image-white",
   "branded_favicon": "branded-favicon",
   "brand_image_colored_url": "branded-image-colored-url",
   "brand_image_white_url": "branded-image-white-url",
   "branded_favicon_url": "branded-favicon-url"
}

Delete a theme

deletehttps://api-eu.vonage.com/v1/meetings/themes/:theme_id

Authentifizierung

SchlüsselBeschreibungWoBeispiel
Authorization

Ihr JSON-Web-Token.
Lesen Sie mehr über JWTs

Headers

Bearer <JWT>

Abfrage Parameter

force
boolean

force delete - delete theme even if theme is used by rooms or as application default theme

Antworten

No Content

Update theme by id

patchhttps://api-eu.vonage.com/v1/meetings/themes/:theme_id

Authentifizierung

SchlüsselBeschreibungWoBeispiel
Authorization

Ihr JSON-Web-Token.
Lesen Sie mehr über JWTs

Headers

Bearer <JWT>

Anfrage Körper
Inhalt Typ
application/json

update_details
object
theme_name
string
Max200
BeispielTheme1

The name of the theme (must be unique). If null, a UUID will automatically be generated

main_color
string
Max7
Beispiel#12f64e

The main color that will be used for the meeting room.

brand_text
string
Max200
BeispielBrand

The text that will appear on the meeting homepage, in the case that there is no brand image

short_company_url
string
Max128
Beispielshort-url

The URL that will represent every meeting room with this theme. The value must be unique across Vonage

Beispiel Anfrage

{
   "update_details": {
      "theme_name": "Theme1",
      "main_color": "#12f64e",
      "brand_text": "Brand",
      "short_company_url": "short-url"
   }
}

Antworten
Inhalt Typ
application/json

OK

theme_id
string(uuid)
Beispielef2b46f3-8ebb-437e-a671-272e4990fbc8

The theme UUID

theme_name
string
Max200
BeispielTheme1

The name of the theme (must be unique). If null, a UUID will automatically be generated

domain
string
BeispielVCP

The domain of the theme

Muss eines der folgenden sein:VCPVBC
account_id
string
Beispiel123ab4cd

The applications account id (ApiKey)

application_id
string(uuid)
Beispiel921a6f5b-1f94-49f4-8107-26f0c75fc6e7

The application Id

main_color
string
Max7
Beispiel#12f64e

The main color that will be used for the meeting room.

short_company_url
string
Max128
Beispielshort-url

The URL that will represent every meeting room with this theme. The value must be unique across Vonage

brand_text
string
Max200
BeispielBrand

The text that will appear on the meeting homepage, in the case that there is no brand image

brand_image_colored
string
Beispielbranded-image-colored

Colored logo's key in storage system

brand_image_white
string
Beispielbranded-image-white

White logo's key in storage system

branded_favicon
string
Beispielbranded-favicon

Favicon key in storage system

brand_image_colored_url
string
Beispielbranded-image-colored-url

Colored logo's link

brand_image_white_url
string
Beispielbranded-image-white-url

White logo's link

branded_favicon_url
string
Beispielbranded-favicon-url

Favicon link

Beispiel Antwort

{
   "theme_id": "ef2b46f3-8ebb-437e-a671-272e4990fbc8",
   "theme_name": "Theme1",
   "domain": "VCP",
   "account_id": "123ab4cd",
   "application_id": "921a6f5b-1f94-49f4-8107-26f0c75fc6e7",
   "main_color": "#12f64e",
   "short_company_url": "short-url",
   "brand_text": "Brand",
   "brand_image_colored": "branded-image-colored",
   "brand_image_white": "branded-image-white",
   "branded_favicon": "branded-favicon",
   "brand_image_colored_url": "branded-image-colored-url",
   "brand_image_white_url": "branded-image-white-url",
   "branded_favicon_url": "branded-favicon-url"
}

Change given logo to be permanent

Use the theme ID of the theme you wish to update, along with the key used in the previous step, to link the logo with the theme that you wish to update. You can even make multiple upload calls, and then pass multiple keys to the theme update.

puthttps://api-eu.vonage.com/v1/meetings/themes/:theme_id/finalizeLogos

Authentifizierung

SchlüsselBeschreibungWoBeispiel
Authorization

Ihr JSON-Web-Token.
Lesen Sie mehr über JWTs

Headers

Bearer <JWT>

Anfrage Körper
Inhalt Typ
application/json

keys
array

List of temporary theme's logos to make permanent

key
string

Key used for uploading a logo

Beispiel Anfrage

{
   "keys": [
      "logo-key1",
      "logo-key2"
   ]
}

Antworten

OK

Get URLs that can be used to upload logos for a theme via a POST

Use a GET on this API to retrieve the credentials needed for upload. The response will contain objects for each favicon, light logo, and colored logo. The Policy will be your JWT. Grab the values for the image type you wish to upload.

gethttps://api-eu.vonage.com/v1/meetings/themes/logos-upload-urls

Authentifizierung

SchlüsselBeschreibungWoBeispiel
Authorization

Ihr JSON-Web-Token.
Lesen Sie mehr über JWTs

Headers

Bearer <JWT>

Antworten
Inhalt Typ
application/json

OK

array
url
string(uri)
Beispielhttps://storage-url.com

Storage system URL

fields
object

Fields property has to be part of the POST request's body

Content-Type
string
Beispielimage/png
key
string
Beispielauto-expiring-temp/logos/white/ca63a155-d5f0-4131-9903-c59907e53df0

Logo's key in storage system

logoType
string
Beispielfavicon
Muss eines der folgenden sein:whitecoloredfavicon
bucket
string
Beispielroomservice-whitelabel-logos-prod

Bucket name to upload to

X-Amz-Algorithm
string
BeispielAWS4-HMAC-SHA256
X-Amz-Credential
string
BeispielASSCSSQSAMKJISDGBW/20220410/us-east-1/s3/aws4_request
X-Amz-Date
string
Beispiel20220410T200246Z
X-Amz-Security-Token
string
BeispielIQoJb3JpZ2luX2VjEBIaCXVzLWVhc3QtMSJHMEUCIDMxvPG4
Policy
string
BeispieleyJleHBpcmF0aW9uIjoiMjAyMy0wNi0wN1QxMjo0Njo0MFo
X-Amz-Signature
string
Beispielfcb46c1adfa98836f0533aadebedc6fb1edbd90aa583f3264c0ae5bb63d83123

Beispiel Antwort

[
   {
      "url": "https://storage-url.com",
      "fields": {
         "Content-Type": "image/png",
         "key": "auto-expiring-temp/logos/white/ca63a155-d5f0-4131-9903-c59907e53df0",
         "logoType": "favicon",
         "bucket": "roomservice-whitelabel-logos-prod",
         "X-Amz-Algorithm": "AWS4-HMAC-SHA256",
         "X-Amz-Credential": "ASSCSSQSAMKJISDGBW/20220410/us-east-1/s3/aws4_request",
         "X-Amz-Date": "20220410T200246Z",
         "X-Amz-Security-Token": "IQoJb3JpZ2luX2VjEBIaCXVzLWVhc3QtMSJHMEUCIDMxvPG4",
         "Policy": "eyJleHBpcmF0aW9uIjoiMjAyMy0wNi0wN1QxMjo0Njo0MFo",
         "X-Amz-Signature": "fcb46c1adfa98836f0533aadebedc6fb1edbd90aa583f3264c0ae5bb63d83123"
      }
   }
]

Get rooms associated with the theme

gethttps://api-eu.vonage.com/v1/meetings/themes/:themeId/rooms

Authentifizierung

SchlüsselBeschreibungWoBeispiel
Authorization

Ihr JSON-Web-Token.
Lesen Sie mehr über JWTs

Headers

Bearer <JWT>

Abfrage Parameter

start_id
integer

The room serial number to filter from - This number is not the room Id

end_id
integer

The room serial number to filter to (excluding end_id itself) - This number is not the room Id

Antworten
Inhalt Typ
application/json

OK

page_size
integer
Beispiel25

The number of results returned on this page

total_items
integer
Beispiel30

The overall number of results

_embedded
array
id
string(uuid)
Beispiel9f6fe8ae-3458-4a72-b532-8276d5533e97

The room UUID

display_name
string
Max200
BeispielMy custom room

The name of the meeting room

metadata
string
Max500
BeispielWelcome to my custom room

Free text that can be attached to a room. This will be passed in the form of a header in events related to this room.

type
string
Standardinstant

The type of meeting which can be instant or long term. An instant is active for 10 minutes until the first participant joins the roo, and remains active for 10 minutes after the last participant leaves. A long term room expires after a specific date

Muss eines der folgenden sein:instantlong_term
recording_options
object

An object containing various meeting recording options

auto_record
boolean

Automatically record all sessions in this room. Recording cannot be stopped when this is set to true.

record_only_owner
boolean

Record only the owner screen or any share screen of the video.

meeting_code
string
Min9
Beispiel280674154

The meeting PIN number

is_available
boolean
Standardtrue

Once a room becomes unavailable, no new sessions can be created under it

theme_id
string(uuid)
Beispielef2b46f3-8ebb-437e-a671-272e4990fbc8

The theme UUID

created_at
string(date)
Beispiel{}

The time for when the room was created, expressed in ISO 8601 format

expires_at
string(date)
Beispiel{}

The time for when the room will be expired, expressed in ISO 8601 format. The value must be greater than 10 minutes from now

expire_after_use
boolean
Beispieltrue

Close the room after a session ends. Only relevant for long_term rooms

join_approval_level
string

The level of approval needed to join the meeting in the room. When set to "after_owner_only" the participants will join the meeting only after the host joined. When set to "explicit_approval" the participants will join the waiting room and the host will deny/approve them.

Muss eines der folgenden sein:noneafter_owner_onlyexplicit_approval
initial_join_options
object

Sets the default options for participants

microphone_state
string
Standarddefault
Beispielon

Set the default microphone option for users in the pre-join screen of this room.

Muss eines der folgenden sein:onoffdefault
callback_urls
object

Provides callback URLs to listen to events

rooms_callback_url
string
Beispielhttps://example.com/rooms

Callback url for rooms events, overrides application level rooms callback url.

sessions_callback_url
string
Beispielhttps://example.com/sessions

Callback url for sessions events, overrides application level sessions callback url.

recordings_callback_url
string
Beispielhttps://example.com/recordings

Callback url for recordings events, overrides application level recordings callback url.

available_features
object
is_recording_available
boolean
Standardtrue

Determine if recording feature is available in the UI.

is_chat_available
boolean
Standardtrue

Determine if chat feature is available in the UI.

is_whiteboard_available
boolean
Standardtrue

Determine if whiteboard feature is available in the UI.

is_locale_switcher_available
boolean
Standardtrue

Determine if the locale switcher is available in the UI.

is_captions_available
boolean

Determine if captions are available in the UI.

ui_settings
object

Provides options to customize the user interface

language
string
Standarden
Beispieles

The desired language of the UI. The default is English.

Muss eines der folgenden sein:arcadeenesfrheitpt-brzh-twzh-cn
_links
object

Provides links to join the meeting room

guest_url
object

The link to join the meeting as participant, using the meeting code

href
string
Beispielhttps://meetings.vonage.com/280674154
host_url
object

The link to join the meeting as host, using the meeting code

href
string
Beispielhttps://meetings.vonage.com/?room_token=280674154&participant_token=eyJhbGciOiJIUzI1NiIsInR5cC
_links
object

Represents HAL links for navigation purposes

first
object

Provides a link to the first element

href
string
Beispielhttps://api-eu.vonage.com/v1/meetings/rooms?page_size=50
self
object

Provides a link to the current element

href
string
Beispielhttps://api-eu.vonage.com/v1/meetings/rooms?page_size=50&start_id=2293905
next
object

Provides a link to the next element

href
string
Beispielhttps://api-eu.vonage.com/v1/meetings/rooms?page_size=50&start_id=2293906
prev
object

Provides a link to the previous element

href
string
Beispielhttps://api-eu.vonage.com/v1/meetings/rooms?page_size=50&start_id=2293904

Beispiel Antwort

{
   "page_size": 25,
   "total_items": 30,
   "_embedded": [
      {
         "id": "9f6fe8ae-3458-4a72-b532-8276d5533e97",
         "display_name": "My custom room",
         "metadata": "Welcome to my custom room",
         "type": "instant",
         "recording_options": {
            "auto_record": false,
            "record_only_owner": false
         },
         "meeting_code": "280674154",
         "is_available": true,
         "theme_id": "ef2b46f3-8ebb-437e-a671-272e4990fbc8",
         "created_at": {},
         "expires_at": {},
         "expire_after_use": true,
         "join_approval_level": "none",
         "initial_join_options": {
            "microphone_state": "on"
         },
         "callback_urls": {
            "rooms_callback_url": "https://example.com/rooms",
            "sessions_callback_url": "https://example.com/sessions",
            "recordings_callback_url": "https://example.com/recordings"
         },
         "available_features": {
            "is_recording_available": true,
            "is_chat_available": true,
            "is_whiteboard_available": true,
            "is_locale_switcher_available": true,
            "is_captions_available": false
         },
         "ui_settings": {
            "language": "es"
         },
         "_links": {
            "guest_url": {
               "href": "https://meetings.vonage.com/280674154"
            },
            "host_url": {
               "href": "https://meetings.vonage.com/?room_token=280674154&participant_token=eyJhbGciOiJIUzI1NiIsInR5cC"
            }
         }
      }
   ],
   "_links": {
      "first": {
         "href": "https://api-eu.vonage.com/v1/meetings/rooms?page_size=50"
      },
      "self": {
         "href": "https://api-eu.vonage.com/v1/meetings/rooms?page_size=50&start_id=2293905"
      },
      "next": {
         "href": "https://api-eu.vonage.com/v1/meetings/rooms?page_size=50&start_id=2293906"
      },
      "prev": {
         "href": "https://api-eu.vonage.com/v1/meetings/rooms?page_size=50&start_id=2293904"
      }
   }
}

Update an existing application

patchhttps://api-eu.vonage.com/v1/meetings/applications

Authentifizierung

SchlüsselBeschreibungWoBeispiel
Authorization

Ihr JSON-Web-Token.
Lesen Sie mehr über JWTs

Headers

Bearer <JWT>

Anfrage Körper
Inhalt Typ
application/json

update_details
object
Erforderlich

Contains information to be updated on the application. It is mandatory to provide at least one value to update; you will receive a 400 response otherwise.

default_theme_id
string(uuid)
Erforderlich

The application default theme id

Beispiel Anfrage

{
   "update_details": {
      "default_theme_id": "e86a7335-35fe-45e1-b961-5777d4748022"
   }
}

Antworten
Inhalt Typ
application/json

OK

application_id
string(uuid)
Beispiel921a6f5b-1f94-49f4-8107-26f0c75fc6e7

The application Id

account_id
string
Beispiel123ab4cd

The applications account id (ApiKey)

default_theme_id
string(uuid)

The application default theme id

Beispiel Antwort

{
   "application_id": "921a6f5b-1f94-49f4-8107-26f0c75fc6e7",
   "account_id": "123ab4cd",
   "default_theme_id": "e86a7335-35fe-45e1-b961-5777d4748022"
}

Webhaken

Webhooks sind eine Erweiterung einer API, aber anstatt dass Ihr Code Daten anfordert, sendet die API Daten an Sie. Die Daten werden in einer Webanforderung an Ihre Anwendung gesendet.

Um mehr über Webhooks zu erfahren, besuchen Sie unsere Website Webhooks-Dokumentation.

Diese API kann jeden der unten dokumentierten Webhooks an die von Ihnen konfigurierte URL senden. Sie müssen mit einer 200 oder 204 HTTP-Antwort antworten, andernfalls werden die Anfragen erneut versucht.

Verfügbare Operationen

Callbacks webhook

posthttps://example.com/webhooks/event

Anfrage Körper
Inhalt Typ
application/json

Einer der
event
string
Muss eines der folgenden sein:room:expired
room_id
string(uuid)
Beispiel9f6fe8ae-3458-4a72-b532-8276d5533e97

The room UUID

room_type
string
Standardinstant

The type of meeting which can be instant or long term. An instant is active for 10 minutes until the first participant joins the roo, and remains active for 10 minutes after the last participant leaves. A long term room expires after a specific date

Muss eines der folgenden sein:instantlong_term
expires_at
string(date)
Beispiel{}

The time for when the room will be expired, expressed in ISO 8601 format. The value must be greater than 10 minutes from now

created_at
string(date)
Beispiel{}

The time for when the room was created, expressed in ISO 8601 format

Beispiel Nutzlast»Room expired

{
   "event": "room:expired",
   "room_id": "9f6fe8ae-3458-4a72-b532-8276d5533e97",
   "room_type": "instant",
   "expires_at": {},
   "created_at": {}
}

Antworten

Your server returns this code if it accepts the callback