Skip to main content
POST
/
identity
/
verify
cURL
curl --request POST \
  --url https://api.useanima.sh/v1/identity/verify \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "jwtVc": "<string>"
}
'
{
  "valid": true,
  "credential": {},
  "errors": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

JWT Bearer token obtained from authentication. Pass as: Authorization: Bearer

Body

application/json

Input for verifying a verifiable credential

jwtVc
string
required

The JWT-VC string to verify

Minimum string length: 1

Response

200 - application/json

OK

Output after verifying a verifiable credential

valid
boolean
required
credential
object | null
required
errors
string[]
required