OAuth

POST /api/oauth/request_token

Allows a Consumer application to obtain an OAuth Request Token to request user authorization. This method fulfills Section 6.1 of the OAuth 1.0 authentication flow. It is strongly recommended you use HTTPS for all OAuth authorization steps.

Form Parameters:
 
  • oauth_callback – URL for callback or oob
Request Headers:
 

Example response:

oauth_token=b41de9b1026dfa4506f043f3c50fea21&oauth_token_secret=29f365bba6ccd55d72703f75ee1fhb1f&oauth_callback_confirmed=true
GET /api/oauth/authorize

Allows a Consumer application to use an OAuth Request Token to request user authorization. This method fulfills Section 6.2 of the OAuth 1.0 authentication flow.

Query Parameters:
 
  • oauth_token (string) – OAuth token to authenticate

In response you will get a web page to allow access for an application. After allowing it, you will get a security code.

POST /api/oauth/access_token

Allows a Consumer application to exchange the OAuth Request Token for an OAuth Access Token. This method fulfills Section 6.3 of the OAuth 1.0 authentication flow. The OAuth access token may also be used for xAuth operations.

Request Headers:
 

Example response:

oauth_token=fb05a0d00257gf0e1cb39f0c8d59575e&oauth_token_secret=ab78cf28ca6536ae78f4082d4e1a0331

Todo

research /api/oauth/authenticate