Skip to content

Getting started with StackExchange API

Beñat Espiña edited this page Jan 4, 2018 · 3 revisions

To test the authenticated API endpoints we need to register an app in StackApps:

http://stackapps.com/apps/oauth/register

For example the following URL is my test app that allows to realize auth requests by the API:

https://stackapps.com/apps/oauth/view/3535

To generate the access token we have to use something like the following url:

https://stackexchange.com/oauth/dialog?client_id=3535&scope=no_expiry,write_access,private_info&redirect_uri=https://stackexchange.com/oauth/#_success

The following question is a dummy question to test the API:

http://meta.stackexchange.com/questions/51812/the-api-sandbox

Clone this wiki locally