使用邮箱获取用户 ID
GET
https://open.teambition.com/api/user/getId该接口用于根据邮箱信息获取用户 ID。
请求参数
Body 参数application/json
email
string
邮箱
示例
{
"email": "c.kcrcddu@qq.com"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
返回码,200 表示成功
errorMessage
string
必需
调用失败时的错误信息
result
object
必需
userId
string
用户 ID
示例
{
"code": 200,
"errorMessage": "",
"result": {
"userId": "5a28e2036176bbde..."
}
}
最后修改时间: 2 年前