კონტენტზე გადასვლა
API დოკუმენტაცია

მომხმარებელი

მიიღეთ ავტორიზებული მომხმარებლის API პროფილი.

ავთენტიფიკაცია
ყველა მოთხოვნამ უნდა გაგზავნოს Authorization header Bearer token-ით, რომელიც admin API key-ს ემთხვევა. 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": "John Doe",
            "address": "21 Example Street",
            "city": "London",
            "county": "Greater London",
            "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": "English",
            "timezone": "Europe/London",
            "country_name": null,
            "datetime": "2026-04-20 07:51:39",
            "last_activity": "2020-01-01 00:00:00",
            "total_logins": 10
        }
    }
}