Search…
Introduction

API Reference

The Clerk Backend API is organized around REST and is built to be used from your backend code. All requests accept JSON-encoded (recommended) and form-encoded request bodies, return JSON-encoded responses and uses standard HTTP response codes, authentication, and verbs.
Base URL: https://api.clerk.dev/

Authentication

The Clerk Backend API uses secret API keys. You can find and create your instance API keys in Clerk Dashboard API Keys -> Backend API Keys page.
These keys should never be shared with anyone, as they allow the holder to access all your Clerk resources.
An example request is the following:
1
curl \
2
-H "Authorization: Bearer test_abc...xyz" \
3
-H "Content-type: application/json" \
4
https://api.clerk.dev/v1/users
Copied!
Be careful not to expose these keys in your Git repository, frontend code, or anywhere else that is public.