Біздің қосымшамызды орнатыңыз 🪄 Мекенжай жолағының жоғарғы оң жағындағы белгішесін басыңыз.

Арнайы домендер

GET https://iqr.kz/api/domains/
curl --request GET \
--url 'https://iqr.kz/api/domains/' \
--header 'Authorization: Bearer {api_key}' \
Параметрлер Мәліметтер Сипаттама
page Қосымша Бүтін сан Сіз нәтижелерді алғыңыз келетін бет нөмірі. Әдепкі мәні 1.
results_per_page Қосымша Бүтін сан Бір бетке қанша нәтиже көрсеткіңіз келеді. Рұқсат етілген мәндер: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Әдепкі мәні: 25.
{
    "data": [
        {
            "id": 1,
            "scheme": "https://",
            "host": "example.com",
            "custom_index_url": "",
            "is_enabled": true,
            "last_datetime": null,
            "datetime": "2025-12-31 14:00:27",
        },
    ],
    "meta": {
        "page": 1,
        "results_per_page": 25,
        "total": 1,
        "total_pages": 1
    },
    "links": {
        "first": "https://iqr.kz/api/domains?page=1",
        "last": "https://iqr.kz/api/domains?page=1",
        "next": null,
        "prev": null,
        "self": "https://iqr.kz/api/domains?page=1"
    }
}
GET https://iqr.kz/api/domains/{domain_id}
curl --request GET \
--url 'https://iqr.kz/api/domains/{domain_id}' \
--header 'Authorization: Bearer {api_key}' \
{
    "data": {
        "id": 1,
        "scheme": "https://",
        "host": "example.com",
        "custom_index_url": "",
        "is_enabled": true,
        "last_datetime": null,
        "datetime": "2025-12-31 14:00:27",
    }
}
POST https://iqr.kz/api/domains
Параметрлер Мәліметтер Сипаттама
host Қажетті Жол -
custom_index_url Қосымша Жол -
custom_not_found_url Қосымша Жол -
curl --request POST \
--url 'https://iqr.kz/api/domains' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'host=example.com' \
--form 'custom_index_url=https://example.com/' \
--form 'custom_not_found_url=https://example.com/404-page'
{
    "data": {
        "id": 1
    }
}
POST https://iqr.kz/api/domains/{domain_id}
Параметрлер Мәліметтер Сипаттама
host Қосымша Жол -
custom_index_url Қосымша Жол -
custom_not_found_url Қосымша Жол -
curl --request POST \
--url 'https://iqr.kz/api/domains/{domain_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'host=example.com' \
{
    "data": {
        "id": 1
    }
}
DELETE https://iqr.kz/api/domains/{domain_id}
curl --request DELETE \
--url 'https://iqr.kz/api/domains/{domain_id}' \
--header 'Authorization: Bearer {api_key}' \