跳到内容
API 文档

用户

检索已认证用户的API资料。

身份验证
每个请求都必须在 Authorization 头中发送与管理员 API 密钥匹配的 Bearer 令牌。 获取API密钥.
API 文档

端点
GET https://rqrcode.com/api/user
示例
curl --request GET \
--url 'https://rqrcode.com/api/user' \
--header 'Authorization: Bearer {api_key}'
参数
无附加参数。
响应示例
{
    "data": {
        "id": "1",
        "type": "users",
        "email": "[email protected]",
        "billing": {
            "type": "personal",
            "name": "约翰·多伊",
            "address": "示例街21号",
            "city": "伦敦",
            "county": "大伦敦",
            "zip": "5000",
            "country": "",
            "phone": "",
            "tax_id": "",
            "is_enabled": true,
            "plan_id": "custom",
            "plan_expiration_date": "2027-04-20 07:51:39",
            "plan_settings": {
                "...": "..."
            },
            "plan_trial_done": false,
            "language": "英语",
            "timezone": "欧洲/伦敦",
            "country_name": null,
            "datetime": "2026-04-20 07:51:39",
            "last_activity": "2020-01-01 00:00:00",
            "total_logins": 10
        }
    }
}