Users
🔒 Проверка доступности телефона или email для нового пользователя.
Проверка доступности телефона или email для нового пользователя.
Access: authorized (10 ) · allowNullCompany: true · Scope: read
Allows: не требуются — phone and email availability check during sign-up and profile editing, rate-limited
TypeScript (copy-paste)
GET /user/check
<details open><summary><b>Params</b></summary>export interface UserCheckParams {
/** Phone number */
phone?: string | null
email?: string | null
zoomEmail?: string | null
}
</details>
<details open><summary><b>Response</b></summary>
export type UserCheckResponse = IServerResponse<Resp_user_check>
export interface IServerResponse<T = any> {
code: number
data: T
srvTS: number
rkey: string
}
</details>
Полный файл типов: /docs/types · raw: /docs/api-types.ts
get/user/check
Request
- Base URL: http://localhost
- URL: http://localhost/user/check
- Auth: one of:
- API key in header sid and API key in header rts and API key in header sig
- HTTP bearer
Query parameters
phonestring nullable
Phone number
Можно передать header phone (сервер мержит headers+query)
emailstring email nullable
Можно передать header email (сервер мержит headers+query)
zoomEmailstring email nullable
Можно передать header zoomEmail (сервер мержит headers+query)
Headers
devIDstring uuid required
UUID устройства клиента
tzstring required
Example:Europe/Moscow
Таймзона клиента (IANA или offset)
appstring required
Example:kosmodrom-web
Имя клиентского приложения
appVerstring required
Example:1.0.0
Версия клиента
rKeystring
Уникальный ключ запроса для логов/саппорта
Response
OK — IServerResponse<Resp_user_check>
Example response
{
"code": 200
}Changes
No recorded changes to this operation across all 1 revision of this API.