cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
548
Views
0
Helpful
3
Replies

Setup webhook using integration app

BohdanM
Level 1
Level 1

We want to build integration using Webex API and Webhooks. As result we want get next usecase:

1. User allow us to make API call and setup Webhook with provided Access Token(via OAuth Authorization URL)
2. We setup on our side Webhook for meeting event
3. We call API to get meeting details.

The problem we can`t setup webhook using users access token

Do we need register another app or perform additional actions to setup Webhooks using Integration app?

3 Replies 3

dtibbe
VIP Alumni
VIP Alumni

Webhooks will also work with integrations. What is not working in your case, are you receiving an error message?

My case:
1. Create a simple web server to to apply Oauth
2. Register Integration (set url to my server as Redirect URI)
3. Set a meetings scope
4. Granted integration permissions for my account 
5. Get access token from callback to my server
6  Use it access token to create webhook for meetings 


Get next error

{
  "message": "The request requires a valid access token set in the Authorization request header.",
  "errors": [
    {
      "description": "The request requires a valid access token set in the Authorization request header."
    }
  ],
  "trackingId": "WEBEX-DEV-PORTAL_a8cf8bb9-432b-458c-8abf-777429c173d5_6"
}

NOTE: I want to create webhook for user, to get callback on meeting creation, pass it to our system for next processing

The error message states that the token you've provided is not valid or was even omitted. It does not state that the token is missing scopes.

The authorization header mit look like

Authorization: Bearer Yabcdef...

I.e. including the Bearer keyword.