03-04-2024 06:08 AM
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?
03-04-2024 08:31 AM
Webhooks will also work with integrations. What is not working in your case, are you receiving an error message?
03-04-2024 08:49 AM
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
03-05-2024 11:46 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide