http://maasglobal.com/maas-backend/auth/auth-sms-login/request.json
Request schema for auth-sms-login
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | No | Develop | No | Forbidden | Forbidden | maas-backend/auth/auth-sms-login/request.json |
http://maasglobal.com/maas-backend/auth/auth-sms-login/request.json
http://maasglobal.com/core/components/api-common.json
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
headers | object |
Optional | No | request (this schema) |
payload | object |
Required | No | request (this schema) |
headers
object
object
with following properties:
Property | Type | Required |
---|---|---|
Accept |
Optional | |
X-Whim-User-Agent |
Optional |
Accept
#/definitions/acceptHeader
X-Whim-User-Agent
#/definitions/userAgentHeader
payload
object
object
with following properties:
Property | Type | Required |
---|---|---|
code |
string | Required |
phone |
string | Required |
TOPT login verification code
code
string
string
^\d+$
Slightly looser definition of phone number
phone
string
All instances must conform to this regular expression (test examples here):
^\+?(?:\d){6,14}\d$