Skip to main content

SendCodeByPhone

POST 

/auth/send-code-by-phone

SendCodeByPhone

Request

Query Parameters

    domain string

Header Parameters

    X-LP-Client-Identifier stringrequired

    ClientIdentifier

    Example: 90fd86be-e9ff-4f95-b1aa-65c0326c6af8
    X-LP-Client-Type stringrequired

    Possible values: [Unknown, App, WebApp, Service]

    ClientType

    Example: App
    X-LP-Client-Name string

    ClientName

    Example: Swagger
    X-LP-Client-OS-Name string

    ClientOSName

    Example: SwaggerDoc
    X-LP-Client-OS-Version string

    ClientOSVersion

    Example: 1.0
    X-LP-Client-Screen-Resolution string

    ClientScreenResolution

    Example: 1280x0900
    X-LP-Client-Model string

    ClientModel

    Example: Chrome 75
    X-LP-Organization-Alias string

    OrganizationAlias

    X-LP-Client-Extensions csv

    ClientExtensions

    Accept-Language stringrequired

    Language

    Example: en-US

Body

    phone stringrequired

    Possible values: >= 10 characters and <= 18 characters, Value must match regular expression ((8|\+7)-?)?\(?\d{3,5}\)?-?\d{1}-?\d{1}-?\d{1}-?\d{1}-?\d{1}((-?\d{1})?-?\d{1})?

    phone

    token stringnullable

    token

    ip stringnullable

    ip

    captcha_type CaptchaType (string)

    Possible values: [YandexSmartCaptcha, hCaptcha]

Responses

No Content

Loading...