Clerk Sessions API

The Session object is an abstraction over an HTTP session. It models the period of information exchange between a user and the server. Sessions are created when a user successfully goes through the sign in or sign up flows.

Business capability
Identity & Access Management BC-620.20

Operations 19

GET /sessions List All Sessions #
POST /sessions Create a New Active Session #
GET /sessions/{session_id} Retrieve a Session #
POST /sessions/{session_id}/refresh Refresh a Session #
POST /sessions/{session_id}/revoke Revoke a Session #
POST /sessions/{session_id}/tokens Create a Session Token #
POST /sessions/{session_id}/tokens/{template_name} Create a Session Token from a JWT Template #
DELETE /v1/client/sessions Remove Client's Sessions #
GET /v1/client/sessions/{session_id} Get Session #
POST /v1/client/sessions/{session_id}/touch Touch Session #
POST /v1/client/sessions/{session_id}/end End Session #
POST /v1/client/sessions/{session_id}/remove Remove Session #
POST /v1/client/sessions/{session_id}/tokens Create Session Token #
POST /v1/client/sessions/{session_id}/tokens/{template_name} Create Session Token with JWT Template #
POST /v1/client/sessions/{session_id}/verify Start a New Session Reverification #
POST /v1/client/sessions/{session_id}/verify/prepare_first_factor Prepare Session Reverification First Factor #
POST /v1/client/sessions/{session_id}/verify/attempt_first_factor Attempt Session Reverification First Factor #
POST /v1/client/sessions/{session_id}/verify/prepare_second_factor Prepare Session Reverification Second Factor #
POST /v1/client/sessions/{session_id}/verify/attempt_second_factor Attempt Session Reverification Second Factor #

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-sessions-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-sessions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Clerk Com Sessions API
  termsOfService: https://clerk.com/terms
  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
  version: '1.0'
  description: 'Operations tagged Sessions across 2 of this provider''s published API definitions: clerk-backend-api-openapi.yml, clerk-frontend-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.clerk.com/v1
- url: https://{domain}.clerk.accounts.dev
  variables:
    domain:
      default: example-destined-camel-13
      description: Your Development Instance Frontend API Domain.
tags:


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