user_registered 欢迎邮件。
方法: POST 路径: /api/auth/register/email 认证: 无
请求
string
required
邮箱地址。必须唯一。
string
required
账户密码。
string
可选的显示名称。
响应
string
会话 JWT。
object
新用户档案。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
使用邮箱地址与密码创建咏唱引擎账户。返回会话令牌,并在配置 SMTP 时发送欢迎邮件。
user_registered 欢迎邮件。
方法: POST 路径: /api/auth/register/email 认证: 无
curl -X POST https://ariacompute.cn/api/auth/register/email \
-H "Content-Type: application/json" \
-d '{"email": "[email protected]", "password": "...", "name": "Jane"}'
{
"token": "eyJhbGciOi...",
"user": {
"id": "usr_01H...",
"email": "[email protected]",
"name": "Jane",
"created_at": "2026-09-23T10:00:00Z"
}
}
| 状态 | 含义 |
|---|---|
400 | 邮箱无效或缺失密码。 |
409 | 邮箱已注册。 |
Was this page helpful?