Simulators
Clerk simulator
clerk-twin is a local, stateful simulator of Clerk’s Backend API for testing sign-up, user and organization code. It holds users and organizations with their metadata, the memberships between them and the webhooks they emit. A browser companion signs a @clerk/nextjs app in against the same records. The simulator follows Clerk except where a line marked Differs from Clerk says otherwise, and “unconfirmed” marks behavior not yet checked against Clerk. It never calls Clerk, sends no email, contacts no sign-in provider and changes no real instance.
Quickstart
Install the CLI, sign in and boot the simulator with RYSTIC_URL pointing at it.
On Pro you sign in with an API key from your account .
curl -fsSL https://www.rystic.ai/install.sh | sh
rystic login rys_… # your API key
export RYSTIC_URL=$(rystic run clerk-twin -d --port 0 --scenario clerk_acme_tenant --json | jq -r .data.url)
curl -s "$RYSTIC_URL/_rystic/version"
# -> {..."product":"clerk-twin"...}
On Enterprise, the licensed edition signs in with a license file in place of the key: rystic login ./rystic-license.json (licensing ).
First calls
Read the organization with its member count, create a user and read the user back by email address:
curl -s "$RYSTIC_URL/v1/organizations?include_members_count=true" -H 'Authorization: Bearer sk_test_placeholder' | jq -c '.data[0] | {name, members_count}'
# -> {"name":"Acme Robotics","members_count":5}
curl -s "$RYSTIC_URL/v1/users" -H 'Authorization: Bearer sk_test_placeholder' -H 'Content-Type: application/json' -d '{"email_address":["Ada@Example.com"],"first_name":"Ada","skip_password_requirement":true,"legal_accepted_at":"2026-01-01T00:00:00Z"}' | jq -c '{id, first_name}'
# -> {"id":"user_200000000000000000000000001","first_name":"Ada"}
curl -s "$RYSTIC_URL/v1/users?email_address=ADA@example.com" -H 'Authorization: Bearer sk_test_placeholder' | jq -c 'map({id, email: .email_addresses[0].email_address})'
# -> [{"id":"user_200000000000000000000000001","email":"ada@example.com"}]
Connect your client
Point @clerk/backend at the simulator’s origin with any sk_ key, and the rest of your code stays as it is. The library appends /v1 itself:
import { createClerkClient } from "@clerk/backend";
const clerk = createClerkClient({
secretKey: "sk_test_placeholder",
apiUrl: process.env.RYSTIC_URL,
});
const users = await clerk.users.getUserList({ limit: 5 });
@clerk/nextjs reads the same origin from CLERK_API_URL; the browser companion covers the rest of a Next.js app’s settings. The live feed shows whether the library’s requests arrive.
No client has been checked against this simulator yet.
Auth
The simulator takes a secret key as Authorization: Bearer sk_….
Differs from Clerk: the simulator accepts any bearer value that starts with sk_, where Clerk verifies the key itself.
| You send | The simulator returns |
|---|---|
no Authorization header | 401 on every route, with errors[0].code authorization_header_format_invalid and the message Invalid Authorization header format |
one header not in the form Bearer <value>, such as a key sent without Bearer | the same 401 |
two Authorization headers | the same 401 |
a bearer value that does not start with sk_, such as a publishable key | 401 on every route, with errors[0].code clerk_key_invalid and the message The provided Clerk Secret Key is invalid. Make sure that your Clerk Secret Key is correct. |
a bearer value that starts with sk_ | the route’s own result |
Differs from Clerk: Clerk returns a 400 page for two Authorization headers, before the request reaches the API.
These checks run before the route’s own checks. Only two errors come before them: an unreadable body and an unsupported Clerk-API-Version. The simulator reads the Bearer label in any letter case; Limitations names how that differs from Clerk.
Differs from Clerk: each of these refusals carries the same placeholder clerk_trace_id, where Clerk’s changes with every request.
Publishable keys (pk_…) belong to the browser companion, never to the Backend API.
API version
The simulator defaults to Clerk’s Backend API version 2026-05-12. The clerk-api-version response header reports the version selected for each request. Every Backend API route is served at /v1/… and at the same path without /v1.
To pin a version, send it in the Clerk-API-Version header:
Clerk-API-Version | The simulator |
|---|---|
| none | serves 2026-05-12 |
2021-02-05, 2024-10-01, 2025-04-10, 2025-11-10 or 2026-05-12 | serves that version |
| any other value | returns 400 api_version_invalid |
From version 2026-05-12, updating a user or an organization refuses its metadata fields with 422 form_param_deprecated. Write metadata through the /metadata routes instead.
| Request | Refused fields |
|---|---|
PATCH /v1/users/{user_id} | public_metadata, private_metadata, unsafe_metadata |
PATCH /v1/organizations/{organization_id} | public_metadata, private_metadata |
Errors and limits
Error format
A failed request returns a 4xx status and a body with errors, each entry with code, message and long_message. Most bodies also have clerk_trace_id, and Limitations lists how the trace id differs from Clerk. A taken address returns {"errors":[{"code":"form_identifier_exists","message":"…","long_message":"…","meta":{"param_name":"email_address"}}],"clerk_trace_id":"…"}. These responses leave the envelope:
| Response | Body |
|---|---|
400 api_version_invalid, on every route | errors with no clerk_trace_id |
404 from DELETE /v1/users/{user_id} for an unknown user | errors with no clerk_trace_id |
A path Clerk doesn’t have returns the simulator’s own 404 (Limitations).
A refusal of a body field names it in meta.param_name, as a taken email address, username, phone number or slug does. Of the lists, only the organization memberships list names a refused parameter. GET /v1/users refuses one with no meta, and GET /v1/organizations with an empty meta.
Rate limits
Until you turn Clerk’s limits on, no request to the simulator is refused for coming too fast.
Differs from Clerk: by default, a burst past a limit still succeeds.
rate_limits: real turns Clerk’s limits on: in the stack file, as in clerk: {product: clerk-twin, port: 8087, rate_limits: real}, at boot with rystic run --rate-limits real or RYSTIC_RATE_LIMITS=real, or mid-run with curl -s -X POST "$RYSTIC_URL/_rystic/network" -d '{"rate_limits": "real"}'.
With the limits on, it applies Clerk’s development-instance limits, each a fixed window of 10 seconds (unconfirmed) on wall time, not the simulator’s clock:
| Limit | Requests it counts |
|---|---|
| 100 for each secret key | every request to a served Backend API route but GET /v1/jwks, which Clerk leaves unlimited; the browser companion’s routes, such as /clerk.js, never count |
| 10 for each user | PATCH /v1/users/{user_id}, PATCH /v1/users/{user_id}/metadata and PUT /v1/users/{user_id}/metadata, sharing one allowance (unconfirmed) |
| 10 for each organization | PATCH /v1/organizations/{organization_id}, PATCH /v1/organizations/{organization_id}/metadata and PUT /v1/organizations/{organization_id}/metadata, sharing one allowance (unconfirmed) |
A request past a limit returns 429 with Retry-After and one too_many_requests error, Clerk’s body past the 100 a key gets; its body past an update limit is unconfirmed. Rate limits walks through each limit.
Differs from Clerk: Retry-After is the seconds left in the window, where Clerk sent 10, the length of its block.
Differs from Clerk: the simulator refuses a key’s 101st request exactly. Clerk’s count can lag, and a fast burst of 103 reads to a development instance got through.
Differs from Clerk: a production instance allows 1,000 requests per 10 seconds, and the simulator allows 100 whatever the key.
Differs from Clerk: Clerk also limits updates to one organization membership to 10 per 10 seconds, and the simulator does not.
For a 429 these limits do not produce, shape one with a network profile.
Pagination
Every list takes limit, default 10, and offset, default 0. Out-of-range values are handled as follows (unconfirmed):
| List | limit and offset |
|---|---|
GET /v1/users, GET /v1/organizations | any integer; a limit of 0 or less returns an empty page, and a value that is not an integer returns 422 form_param_value_invalid |
GET /v1/organizations/{organization_id}/memberships | limit from 1 to 500 and offset from 0, else 422 form_param_value_invalid |
GET /v1/users/{user_id}/organization_memberships | limit moved into 1 to 500 |
GET /v1/users refuses an order_by that names no sortable field with 422 form_param_value_invalid. It also takes starting_after, a user id: the page starts after that user. It needs no offset and an order_by of created_at, +created_at or -created_at, or none, else 422. An id that matches no user returns an empty array.
/_rystic/page-cap caps limit; name the route without /v1, as GET /users.
Idempotency
Not applicable: no Backend API route reads an idempotency key, so a retried create runs again. It is refused only when an email address, username, phone number or slug it sends is taken, or the membership it adds already exists.
Coverage
The simulator covers the Backend API’s users, organizations and memberships. Ban and unban, lock and unlock, sessions, invitations, session tokens, the Frontend API and every other Backend API family are out of scope. Every image_url and profile_image_url points to the simulator’s /preview/{file}, which returns a PNG to GET or HEAD with no credential. ?email_address= matches any letter case, and a new address matching a taken one but for case returns 422 form_identifier_exists (unconfirmed). The organization /metadata routes deep-merge on PATCH, where null removes a key, and replace each named field on PUT; the user routes do the same (unconfirmed).
Differs from Clerk: Clerk serves these images from img.clerk.com.
56 routes, counted from the simulator’s route table: 36 listed below, and 20 more that serve the same operations at other paths.
Show all operations
| Resource | Operations |
|---|---|
| Organization (7) | GET, POST /v1/organizations; GET, PATCH, DELETE /v1/organizations/{organization_id}; PUT, PATCH /v1/organizations/{organization_id}/metadata |
| Organization Membership (5) | GET, POST /v1/organizations/{organization_id}/memberships; PATCH, DELETE /v1/organizations/{organization_id}/memberships/{user_id}; GET /v1/users/{user_id}/organization_memberships |
| User (8) | GET, POST /v1/users; GET /v1/users/count; GET, PATCH, DELETE /v1/users/{user_id}; PUT, PATCH /v1/users/{user_id}/metadata |
Also served, outside the model: GET /.well-known/jwks.json, OPTIONS /.well-known/jwks.json, GET /clerk-ui.js, HEAD /clerk-ui.js, GET /clerk.css, HEAD /clerk.css, GET /clerk.js, HEAD /clerk.js, GET /jwks, OPTIONS /jwks, GET /preview/{file}, HEAD /preview/{file}, GET /v1/client/handshake, OPTIONS /v1/client/handshake, GET /v1/jwks, OPTIONS /v1/jwks.
Feed effects. Each operation below can put an effect event on the event feed (/_rystic/events) for each event type beside it, when what the call does produces that event. Any other call puts only its request event there.
| Operation | Event types |
|---|---|
POST /v1/organizations | organization.created, organizationMembership.created |
PATCH /v1/organizations/{organization_id} | organization.updated |
DELETE /v1/organizations/{organization_id} | organization.deleted |
POST /v1/organizations/{organization_id}/memberships | organizationMembership.created |
PATCH /v1/organizations/{organization_id}/memberships/{user_id} | organizationMembership.updated |
DELETE /v1/organizations/{organization_id}/memberships/{user_id} | organizationMembership.deleted |
POST /v1/users | user.created |
PATCH /v1/users/{user_id} | user.updated |
DELETE /v1/users/{user_id} | user.deleted |
PUT /v1/users/{user_id}/metadata | user.updated |
PATCH /v1/users/{user_id}/metadata | user.updated |
Scenarios
The simulator ships 5 scenarios; the quickstart boots clerk_acme_tenant.
| Scenario | What it is for | What it seeds | Clock |
|---|---|---|---|
clerk_acme_tenant (default) | Acme Robotics, five users in one organization | browser_invitation 2, browser_session 3, organization 1, organization_membership 5, user 5 | 2026-02-02T00:00:00Z |
clerk_holdco_orgs | One user in three organizations | browser_invitation 2, browser_session 3, organization 3, organization_membership 4, user 2 | 2026-02-02T00:00:00Z |
clerk_invite_backlog | An organization with ten seats | browser_invitation 8, browser_session 1, organization 1, organization_membership 2, user 2 | 2026-02-02T00:00:00Z |
clerk_session_sweep | Six browser sessions across three users | browser_invitation 1, browser_session 6, organization 1, organization_membership 3, user 3 | 2026-02-02T00:00:00Z |
clerk_solo_founder | The smallest populated instance | browser_invitation 1, browser_session 1, organization 1, organization_membership 1, user 1 | 2026-02-02T00:00:00Z |
What each scenario holds:
clerk_acme_tenant:- Two admins and three members, mixing passwords, TOTP and a Google account.
- Pending invitations for
priya.raman@acme-robotics.testas a member andleo.fontaine@acme-robotics.testas an admin. - Three live browser sessions.
- A timeline of five calls over five days, sent with the key
sk_test_acme_backend.
clerk_holdco_orgs:- Admin of one, member of another and billing manager of the third.
- A second user, admin of the organization where the first is a member.
- Two pending invitations and three live browser sessions.
clerk_invite_backlog:- An admin and a member.
- Eight pending invitations, two for admins, five for members and one for a billing manager.
- One live browser session.
clerk_session_sweep:- Two lapsed, one ending two hours after the scenario starts and three live.
- The three users are an admin, a billing manager and a member of one organization.
- One pending invitation.
clerk_solo_founder:- One user, the organization she created and her admin membership.
- One live browser session.
- One pending invitation.
- Every Backend API list returns one record.
Boot one by name, or load one into a running simulator:
rystic run clerk-twin -d --port 0 --scenario clerk_acme_tenant
curl -s -X POST "$RYSTIC_URL/_rystic/scenario" -d '{"name":"clerk_acme_tenant"}'
What the scenarios do not hold
- Without
--scenario, the simulator boots an empty instance with no users. - Every user, organization, invitation and session is synthetic, on a
.testdomain; nothing comes from a real Clerk instance. - The scenarios’ invitations and sessions belong to the browser companion: the Backend API serves no invitation or session route, so read them through the companion,
GET /_rystic/inspector the state UI. org:billing_manageris a membership role inclerk_holdco_orgsandclerk_session_sweep, which the Backend API lists as seeded, and an invitation role inclerk_invite_backlog. The companion’s member screens offer onlyorg:adminandorg:member.
Seeding state
A seed takes five registers, one per kind of record:
| Register | Records keyed by |
|---|---|
state_user | user id |
state_organization | organization id |
state_organization_membership | <organization_id>/<user_id> |
state_browser_session | session id |
state_browser_invitation | invitation id |
This seed adds a user to the running simulator, and the read returns her:
curl -s -X POST "$RYSTIC_URL/_rystic/seed" -d '{"state_user": {"user_seed1": {"id": "user_seed1", "first_name": "Grace", "email_addresses": [{"id": "idn_seed1", "email_address": "grace@example.com"}]}}}'
curl -s "$RYSTIC_URL/v1/users/user_seed1" -H 'Authorization: Bearer sk_test_placeholder' | jq -c '{id, first_name, email: .email_addresses[0].email_address}'
# -> {"id":"user_seed1","first_name":"Grace","email":"grace@example.com"}
Seeding covers the seed route’s responses and boot files, which wrap these registers with a clock and a timeline of calls.
Webhooks
To receive Clerk’s webhooks, boot with --env CLERK_TWIN_WEBHOOK_URL=<your receiver> and --env CLERK_TWIN_WEBHOOK_SECRET=whsec_…; without them, events land only on GET /_rystic/egress. Which event each write records is unconfirmed:
| Write | Event recorded |
|---|---|
| creating a user | user.created |
updating a user or writing its metadata through a user /metadata route | user.updated |
| deleting a user | user.deleted |
creating an organization without created_by | organization.created |
creating an organization with created_by naming a user | organization.created → organizationMembership.created |
| updating or deleting an organization | organization.updated or organization.deleted |
writing an organization’s metadata through an organization /metadata route | none |
| creating, updating or deleting a membership | organizationMembership.created, organizationMembership.updated or organizationMembership.deleted |
posting a register map to /_rystic/seed | the created event for each user, organization and membership it creates |
loading a register map or a scenario file at boot (--seed, RYSTIC_SEED) with RYSTIC_SEED_EVENTS=on | the created event for each user, organization and membership it creates, each after the user and organization it names, at startup and after each reset to boot |
posting a scenario file (the register map under seed), or loading either shape at boot without RYSTIC_SEED_EVENTS=on | none |
| a scenario’s starting records | none |
| a read, an error or a reset | none |
The browser companion’s writes record the same events.
- Signing. Give your site the same
whsec_secret as its signing secret. The envelope’s owntimestampis the simulator’s clock. - Delivery. Each event goes out once, in order.
- Differs from Clerk: Clerk retries a failed delivery on a schedule, and the simulator does not.
- Waiting for your app. Boot with
--env RYSTIC_WEBHOOK_HOLD_UNTIL=<your app's health URL>and the simulator holds every event until that URL returns 2xx. It then sends each once, in order, so withRYSTIC_SEED_EVENTS=onthe users and organizations a boot seed creates reach a site that starts after the simulator.RYSTIC_WEBHOOK_HOLD_UNTIL=releaseholds them untilPOST /_rystic/webhook-holdwith{"release": true}, and afterRYSTIC_WEBHOOK_HOLD_TIMEOUT(default10m) the simulator sends them anyway. A reset drops held events. A reset to boot sends the boot seed’s events again, holding them only while the hold has not yet released. A restarted simulator sends them again too. - Payloads. An event carries private metadata and a deleted resource as it was. Its
instance_idis the syntheticins_clerk_twin, andevent_attributes.http_request.client_ipanduser_agentare empty.- Differs from Clerk: Clerk fills these with your instance’s id and the request’s client IP and user agent.
- Message ids. An id derives from the payload and its sequence, so replaying a scenario after a reset can repeat an id: clear your receiver’s deduplication with the reset.
The event shapes follow Clerk’s webhook documentation (unconfirmed). Webhooks covers delivery and Observing the log.
Features
Each feature has its own page:
- Browser companion: Lookalike sign-in and sign-up screens, organization switching, member management and signed session tokens, so a @clerk/nextjs app signs users in against the simulator.
- Custom sign-up and sign-in forms: Sign-up and sign-in forms a site builds with useSignUp() and useSignIn() run on the simulator, by email with a password or with the code 424242, and with the emailed code as a second factor.
- Rate limits: Turn on Clerk’s request and update limits, so the 11th update to one user in 10 seconds returns 429 with Retry-After.
- Session tasks: Seed an instance that requires an organization, and a session with no active organization stays pending on the choose-organization task until the user picks or creates one.
- The signing key: The key that signs the browser companion’s session tokens: made on first start, kept across restarts, or yours through CLERK_TWIN_PRIVATE_KEY_FILE.
Determinism and reset
Ids are sequences: user_200000000000000000000000001, then …0002, and org_1, then org_2. The clock starts at the wall time the simulator boots, unless a scenario sets it. A session token’s iat, nbf and exp and a webhook’s svix-timestamp are stamped on the wall clock instead, so your site accepts them wherever the clock is pinned.
Differs from Clerk: the simulator mints ids as a sequence, not as Clerk does, so treat ids as opaque.
A reset also ends every browser session: a token issued before it no longer verifies.
The clock moves:
- a browser session’s expiry, 24 hours after it starts (Browser companion);
- the timeline of
clerk_acme_tenant, which retitles a user at +2 hours, creates one at +24 hours, promotes one at +26 hours, changes the organization’s plan at +72 hours and removes a member at +120 hours.
Reset and determinism covers reset, the clock and the RNG.
Limitations
Known issues.
- Typed parameters are not validated:
banned=maybe,created_at_after=notanumberor a numericfirst_nameis accepted where Clerk returns 422. - Responses carry no
x-clerk-trace-idheader to match the body’sclerk_trace_id. - A path Clerk doesn’t have returns a plain 404 instead of Clerk’s
resource_not_founderror. - The simulator accepts the
Bearerlabel in any letter case, where Clerk refuses a lowercasebearerwith 401authorization_header_format_invalid.
Beyond the known issues, 231 of the 252 operations in the published spec are not served, 3 success responses may leave out fields the spec requires, 19 documented responses have no test yet and 63 behaviors are not modeled. The details follow.
Show all limitations
Not served. 231 of the 252 operations in the published spec are not served. Calling one of these routes returns 501, unless a served route takes its path.
- Organization Memberships, 4 of 6 served:
GET /v1/organization_memberships,PATCH /v1/organizations/{organization_id}/memberships/{user_id}/metadata - Organizations, 7 of 12 served:
GET /v1/organizations/{organization_id}/billing/credits,POST /v1/organizations/{organization_id}/billing/credits,GET /v1/organizations/{organization_id}/billing/subscription,PUT /v1/organizations/{organization_id}/logo,DELETE /v1/organizations/{organization_id}/logo - Users, 9 of 37 served:
POST /v1/users/ban,POST /v1/users/unban,DELETE /v1/users/{user_id}/backup_code,POST /v1/users/{user_id}/ban,GET /v1/users/{user_id}/billing/credits,POST /v1/users/{user_id}/billing/credits,GET /v1/users/{user_id}/billing/subscription,GET /v1/users/{user_id}/biometric_credentials, … and 20 more - Not served at all: Actor Tokens (2), Admin Portal Link Tokens (2), Agent Tasks (2), Allow-list / Block-list (6), API Keys (8), Beta Features (3), Billing (12), Clients (3), Directories (10), Domains (4), Email & SMS Templates (6), Email Addresses (7), Enterprise Connections (7), Instance Settings (11), Invitations (4), JWT Templates (5), M2M Tokens (4), Machines (9), Miscellaneous (1), OAuth Access Tokens (1), … and 17 more
Missing response fields. The spec requires these fields in a success response, and the simulator may leave them out:
PATCH /v1/organizations/{organization_id}/memberships/{user_id}(200):organization/admin_delete_enabled,organization/created_at,organization/has_image,organization/id,organization/max_allowed_memberships,organization/name,organization/public_metadata,organization/slug, … and 7 morePOST /v1/organizations/{organization_id}/memberships(200):organization/admin_delete_enabled,organization/created_at,organization/has_image,organization/id,organization/max_allowed_memberships,organization/name,organization/public_metadata,organization/slug, … and 6 morePUT /v1/users/{user_id}/metadata(200):backup_code_enabled,create_organization_enabled,delete_self_enabled,external_id,last_active_at,last_sign_in_at,legal_accepted_at,lockout_expires_in_seconds, … and 9 more
Not tested. 160 tests compare the simulator with the real service. 19 documented responses have no test yet, and 13 of them need a credential our test account doesn’t hold (401 ×6, 403 ×7). The other 6:
| Operation | Status | Why |
|---|---|---|
DELETE /v1/organizations/{organization_id}/memberships/{user_id} | 422 | no known request reaches it |
GET /v1/organizations/{organization_id}/memberships | 422 | no test could build the request it needs |
PATCH /v1/organizations/{organization_id} | 402 | no known request reaches it |
PATCH /v1/users/{user_id} | 409 | no known request reaches it |
POST /v1/organizations | 402 | no known request reaches it |
POST /v1/users | 402 | no known request reaches it |
1 recorded test is not run.
Not modeled. Behavior the simulator does not model, by operation:
- Deletion of the organization’s pending invitations. (
DELETE /v1/organizations/{organization_id}) - Whether the organization_id path parameter also accepts the instance-unique slug here, as GET /organizations/{organization_id} documents; this operation’s parameter description says only ‘The ID of the organization’. (
DELETE /v1/organizations/{organization_id}/memberships/{user_id}) - Filter semantics of the array parameters (user_id, email_address, phone_number, username, web3_wallet, role): the +/- include/exclude syntax and the documented 100-value cap have no documented rejection status; values not found are ignored. (
GET /v1/organizations/{organization_id}/memberships) - Ordering semantics of order_by (+/- prefixes over phone_number, email_address, created_at, first_name, last_name, username) — the spec names the sortable fields but not tie-breaking or the default order. (
GET /v1/organizations/{organization_id}/memberships) - Whether the organization_id path parameter also accepts the organization slug on this path (documented only for GET /organizations/{organization_id}). (
GET /v1/organizations/{organization_id}/memberships) - Whether total_count reflects the filtered set or every membership of the organization. (
GET /v1/organizations/{organization_id}/memberships) - Whether
providersupplied withoutprovider_user_id(or vice versa) is rejected or ignored is not stated in the parameter descriptions. (GET /v1/users) - Whether an unknown
order_byproperty name is rejected, ignored, or falls back to the default is not documented (only the multiple-order_by ‘keep the first one’ rule is). (GET /v1/users) - The User response may include optional
directories,directory,scimandorganization_membershipsonly when those links are loaded; the loading condition is not documented for this operation. (GET /v1/users/{user_id}) - Ordering of the returned memberships (sort key/direction) is not documented. (
GET /v1/users/{user_id}/organization_memberships) - Whether PATCH resolves the organization by slug as GET /organizations/{organization_id} does is not stated; the parameter description says ‘The ID of the organization to update’. (
PATCH /v1/organizations/{organization_id}) - Whether an unknown role_set_key is refused, and with which status, is undocumented. (
PATCH /v1/organizations/{organization_id}) - Whether supplying created_at rewrites the stored creation timestamp or is validated against a range is undocumented. (
PATCH /v1/organizations/{organization_id}) - Effects of totp_secret / backup_codes / profile_image_id updates on the derived user flags (totp_enabled, backup_code_enabled, has_image) are not spelled out and are not modeled. (
PATCH /v1/users/{user_id}) - Whether a null value at the TOP level of a bag (e.g. “public_metadata”: null) clears the bag, is rejected, or is ignored — the description only documents null at nested keys. (
PATCH /v1/users/{user_id}/metadata) - Whether the response includes organization_memberships / directories / scim on this endpoint, and any rate-limit (429) behavior, which the spec does not document for this operation. (
PATCH /v1/users/{user_id}/metadata) - Whether unknown body parameters are rejected at all (additionalProperties: false is a schema claim; no prose states the service refuses them) and, if so, with which status. (
PATCH /v1/users/{user_id}/metadata) - Whether exceeding the organization’s max_allowed_memberships produces a distinct rejection (and at which status) is not documented here. (
POST /v1/organizations/{organization_id}/memberships) - totp_secret, backup_codes, password_digest/password_hasher acceptance and the resulting totp_enabled/backup_code_enabled/password_enabled response flags are instance-configuration dependent and unmodeled. (
POST /v1/users) - Whether the organization path parameter also resolves a slug here (as GET /organizations/{organization_id} documents) is not stated. (
PUT /v1/organizations/{organization_id}/metadata) - … and 43 more
By design.
- Development instance only. The simulator models one Clerk instance; a production instance’s settings and billing are out of scope.
- The browser companion, session signing and webhook delivery are unconfirmed. They have not been checked against Clerk.
Release notes: Changelog