Open API / Auth

鉴权与账号接口

账号体系支持短信验证码、密码登录、注册、登出、用户资料、头像和个人统计。

短信验证码密码登录JWT用户资料头像上传

Features

登录态

登录成功后服务端签发 JWT,客户端后续请求通过 Authorization: Bearer 访问。

公开配置

客户端可读取注册开关、App 关于页、帮助中心等公开配置。

Example

curl -X POST https://meet.yi-ruan.com/api/v1/auth/login-password \
  -H "Content-Type: application/json" \
  -d '{"phone":"19977770001","password":"<password>"}'

Related APIs

  • GET /api/v1/auth/config
  • POST /api/v1/auth/send-code
  • POST /api/v1/auth/login
  • POST /api/v1/auth/login-password
  • POST /api/v1/auth/register
  • GET /api/v1/users/me
  • POST /api/v1/users/me/avatar

Ready to try Yihuichang?

Download the client to get started, or contact the team about self-hosting, OEM and partnerships.