The Clerk verification resource, the state of one attempt to verify an email address, phone number, wallet or external account.
Every field is nullable because ClerkJS leaves them unset until the matching step of the flow has run.
Decode a Verification from the JSON the shim sends.
{ "status": "verified"
, "strategy": "email_code"
, "expireAt": 1700003600000
, "error": null
, "message": null
, "nonce": null
, "externalVerificationRedirectURL": null
, "verifiedAtClient": null
}
The verification attached to another resource.
erroris themessageof the underlyingClerkAPIError, not the whole error object.externalVerificationRedirectURLis the URL as a string. PasskeypublicKeyis browser-only and is deliberately not serialized.