5. Get User DAR ID Information

Endpoint:

GET <https://auth.embarky.xyz/onboarding/v1/account/info>

Headers:

Header
Value

Authorization

Bearer ${ACCESS-TOKEN}

Origin

The same domain of refirect_uri

Embarky-app-id

Your DAR client ID

Example Request:

curl -H "Authorization: Bearer ${token}" \\
     -H "Origin: ${refirect_uri}" \\
     -H "Embarky-app-id: ${DAR_CLIENT_ID}" \\
     "<https://auth.embarky.xyz/onboarding/v1/account/info>"

Response:

{
    "did": "user_dar_id",
    // Additional user information fields
}

Last updated