The Clerk Backend API is built to be used from your backend code. We make our best attempt to make your Clerk resources available to you in a predictable manner. All requests accept form-encoded request bodies, and respond with a JSON-encoded body.
Base URL: https://api.clerk.dev/
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:
-H "Authorization: Bearer test_abc...xyz"\
-H "Content-type: application/json"\
Be careful not to expose these keys in your Git repository, frontend code, or anywhere else that is public.