
Navigate to the discord developers portal and select the application you want to verify users with.

Navigate to the OAuth2 Section and copy your Client ID and reset then copy your Client Secret

Navigate to ReqBin and paste this into the big field in the middle (highlighted in the screenshot):
curl --location 'https://api.cookie-api.com/api/discord/oauth2/add' \--header 'Authorization: API_Key' \--header 'Content-Type: application/json' \--data '{"client_secret": "CLIENT_SECRET", "client_id": "CLIENT_ID"}'

Replace the values with your actual values



Now click on ‘Send’. If you did everything right it should look like this:
If it doesn’t look like below, read the error and try to fix it (Step 3 to Step 5). If that doesn’t help repeat the steps from above. If that also didn’t help feel free to ask on our discord server. Make sure to provide any errors and the API Response!

Now you copy the redirect_url and navigate to the OAuth2 section. There add the redirect_url as a Redirect:

Make sure to click on Save Changes!
Now you can start verifying users. To verify them you can either use the example_authorization_url from the API Request you just did or generate one with custom scopes (permissions) in the OAuth2 URL Generator.