Skip to content

Начать сброс пароля

Началть сброс пароля#

Ручка#

POST lk/v1/user/start_reset_password

Полный адрес в сети#

Среда URL
🧪 Dev `https://gateway.devterra.ru/lk/v1/user/start_reset_password
🚀 Prod https://mobile-api.terraprod.ru/lk/v1/user/start_reset_password

Пример тела запроса#

{
    "contact": "user1@example.com"
}
Поле Тип Описание Обязательное Пример
contact string Контакт "user1@example.com"

Пример тела ответа#

{
    "data": {
        "email": {
            "contact": "user@example.com",
            "contactDecoded": "user@example.com",
            "typeName": "email",
            "type": 1,
            "isVerified": true
        },
        "phone": {
            "contact": "+1234567890",
            "contactDecoded": "+1234567890",
            "typeName": "phone",
            "type": 2,
            "isVerified": false
        }
    },
    "enteredContact": {
        "contact": "user@example.com",
        "contactDecoded": "user@example.com",
        "typeName": "email",
        "type": 1,
        "isVerified": true
    }
}
Поле Тип Описание Обязательное Пример
contact string Контакт "user@example.com"
contactDecoded string Как контакт был распознан "user@example.com"
typeName string Названия типа контакта "email"
type int32 Тип контакта "1"
isVerified bool Верифицирован ли "true"