Skip to content

Meetings Getting Started

Neeraj Swarnkar edited this page Jul 24, 2023 · 27 revisions

Meetings Getting Started

Introduction *(if already exists link it with a basic into on payload and response)

  • Dev portal into how to create integration

    • Integrations are how you request permission to invoke the Webex REST API on behalf of another Webex user.

Go to the https://developer.webex.com/my-apps

This step requires a developer to create a developer account this step is necessary to create an application with a specific scope and in return, you get back ClientID and ClientSecret

https://developer.webex.com/docs/integrations

Create a new integration https://developer.webex.com/my-apps/new/integration

  • guest issues app creation

Go to the https://developer.webex.com/my-apps

Create a new https://developer.webex.com/my-apps/new/guest-issuer

  • link to oauth

  • client app creation and initialize the Webex SDK

Create the app or web page and follow the below documentation for importing and initializing the SDK.

https://github.com/webex/webex-js-sdk/wiki/Importing-and-Initializing-the-Web-SDK

  1. Create a USM meeting

Generate the access token from here

Make sure you're signed in to the Developer Portal.

Create a Webex space and invite people

Every room/space is associated with room Id - "id": "Y2lzY29zcGFyazovL3VzL1JPT00vMDJiZTk0YTAtYzcwZC0xMWVkLWJiOWYtMGRiYjQ2ODVlOTEx" -

A typical room object would look like below JSON,

{
        "id": "Y2lzY29zcGFyazovL3VzL1JPT00vYzVlNjgxODAtMDkxMy0xMWVkLWFmZjQtYTc5YzYwNWU1MEKl",
        "title": "Ask Web SDK",
        "type": "group",
        "isLocked": false,
        "lastActivity": "2022-08-25T07:30:18.466Z",
        "creatorId": "Y2lzY29zcGFyazovL3VzL1BFT1BMRS8zNDRlYTE4My05ZDVkLTRlNzctYWVkMi1jNGYwMDRhZmR6NUV",
        "created": "2022-07-21T16:40:04.760Z",
        "ownerId": "Y2lzY29zcGFyazovL3VzL09SR0FOSVpBVElPTi8xZWI2NWZkZi05NjQzLTQxN2YtOTk3NC1hZDcyY2FlMGVyNHZ",
        "isPublic": false
}

In this, the id field is the Room ID / Hydra ID. This room ID can be used to create a meeting as mentioned below


* how the license works for space meeting or webex meeting link [here]
* talk about meetings API, ad-hoc meetings and scheduled meeting in a space -> get back meeting information
    1. if using guest to guest please call the service app before making /meetings API call 
* Guests who are joining after the meeting starts in a space
* go to step 3


2) creating a plain webex meeting 

   1. link to the webex meeting intro and licence 

   2. Service app creation

Got to the https://developer.webex.com/my-apps

Create a new service app - https://developer.webex.com/my-apps/new/service-app

Provide name, description, scopes and all the required options and submit -

<img width="733" alt="image" src="https://github.com/webex/webex-js-sdk/assets/3918217/c6ba655f-7f43-458a-ba81-9a4895fafdd2">

The developer will get the client ID and secrets.

Authorize service app - by org admin You need to get the service app approved from admin.cisco.com (once app is approved, we got the machine account)

hereafter go to https://developer.webex.com/docs/service-app

generate access token - In the org authorization copy the secret and generate the access token 

![image](https://github.com/webex/webex-js-sdk/assets/3918217/a51f6cd0-462d-40db-b5c9-eceb50175398)

there's an access token for the user, and this user is of machine type, which is a machine account.


   3. how to use the /meetings API

3)  creating a meeting using the meeting id/sipaddress, meeting link etc.

Clone this wiki locally