Wallets, tokens & networks
Verify Crossmint OTP
Atomically claims an unexpired OTP for the caller own email, burning an attempt on failure.
POSThttps://api.toku.com/platform/verify-crossmint-otp
Not available to API keys.
curl --request POST \
--url 'https://api.toku.com/platform/verify-crossmint-otp' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email": "user@example.com",
"code": "string"
}'200 response
{
"verified": true,
"email": "string"
}Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is an access token from a Toku sign-in. See Authentication in the API reference.
Body
application/json
emailstring<email>requiredcodestringrequiredAllowed: 6 to 6 characters
Response
200Successful response
verifiedbooleanrequiredemailstringrequired400Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict
429Response 429
Was this page helpful? Suggest edits