Otp
POST /api/v1/otp/resend
Create resend O T P Code
resendOTPCode handles POST /api/v1/otp/resend
Request Body
Type: OTPResendRequest
| Field | Type | Description |
|---|---|---|
otp_token | string |
Example
curl -X POST \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{}' \
https://api.seeme.ai/api/v1/otp/resendPOST /api/v1/otp/verify
Create verify O T P Code
verifyOTPCode handles POST /api/v1/otp/verify
Request Body
Type: OTPVerifyRequest
| Field | Type | Description |
|---|---|---|
otp_token | string | |
code | string | |
remember_device | bool |
Response
Type: OTPVerifyReply
| Field | Type | Description |
|---|---|---|
id | string | |
username | string | |
name | string | |
firstname | string | |
email | string | |
apikey | string | |
device_token | string | returned if remember_device was true (optional) |
Example
curl -X POST \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{}' \
https://api.seeme.ai/api/v1/otp/verify