capabilities.work

Exchange an authorization code for tokens

One step with Medium. We can help you get access.

Get something done

Exchange an authorization code for tokens

with Medium

Use Medium: its Medium OAuth2 Tokens API lets you exchange an authorization code for tokens in a single step (POST /tokens). capabilities.work can help you get signed up and connected.

  • How do I turn the authorization code from the Medium OAuth callback into an access token?
  • How long is the access token valid once I exchange the code?
Say it to your AI assistant
  • Exchange authorization code {code} for tokens using client {client_id} and secret {client_secret}.
  • Complete the OAuth token exchange for code {code} with redirect {redirect_uri}.
For your developer

POST /tokens in Medium OAuth2 Tokens API. Full spec on APIs.io.