Skip to content

Register

POST
/auth/registration
curl --request POST \
--url https://web.exactly.app/api/auth/registration \
--header 'Client-Platform: ios' \
--header 'Content-Type: application/json' \
--header 'account-type: business' \
--data '{ "method": "siwe", "id": "example", "signature": "example" }'

Registers a new WebAuthn credential for a user.

session_id
Session identifier

HTTP-only cookie.

string
/^[\w-]+$/
Client-Fid
string
<= 36 characters
Client-Platform
Allowed values: ios
account-type
Allowed values: business
do-connecting-ip
string
factory
Factory

Account factory address.

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

Sign-in with Ethereum.

Allowed values: siwe
id
required
Address

Address to sign in with.

string
signature
required
Signature

Signature of the cryptographic challenge message.

WebAuthn registration response containing credential identifier and factory address.

Media typeapplication/json
object
credentialId
required
Base64URL encoded credential identifier
string
/^[\w-]+$/
factory
required
Account factory address
string
x
required
Credential public key x coordinate
y
required
Credential public key y coordinate
salt
Credential salt
string
auth
required
Session expiry

When the authenticated session will expire.

number
intercomToken
required
Any of:
string
nullable
walletExtension
object
token
required

Apple Wallet Extension bearer token.

string
expire
required

Apple Wallet Extension bearer token expiry.

number
Examplegenerated
{
"credentialId": "example",
"factory": "example",
"x": "example",
"y": "example",
"salt": "example",
"auth": 1,
"intercomToken": "example",
"walletExtension": {
"token": "example",
"expire": 1
}
}