Skip to main content
POST
/
v1
/
credentials
/
verify
Verify a VC-JWT
curl --request POST \
  --url https://grantex-auth-dd4mtrt2gq-uc.a.run.app/v1/credentials/verify \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "vcJwt": "<string>"
}
'
{
  "valid": true,
  "issuer": "<string>",
  "credentialSubject": {},
  "status": "active",
  "reason": "<string>"
}

Authorizations

Authorization
string
header
required

Developer API key

Body

application/json
vcJwt
string
required

The VC-JWT to verify

Response

200 - application/json

Verification result

valid
boolean
issuer
string
credentialSubject
object
status
enum<string>
Available options:
active,
revoked
reason
string

Present when valid is false