Register
Registers a passkey for the authenticated user from the attestation a browser produced for a registration challenge. Mint that challenge first with POST /users/me/passkeys/challenge and run the ceremony with its creation_options; it is single-use and expires 5 minutes after it is issued. Send back the user_handle the options carried; a registration without it is refused. Registering replaces the account’s passkeys made before Whop issued options, which can only be deleted. Requires a user session that has completed step-up verification.
Authorizations
Only available to a signed-in whop.com session. API keys, access tokens, and OAuth tokens are not accepted.
Headers
A unique key that makes this request safe to retry. See Idempotent requests.
255"d9105228-4a08-46b1-8b91-42fed586d383"
Pins the request to a dated API version.
"2026-11-04-1"
Body
The attestationObject from the WebAuthn attestation response, base64url-encoded.
"YXR0ZXN0YXRpb24"
The clientDataJSON from the WebAuthn attestation response, base64url-encoded.
"Y2xpZW50LWRhdGE"
The WebAuthn credential ID the authenticator returned, base64url-encoded.
"bmV3LWNyZWRlbnRpYWw"
A name for this passkey, usually the device it lives on. 255 characters or fewer.
"Work laptop"
The creation_options.user.id the passkey was created with. Must match the challenge's options.
"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
The getTransports() result from the registration response. Values Whop does not recognize are dropped.
Response
passkey registered
When the user registered this passkey, as an ISO 8601 timestamp.
"2026-01-01T12:00:00.000Z"
The WebAuthn credential ID as a base64url string. Pass it in allowCredentials when you run a ceremony against this specific passkey.
"bGFwdG9wLWNyZWRlbnRpYWw"
Passkey ID, prefixed wcred_. Use it to delete the passkey.
"wcred_xxxxxxxxxxxxxx"
When this passkey last completed a WebAuthn ceremony, as an ISO 8601 timestamp, or null if it never has.
"2026-01-01T12:00:00.000Z"
The name the user gave this passkey, usually the device it lives on.
"MacBook Pro"

