Developer Console | {% trans "Your applications" %}
By using our APIs, you agree to our term and data policy.
Test Access Token
Click Authorize
button below, input your token there to invoke APIs with your account, which is required for APIs like /api/me
Or use it in command line, like
curl -H "Authorization: Bearer YOUR_TOKEN" {{ site_url }}/api/me
How to authorize
0. Create an application (you must have at least one URL included in the Redirect URIs field, e.g.https://example.org/callback
)
1. Guide your user to open this URL 2. Once authorizated by user, it will redirect to
https://example.org/callback
with a code
parameter:
3. Obtain access token with the following POST request:
and access token will be returned in the response:
4. Use the access token to access protected endpoints like /api/me
and response will be returned accordingly:
more endpoints can be found in API Documentation below.