# Create WebAuthn Registration (beta) **POST /v1/auth/webauthn/registrations/create** Verify a signed WebAuthn registration request for the specified user ID and complete and create the WebAuthn registration. This is usually returned by [navigator.credentials.create(options)](https://w3c.github.io/webappsec-credential-management/#algorithm-create-cred) or [webauthn-json](https://github.com/github/webauthn-json) library. If you are using the `webauthn-json` library, pass in the response from `const response = await create(options);` in `public_key_credential`. ## HTTP Request `POST /v1/auth/webauthn/registrations/create` ## Returns A successful response returns an `user_id` property and `webauthn_credential_id` property. ## Servers - Production: https://api.moonkey.fun (Production) ## Authentication methods - Authorization ## Parameters ### Body: application/json (object) - **public_key_credential** (object) `Required` The signed public key credential for the WebAuthn registration. This object is usually returned by `navigator.credentials.create()`. - **user_id** (string) `Required` User ID of the user to attach this WebAuthn registration to. ## Responses ### 200 OK #### Body: application/json (object) - **user_id** (string) - **webauthn_credential_id** (string) [Powered by Bump.sh](https://bump.sh)