Complete WebAuthn credential registration for a new user (in Transmit) or a user that isn't currently logged in via Transmit. This API must be called from the backend using a client access token. If successful, the credentials will be registered for the user corresponding to the external user ID in the request. If no user is found, a new user will be created.
WebAuthn attestation data returned by the browser upon credential creation. If the credential was created using navigator.credentials.create(), call toJSON() on the returned PublicKeyCredential before sending it to the backend. Optionally include deviceInfo (publicKeyId, publicKey) in the same object to bind the device to the user, so it appears in the device_keys claim of the ID token after passkey login.
A unique identifier in the tenant, which corresponds to an identifier of the user in your system.
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/auth/webauthn/external/register
- US production environmenthttps://api.transmitsecurity.io/cis/v1/auth/webauthn/external/register
- EU production environmenthttps://api.eu.transmitsecurity.io/cis/v1/auth/webauthn/external/register
- CA production environmenthttps://api.ca.transmitsecurity.io/cis/v1/auth/webauthn/external/register
- AU production environmenthttps://api.au.transmitsecurity.io/cis/v1/auth/webauthn/external/register
- JP production environmenthttps://api.gasne1-ts01.transmitsecurity.io/cis/v1/auth/webauthn/external/register
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/auth/webauthn/external/register \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"webauthn_encoded_result": "string",
"device_id": "string",
"external_user_id": "string",
"user_email": "string"
}'Registered credential details
The authenticators' attachment modalities. Cross-platform authenticator are external to the current device, such as a USB security key or a different device
{ "webauthn_session_id": "string", "user_id": "string", "webauthn_username": "string", "credential_id": "string", "authenticator_attachment": "platform", "aaguid": "string", "external_user_id": "string", "is_user_created": true }