We refreshed our doc site!

Bookmarked links may have changed

Read release notes

resendOTP

Web3 Services
Compliance Engine

Resend an OTP email to the user

POSThttps://api.circle.com/v1/w3s/users/email/resendOTP

When the users don’t receive the OTP email, you can call this API to resend OTP email. The prior OTP email would expire after the new one is sent out.

Header parameters
X-User-Token
string
Required

Unique system generated JWT session token for specific user.

Body parameters
deviceId
string
Required

Get the device id from SDK, and the deviceToken is bound with this device id.

email
string
Required

Sends OTP email to the destination address.

otpToken
string
Required

The OTP is bound on a user and purpose, and uses this value to identify the request.

idempotencyKey
uuid
Required

Universally unique identifier (UUID v4) idempotency key. This key is utilized to ensure exactly-once execution of mutating requests. To create a UUIDv4 go to uuidgenerator.net. If the same key is reused, it will be treated as the same request and the original response will be returned.

Response
RequestChoose a language
ResponseChoose an example
1{
2  "data": {
3    "otpToken": "eyJhbGciOiJS...-F8EFYDYjAxIUw"
4  }
5}
Did this page help you?
© 2023-2024 Circle Technology Services, LLC. All rights reserved.