POST
/
sdk
/
{environmentId}
/
emailVerifications
/
verify
Authorization
Path
Body
curl --request POST \
  --url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/emailVerifications/verify \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "captchaToken": "<string>",
  "verificationToken": 123456,
  "verificationUUID": "95b11417-f18f-457f-8804-68e361f9164f"
}'
{
  "emailVerification": {
    "email": "jsmith@example.com",
    "verificationUUID": "95b11417-f18f-457f-8804-68e361f9164f"
  },
  "jwt": "jwt_value",
  "nextView": "done",
  "user": {
    "alias": "<string>",
    "btcWallet": "<string>",
    "ckbWallet": "<string>",
    "country": "US",
    "discordNotification": true,
    "dogeWallet": "<string>",
    "email": "jsmith@example.com",
    "emailNotification": true,
    "firstName": "<string>",
    "firstVisit": "2023-11-07T05:31:56Z",
    "id": "95b11417-f18f-457f-8804-68e361f9164f",
    "jobTitle": "<string>",
    "kasWallet": "<string>",
    "kdaWallet": "<string>",
    "lastName": "<string>",
    "lastVisit": "2023-11-07T05:31:56Z",
    "ltcWallet": "<string>",
    "metadata": {},
    "newUser": true,
    "newsletterNotification": true,
    "phoneNumber": "<string>",
    "policiesConsent": true,
    "projectEnvironmentId": "95b11417-f18f-457f-8804-68e361f9164f",
    "tShirtSize": "<string>",
    "team": "<string>",
    "username": "<string>",
    "verifiedCredentials": []
  }
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environmentId
string
required

ID of the environment

Body

application/json
captchaToken
string

When provided, used to verify that a captcha is valid and get the success/failure result from the captcha provider server-side.

verificationToken
string
required
verificationUUID
string
required

Response

200 - application/json
emailVerification
object
jwt
string
required

Encoded JWT token

nextView
enum<string>
required
Available options:
done,
verify-email,
verified-and-transferred
user
object
required