Chuyển đến nội dung
Tài liệu API

Người dùng

Lấy hồ sơ API của người dùng đã xác thực.

Xác thực
Mỗi yêu cầu phải gửi header Authorization với token Bearer khớp với khóa API quản trị. Lấy khóa API.
Tài liệu API

Endpoint API
GET https://rqrcode.com/api/user
Ví dụ
curl --request GET \
--url 'https://rqrcode.com/api/user' \
--header 'Authorization: Bearer {api_key}'
Tham số
Không có tham số bổ sung.
Ví dụ phản hồi
{
    "data": {
        "id": "1",
        "type": "users",
        "email": "[email protected]",
        "billing": {
            "type": "personal",
            "name": "Nguyễn Văn An",
            "address": "21 Đường Mẫu",
            "city": "Hà Nội",
            "county": "Hà Nội",
            "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": "Tiếng Việt",
            "timezone": "Asia/Ho_Chi_Minh",
            "country_name": null,
            "datetime": "2026-04-20 07:51:39",
            "last_activity": "2020-01-01 00:00:00",
            "total_logins": 10
        }
    }
}