Signup
Body
Required
-
gender
string Values are
MALE
,FEMALE
,ANY
, orNONE
. -
password
string Format should match the following pattern:
^[A-Za-z0-9@-Z]
. -
referral
string -
state
string -
country
string -
device
object Additional properties are allowed.
-
first_name
string Required -
last_name
string Required -
phone_information
object Additional properties are allowed.
-
fcm_token
string -
email_address
string
POST
/auth/user/signup
curl \
--request POST 'https://sandbox.serchservice.com/api/v1/auth/user/signup' \
--header "Content-Type: application/json" \
--data '{"gender":"MALE","password":"string","referral":"string","state":"string","country":"string","device":{"device":"string","name":"string","host":"string","platform":"string","operating_system":"string","operating_system_version":"string","local_host":"string","ip_address":"string"},"first_name":"string","last_name":"string","phone_information":{"phone_number":"string","country_code":"string","iso_code":"string","country":"string"},"fcm_token":"string","email_address":"string"}'
Request examples
{
"gender": "MALE",
"password": "string",
"referral": "string",
"state": "string",
"country": "string",
"device": {
"device": "string",
"name": "string",
"host": "string",
"platform": "string",
"operating_system": "string",
"operating_system_version": "string",
"local_host": "string",
"ip_address": "string"
},
"first_name": "string",
"last_name": "string",
"phone_information": {
"phone_number": "string",
"country_code": "string",
"iso_code": "string",
"country": "string"
},
"fcm_token": "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
}
}