Skip to content

Get registration options

GET
/auth/registration
curl --request GET \
--url https://web.exactly.app/api/auth/registration

Initiates WebAuthn registration by generating credential creation options for a new user. Sets a session HTTP-only cookie.

credentialId
Ethereum address

Address to register with, if using Sign-in with Ethereum.

string

WebAuthn registration options containing challenge, relying party info, and credential parameters for client-side credential creation

Media typeapplication/json
One of:
Sign-in with Ethereum
object
method
required
Method

Sign-in with Ethereum.

Allowed values: siwe
address
required
Address

Address to sign in with.

string
message
required
Message

Message to sign.

string
Example
{
"method": "siwe"
}