Clerk External Accounts API

Used to interact with the external accounts of the current user.

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v1/me/external_accounts Connect a social login account to my profile · Connect OAuth Accounts #
Ask an LLM
“How do I link a social login account to my existing profile?”
“Can I request extra OAuth scopes when connecting a new external account?”
Tell an agent
Connect a new external account using strategy {strategy} and redirect to {redirect_url}.
Link an account via {strategy} with additional scopes {additional_scope}.
PATCH /v1/me/external_accounts/{external_account_id}/reauthorize Reauthorize a connected external account · Reauthorize External Account #
Ask an LLM
“How do I re-consent a connected account to grant new scopes?”
“What do I do when a linked social account's authorization has lapsed?”
Tell an agent
Reauthorize external account {external_account_id} and redirect to {redirect_url}.
Reauthorize {external_account_id} with extra scopes {additional_scope}, returning to {redirect_url}.
DELETE /v1/me/external_accounts/{external_account_id} Unlink an external account from my profile · Delete External Account #
Ask an LLM
“How do I disconnect a social login from my account?”
“Can I remove a linked external account entirely?”
Tell an agent destructive · confirm first
Delete external account {external_account_id}.
Unlink connected account {external_account_id} from my profile.
DELETE /v1/me/external_accounts/{external_account_id}/tokens Revoke OAuth tokens of a linked account · Revoke OAuth Tokens #
Ask an LLM
“How do I revoke the access and refresh tokens stored for a linked account but keep the link?”
“Does revoking tokens for a connected account work with every provider?”
Tell an agent destructive · confirm first
Revoke the OAuth tokens for external account {external_account_id}.
Invalidate stored access and refresh tokens of {external_account_id}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/clerk-com:clerk-com-external-accounts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

clerk-com-external-accounts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Clerk Frontend External Accounts API
  version: v1
  description: The Clerk REST Frontend API, meant to be accessed from a browser or native environment.
  x-logo:
    url: https://clerk.com/_next/image?url=%2Fimages%2Fclerk-logo.svg&w=96&q=75
    altText: Clerk docs
    href: https://clerk.com/docs
  contact:
    email: support@clerk.com
    name: Clerk Team
    url: https://clerk.com/support
  termsOfService: https://clerk.com/terms
  license:
    name: MIT
    url: https://github.com/clerk/javascript/blob/main/LICENSE
servers:
- url: https://{domain}.clerk.accounts.dev
  variables:
    domain:
      default: example-destined-camel-13
      description: Your Development Instance Frontend API Domain.
security:
- {}
- DevBrowser: []
- ProductionBrowser: []
- ProductionNativeApp: []
  ProductionNativeFlag: []
tags:


# --- truncated at 32 KB (60 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/clerk-com/refs/heads/main/openapi/clerk-com-external-accounts-api-openapi.yml