Verify code

POST /auth/mfa/verify/code
application/json

Body Required

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • status string
    • code integer(int32)
    • message string
    • data object

      Additional properties are allowed.

      Hide data attributes Show data attributes object
POST /auth/mfa/verify/code
curl \
 --request POST 'https://sandbox.serchservice.com/api/v1/auth/mfa/verify/code' \
 --header "Content-Type: application/json" \
 --data '{"code":"string","device":{"device":"string","name":"string","host":"string","platform":"string","operating_system":"string","operating_system_version":"string","local_host":"string","ip_address":"string"}}'
Request examples
{
  "code": "string",
  "device": {
    "device": "string",
    "name": "string",
    "host": "string",
    "platform": "string",
    "operating_system": "string",
    "operating_system_version": "string",
    "local_host": "string",
    "ip_address": "string"
  }
}
Response examples (200)
{
  "status": "100 CONTINUE",
  "code": 42,
  "message": "string",
  "data": {
    "id": "string",
    "role": "string",
    "category": "string",
    "image": "string",
    "rating": 42.0,
    "avatar": "string",
    "session": {
      "access_token": "string",
      "refresh_token": "string"
    },
    "first_name": "string",
    "last_name": "string",
    "has_mfa": true,
    "has_recovery_codes": true
  }
}