Exchange the invited email's code for a proof.
curl --request POST \ --url https://auth.example.com/api/v1/invitations/email-verification/verify \ --header 'Content-Type: application/json' \ --data '{ "token": "example", "verification_id": "example", "code": "example" }'Checks the code sent to the invited email (five attempts per code) and returns a proof, valid for 15 minutes, that passkey and authenticator-app signup starts take as invitation_email_proof.
Request Body required
Section titled “Request Body required ”object
Example generated
{ "token": "example", "verification_id": "example", "code": "example"}Responses
Section titled “ Responses ”The code was right.
object
Example
{ "expires_in": 900}Error response.
object
Optional browser-side WebAuthn Signal API hint. When unknown_credential is true, clients that just received a WebAuthn credential assertion may call PublicKeyCredential.signalUnknownCredential() for that credential ID.
object
Example generated
{ "error": "example", "error_description": "example", "message": "example", "webauthn_signal": { "unknown_credential": true }}Error response.
object
Optional browser-side WebAuthn Signal API hint. When unknown_credential is true, clients that just received a WebAuthn credential assertion may call PublicKeyCredential.signalUnknownCredential() for that credential ID.
object
Example generated
{ "error": "example", "error_description": "example", "message": "example", "webauthn_signal": { "unknown_credential": true }}Error response.
object
Optional browser-side WebAuthn Signal API hint. When unknown_credential is true, clients that just received a WebAuthn credential assertion may call PublicKeyCredential.signalUnknownCredential() for that credential ID.
object
Example generated
{ "error": "example", "error_description": "example", "message": "example", "webauthn_signal": { "unknown_credential": true }}