Fara í efni
API-skjölun

Notandi

Sæktu API-prófíl auðkennds notanda.

Auðkenning
Hver beiðni verður að senda Authorization-haus með Bearer-tókni sem passar við API-lykil stjórnanda. Sækja API-lykil.
API-skjölun

Endapunktur
GET https://rqrcode.com/api/user
Dæmi
curl --request GET \
--url 'https://rqrcode.com/api/user' \
--header 'Authorization: Bearer {api_key}'
Færibreytur
Engin viðbótarfæribreyta.
Dæmi um svar
{
    "data": {
        "id": "1",
        "type": "users",
        "email": "[email protected]",
        "billing": {
            "type": "personal",
            "name": "Jón Jónsson",
            "address": "Dæmisgata 21",
            "city": "London",
            "county": "Stór-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": "Enska",
            "timezone": "Europe/London",
            "country_name": null,
            "datetime": "2026-04-20 07:51:39",
            "last_activity": "2020-01-01 00:00:00",
            "total_logins": 10
        }
    }
}