Skip to main content
POST
/
api
/
score
/
link
Link anonymous score to account
curl --request POST \
  --url https://app.dacard.ai/api/score/link \
  --header 'Content-Type: application/json' \
  --cookie __session= \
  --data '
{
  "resultId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "linked": true,
  "resultId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

__session
string
cookie
required

Clerk session cookie. Authentication is handled by Clerk. Sign in at https://app.dacard.ai/sign-in to obtain a session.

Body

application/json
resultId
string<uuid>
required

The anonymous scoring result ID to link

Response

Score successfully linked to account

linked
boolean
Example:

true

resultId
string<uuid>