Skip to main content

SignUp

POST 

/auth/sign-up

SignUp

Request

Header Parameters

    X-LP-Client-Identifier stringrequired

    Идентификатор клиента

    Example: 6aabb0da-05d1-409a-a145-95b0c55264ff
    X-LP-Client-Type stringrequired

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

    Тип клиента

    Example: App
    X-LP-Client-Name string

    Имя клиента

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

    ОС клиента

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

    Версия ОС клиента

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

    Разрешение экрана ОС клиента

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

    Модель оборудования клиента

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

    Организация по умолчанию

    X-LP-Client-Extensions csv

    Поддерживаемые клиентом расширения моделей

    Accept-Language stringrequired

    Язык используемый для ответов

    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

    name stringrequired

    Possible values: >= 5 characters and <= 64 characters

    name

    initial_username stringnullable

    Possible values: >= 2 characters and <= 24 characters, Value must match regular expression ^[a-zA-Z0-9_-]{2,24}$

    initial_username

    initial_password stringnullable

    Possible values: >= 6 characters and <= 32 characters

    initial_password

    confirmation_code stringrequired

    Possible values: >= 6 characters and <= 6 characters, Value must match regular expression ^\d+$

    confirmation_code

    email emailnullable

    Possible values: >= 6 characters and <= 64 characters

    email

Responses

Success

Schema

    token stringnullable

    token

Loading...