application/json

Body Required

  • password string
  • country string
  • state string
  • device object
    Hide device attributes Show device attributes object
    • device string
    • name string
    • host string
    • platform string
    • operating_system string
    • operating_system_version string
    • local_host string
    • ip_address string
  • email_address string

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • status string
    • code integer(int32)
    • message string
    • data object
      Hide data attributes Show data attributes object
      • id string(uuid)
      • role string
      • category string
      • image string
      • rating number(double)
      • avatar string
      • session object
        Hide session attributes Show session attributes object
        • access_token string
        • refresh_token string
      • first_name string
      • last_name string
      • has_mfa boolean
      • has_recovery_codes boolean
POST /auth/user/become
curl \
 --request POST 'https://sandbox.serchservice.com/api/v1/auth/user/become' \
 --header "X-Serch-Signed: $API_KEY" \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "X-Serch-Drive-Api-Key: $API_KEY" \
 --header "X-Serch-Drive-Secret-Key: $API_KEY" \
 --header "X-Serch-Guest-Api-Key: $API_KEY" \
 --header "X-Serch-Guest-Secret-Key: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"password":"string","country":"string","state":"string","device":{"device":"string","name":"string","host":"string","platform":"string","operating_system":"string","operating_system_version":"string","local_host":"string","ip_address":"string"},"email_address":"string"}'
Request examples
{
  "password": "string",
  "country": "string",
  "state": "string",
  "device": {
    "device": "string",
    "name": "string",
    "host": "string",
    "platform": "string",
    "operating_system": "string",
    "operating_system_version": "string",
    "local_host": "string",
    "ip_address": "string"
  },
  "email_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
  }
}