11-04-2022 07:08 AM
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
Solved! Go to Solution.
11-04-2022 07:37 AM
@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 .
11-04-2022 07:37 AM
@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 .
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