POST oauth/access_token

<br _rte_temp_br="brEOB">

POST oauth/access_token


This is the third step in the OAuth 1.0a 3-legged OAuth flow, which can be used to generate a set of user Access Tokens.

A successful request to this endpoint allows an App to exchange the OAuth Request Token for an OAuth Access Token. This method fulfills Section 6.3 of the OAuth 1.0 authentication flow.

Endpoint URL

Resource Information

Authentication Not required

Query parameters

Name Required Description
oauth_token required The oauth_token here must be the same as the oauth_token returned by the POST oauth/request_token endpoint in step 1 of the flow.
oauth_verifier required

If using the OAuth web-flow, set this parameter to the value of the oauth_verifier returned as a query parameter in the callback URL by the GET oauth/authorize or GET oauth/authenticate endpoints in step 2 of the flow.

If you are using out-of-band OAuth (you set the callback URL value to oob in step 1, and therefore are using pin-based authorization), set this value to the pin-code that the user passed along to you.

Example request

When using a specified callback URL:

      curl --request POST \
  --url ''

When using pin-based authorization:

      curl --request POST \
  --url ''

Example response