Skip to content

Confirm User Signup

Request

Confirm user registration with verification code

Bodyapplication/jsonrequired
usernamestring, (email)required

User's email address

codestringrequired

Verification code sent to email

Example:"873858"
passwordstring, (password)required

User's password

curl -i -X POST \
  https://docs.exolink.com/_mock/apis/exolink_api/auth/confirm \
  -H 'Content-Type: application/json' \
  -d '{
    "username": "user@example.com",
    "code": "873858",
    "password": "pa$$word"
  }'

Responses

User confirmed successfully

Bodyapplication/json
Tokenobject

Authentication tokens

UserInfoobject(UserInfo)
Settingsobject

User settings including default tenant

Response
{ "Token": { "AccessToken": "string", "RefreshToken": "string", "IdToken": "string" }, "UserInfo": { "userId": "string", "username": "string", "email": "string", "givenName": "string", "familyName": "string", "mfa": true, "perms": {} }, "Settings": { "default": {} } }