sms

Exchange

Меняет вечный токен старой схемы на пару access/refresh.

Нужен на время перехода: у клиентов, которые авторизовались до релиза, в localStorage лежит токен со сроком жизни 100 лет и без возможности отзыва.

post/api/v1/sms/exchange

Request

Response

Successful Response

okboolean
tokenstring required
phonestring required
namestring nullable
customer_idinteger nullable
expires_ininteger required
is_blockedboolean

Changes

No recorded changes to this operation across all 4 revisions of this API.