Məzmuna keç
API sənədləri

vCard

Rəqəmsal vizit kartları, .vcf ixracı və ictimai səhifə.

Autentifikasiya
Hər sorğu admin API açarına uyğun Bearer token ilə Authorization başlığını göndərməlidir. API açarını əldə et.
API sənədləri

Son nöqtə
GET https://rqrcode.com/api/vcards/
Nümunə
curl --request GET \
--url 'https://rqrcode.com/api/vcards/' \
--header 'Authorization: Bearer {api_key}'
Parametrlər
Parametrlər Detallar Təsvir
page
İstəyə bağlı ui.admin.api_docs.common.types.Tam ədəd
Nəticələri almaq üçün istifadə olunan səhifə nömrəsi. Defolt olaraq 1.
results_per_page
İstəyə bağlı ui.admin.api_docs.common.types.Tam ədəd
Hər səhifədə nəticələrin sayı. İcazə verilən dəyərlər: 10, 25, 50, 100, 250, 500, 1000. Defolt olaraq 25.
Cavab nümunəsi
{
    "data": [
        {
            "id": 1,
            "project_id": null,
            "qr_code_id": 10,
            "name": "Əli Məmmədov",
            "slug": "john-doe",
            "public_url": "https://rqrcode.com/vcard/john-doe",
            "stable_url": "https://rqrcode.com/vcard/r/1",
            "vcf_url": "https://rqrcode.com/vcard/john-doe/contact.vcf",
            "company": "Rqrcode",
            "job_title": "Marketing",
            "pageviews": 42,
            "scans": 8,
            "vcf_downloads": 3,
            "is_enabled": true,
            "datetime": "2026-04-20 07:55:35"
        }
    ],
    "meta": {
        "page": 1,
        "results_per_page": 25,
        "total": 1,
        "total_pages": 1
    },
    "links": {
        "first": "https://rqrcode.com/api/vcards?page=1",
        "last": "https://rqrcode.com/api/vcards?page=1",
        "next": null,
        "prev": null,
        "self": "https://rqrcode.com/api/vcards?page=1"
    }
}

Son nöqtə
GET https://rqrcode.com/api/vcards/{vcard_id}
Nümunə
curl --request GET \
--url 'https://rqrcode.com/api/vcards/{vcard_id}' \
--header 'Authorization: Bearer {api_key}'
Parametrlər
Əlavə parametr yoxdur.
Cavab nümunəsi
{
    "data": {
        "id": 1,
        "project_id": null,
        "qr_code_id": 10,
        "name": "Əli Məmmədov",
        "slug": "john-doe",
        "public_url": "https://rqrcode.com/vcard/john-doe",
        "stable_url": "https://rqrcode.com/vcard/r/1",
        "vcf_url": "https://rqrcode.com/vcard/john-doe/contact.vcf",
        "blocks": [],
        "pageviews": 42,
        "scans": 8,
        "vcf_downloads": 3,
        "is_enabled": true,
        "datetime": "2026-04-20 07:55:35"
    }
}