POST
/
sdk
/
{environmentId}
/
verify
curl --request POST \
  --url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/verify \
  --header 'Content-Type: application/json' \
  --data '{
  "oauth": {
    "provider": "emailOnly",
    "accessToken": "<string>",
    "didToken": "<string>"
  },
  "signedMessage": "signed message",
  "messageToSign": "message to sign",
  "publicWalletAddress": "<string>",
  "chain": "ETH",
  "walletName": "<string>",
  "walletProvider": "browserExtension",
  "skipEmptyAccountCheck": true,
  "captchaToken": "<string>",
  "network": "<string>"
}'
{
  "jwt": "jwt_value",
  "user": {
    "id": "95b11417-f18f-457f-8804-68e361f9164f",
    "projectEnvironmentId": "95b11417-f18f-457f-8804-68e361f9164f",
    "verifiedCredentials": [
      {
        "address": "0xbF394748301603f18d953C90F0b087CBEC0E1834",
        "chain": "<string>",
        "refId": "95b11417-f18f-457f-8804-68e361f9164f",
        "signerRefId": "95b11417-f18f-457f-8804-68e361f9164f",
        "email": "jsmith@example.com",
        "id": "95b11417-f18f-457f-8804-68e361f9164f",
        "name_service": {
          "avatar": "<string>",
          "name": "<string>"
        },
        "public_identifier": "<string>",
        "wallet_name": "<string>",
        "wallet_provider": "browserExtension",
        "wallet_properties": {
          "turnkeySubOrganizationId": "95b11417-f18f-457f-8804-68e361f9164f",
          "turnkeyPrivateKeyId": "95b11417-f18f-457f-8804-68e361f9164f",
          "isAuthenticatorAttached": true
        },
        "format": "blockchain",
        "oauth_provider": "emailOnly",
        "oauth_username": "<string>",
        "oauth_display_name": "<string>",
        "oauth_account_id": "<string>",
        "oauth_account_photos": [
          "<string>"
        ],
        "oauth_emails": [
          "<string>"
        ],
        "previous_users": [
          "95b11417-f18f-457f-8804-68e361f9164f"
        ],
        "embedded_wallet_id": "<string>"
      }
    ],
    "alias": "<string>",
    "country": "US",
    "email": "jsmith@example.com",
    "firstName": "<string>",
    "jobTitle": "<string>",
    "lastName": "<string>",
    "phoneNumber": "<string>",
    "policiesConsent": true,
    "tShirtSize": "<string>",
    "team": "<string>",
    "username": "<string>",
    "firstVisit": "2023-11-07T05:31:56Z",
    "lastVisit": "2023-11-07T05:31:56Z",
    "newUser": true,
    "metadata": {},
    "btcWallet": "<string>",
    "kdaWallet": "<string>",
    "ltcWallet": "<string>",
    "ckbWallet": "<string>",
    "kasWallet": "<string>",
    "dogeWallet": "<string>",
    "emailNotification": true,
    "discordNotification": true,
    "newsletterNotification": true
  }
}

Path Parameters

environmentId
string
required

ID of the environment

Required string length: 36

Body

application/json
Verification data
signedMessage
string
required
messageToSign
string
required
publicWalletAddress
string
required
chain
enum<string>
required
Available options:
ETH,
EVM,
FLOW,
SOL,
ALGO,
STARK,
COSMOS
walletName
string
required
walletProvider
enum<string>
required
Available options:
browserExtension,
custodialService,
walletConnect,
qrCode,
deepLink,
embeddedWallet,
smartContractWallet
oauth
object
skipEmptyAccountCheck
boolean

Used for wallet transfers. When set to true it will execute the transfer even if the wallet is the only one that the transferor has.Be warn that this will result an orphan account that will be impossible to access.

captchaToken
string

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

network
string

Response

200
application/json
Successful verify response, that contains the encoded JWT as a string.
jwt
string
required

Encoded JWT token

user
object
required