Public APIs
Medium favicon

Medium

Personality

Community of readers and writers offering unique perspectives on ideas.

Medium's website screenshot

About Medium

This repository contains documentation for Medium's OAuth2 API, which allows integrations to publish posts to a user's Medium account on their behalf. It covers authentication (both self-issued access tokens and browser-based OAuth), along with resources for users, publications, posts, and images.

Access requires an access token, obtained either through self-issued integration tokens generated from account settings or through a browser-based OAuth flow using a client ID, client secret, and defined scopes (basicProfile, listPublications, publishPost, uploadImage). Self-issued tokens do not expire but can be revoked by the user.

The Medium API is no longer supported, and the repository is archived and read-only. Medium does not allow any new integrations with the API; browser-based authentication is available only to integrations that already existed prior to this change.

Key features

  • Publish posts to a user's Medium account via OAuth2 JSON API
  • Self-issued integration tokens for desktop and plugin integrations
  • Browser-based OAuth authorization flow for existing integrations
  • List a user's publications
  • Upload images for use within a Medium post

Frequently asked questions

Is the Medium API still supported?

No, the Medium API is no longer supported and Medium does not recommend using it.

How do I authenticate with the Medium API?

You can use self-issued integration tokens (recommended) or browser-based OAuth2 authentication, though the latter is only supported for existing integrations.

Can I create new integrations with the Medium API?

No, Medium does not allow any new integrations with browser-based OAuth authentication.

What can an integration do with a user's account?

Depending on granted scopes, an integration can access basic profile info, list publications, publish posts, and upload images.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product