cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
491
Views
0
Helpful
1
Replies

How to use Webex API key ?

remisw
Level 1
Level 1

Hi, I'm trying to make a POST request with the https://webexapis.com/v1/messages API using my API key obtained with the https://meetings-api.webex.com/gapi/registerapikey link. But I always get an error "The request requires a valid access token set in the Authorization request header". I tried adding the Authorization and Authentication key to the header with the value "Bearer MY_API_KEY" and "Basic MY_API_KEY" but nothing works. Same thing when using my secret key. How can I use my API key please? How to convert it to "Bearer ..."? Thanks for your help

1 Accepted Solution

Janos Benyovszki
Cisco Employee
Cisco Employee

@remisw the https://developer.cisco.com/docs/webex-meetings/#!api-key-registration API key was never meant to work with the Webex REST messages API. If you want to generate an OAuth token for the /messages API you should follow the guideline described here https://developer.webex.com/docs/integrations .

View solution in original post

1 Reply 1

Janos Benyovszki
Cisco Employee
Cisco Employee

@remisw the https://developer.cisco.com/docs/webex-meetings/#!api-key-registration API key was never meant to work with the Webex REST messages API. If you want to generate an OAuth token for the /messages API you should follow the guideline described here https://developer.webex.com/docs/integrations .

Getting Started

Welcome to the Webex Community. This is your home to ask questions, share knowledge, and attend live webinars.