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

How to get an Authorization code for Authentication API?

mococo
Level 1
Level 1

I'm making webex authentication API that method is v1/access_token. This API needs code parameters. Code parameter is explained like 'The Authorization Code from the previous step' and I don't know what is the Authorization Code meaning. Can anyone help me to figure out what is the Authentication Code meaning and how to create this option?

1 Reply 1

Raffaele Lagana
Cisco Employee
Cisco Employee

The Authorization code is a value that's created by the webex backend when a user authorizes the OAuth integration (i.e. when they enter their credentials and then accept permissions). The Authorization process starts when the user accesses the OAuth Authorization URL that's provided when the integration is created on https://developer.webex.com/my-apps.

Once a user has authorized the integration successfully, this authorization code is sent to whatever redirect_uri was specified during the integration creation step. It will be sent to that redirect_uri as a URL parameter called "code".

You then need to use this "code" in the body of your POST request to the webexapis.com/v1/access_token API.

More information on this is found here: https://developer.webex.com/docs/integrations