Logotipo del sitio web

Etiquetas

GET https://staging.gratisqrcode.nl/api/labels/
curl --request GET \
--url 'https://staging.gratisqrcode.nl/api/labels/' \
--header 'Authorization: Bearer {api_key}' \
Parámetros Detalles Descripción
page Opcional Entero El número de página a partir del cual desea obtener resultados. Por defecto 1.
results_per_page Opcional Entero Cuántos resultados desea por página. Los valores permitidos son: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Por defecto es 25.
{
    "data": [
        {
            "id": 1,
            "name": "Mijn label",
            "color": "#3b82f6",
            "datetime": "2026-06-17 19:42:15",
        },
    ],
    "meta": {
        "page": 1,
        "results_per_page": 25,
        "total": 1,
        "total_pages": 1
    },
    "links": {
        "first": "https://staging.gratisqrcode.nl/api/labels?page=1",
        "last": "https://staging.gratisqrcode.nl/api/labels?page=1",
        "next": null,
        "prev": null,
        "self": "https://staging.gratisqrcode.nl/api/labels?page=1"
    }
}
GET https://staging.gratisqrcode.nl/api/labels/{label_id}
curl --request GET \
--url 'https://staging.gratisqrcode.nl/api/labels/{label_id}' \
--header 'Authorization: Bearer {api_key}' \
{
    "data": {
        "id": 1,
        "name": "Mijn label",
        "color": "#3b82f6",
        "datetime": "2026-06-17 19:42:15",
    }
}
POST https://staging.gratisqrcode.nl/api/labels
Parámetros Detalles Descripción
name Requerido Cadena max:64
color Opcional Cadena hex #rrggbb, default #6c757d
curl --request POST \
--url 'https://staging.gratisqrcode.nl/api/labels' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Mijn label' \
--form 'color=#3b82f6' \
{
    "data": {
        "id": 1
    }
}
POST https://staging.gratisqrcode.nl/api/labels/{label_id}
Parámetros Detalles Descripción
name Opcional Cadena max:64
color Opcional Cadena hex #rrggbb
curl --request POST \
--url 'https://staging.gratisqrcode.nl/api/labels/{label_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Nieuw label' \
{
    "data": {
        "id": 1
    }
}
DELETE https://staging.gratisqrcode.nl/api/labels/{label_id}
curl --request DELETE \
--url 'https://staging.gratisqrcode.nl/api/labels/{label_id}' \
--header 'Authorization: Bearer {api_key}' \