Verify OTP code

Time Status User Agent
Make a request to see history.

URL Expired

The URL for this request expired after 30 days.

Serializer for OTP verification.

Fields

Response Codes

Serializer for token response.

Fields

Serializer for Person model

Fields

Example Request

curl --request POST \
     --url https://api.flextract.dev/api/verify/otp/ \
     --header 'accept: application/json' \
     --header 'content-type: application/json'

Example Response

{
  "token": "abcdef1234567890",
  "phone_number": "+111111111",
  "status": "verified",
  "person": {
    "id": "abc123",
    "preferred_name": "John Doe",
    "email_address": "john@example.com",
    "role": "CLIENT",
    "allows_email": true
  }
}