Wallets, tokens & networks

Send Crossmint OTP

Creates a 10-minute six-digit OTP for the caller own email and emails it.

POSThttps://api.toku.com/platform/send-crossmint-otp

Not available to API keys.

curl --request POST \
  --url 'https://api.toku.com/platform/send-crossmint-otp' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "user@example.com"
}'
200 response
{
  "success": true,
  "email": "string"
}

Authorizations

Authorizationstringheaderrequired

Bearer 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>required

Response

200Successful response
successbooleanrequired
emailstringrequired
400Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict
429Response 429
Was this page helpful? Suggest edits