application/json

Body Required

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
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
  }
}