Skip to content
API documentation

Projects

Organize your resources inside projects.

Authentication
Every request must send the Authorization header with a Bearer token matching the admin API key. Get API key.
API documentation

Endpoint
GET https://rqrcode.com/api/projects/
Example
curl --request GET \
--url 'https://rqrcode.com/api/projects/' \
--header 'Authorization: Bearer {api_key}'
Parameters
Parameters Details Description
page
Optional ui.admin.api_docs.common.types.Integer
The page number that you want to get the results for. Defaults to 1.
results_per_page
Optional ui.admin.api_docs.common.types.Integer
How many results you want per page. Allowed values are: 10, 25, 50, 100, 250, 500, 1000. Defaults to 25.
Response example
{
    "data": [
        {
            "id": 1,
            "name": "Development",
            "color": "#0e23cc",
            "last_datetime": null,
            "datetime": "2026-04-20 07:54:04"
        }
    ],
    "meta": {
        "page": 1,
        "results_per_page": 25,
        "total": 1,
        "total_pages": 1
    },
    "links": {
        "first": "https://rqrcode.com/api/projects?page=1",
        "last": "https://rqrcode.com/api/projects?page=1",
        "next": null,
        "prev": null,
        "self": "https://rqrcode.com/api/projects?page=1"
    }
}

Endpoint
GET https://rqrcode.com/api/projects/{project_id}
Example
curl --request GET \
--url 'https://rqrcode.com/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}'
Parameters
No additional parameter.
Response example
{
    "data": {
        "id": 1,
        "name": "Development",
        "color": "#0e23cc",
        "last_datetime": null,
        "datetime": "2026-04-20 07:54:04"
    }
}

Endpoint
POST https://rqrcode.com/api/projects
Example
curl --request POST \
--url 'https://rqrcode.com/api/projects' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Production' \
--form 'color=#ffffff'
Parameters
Parameters Details Description
name
Required ui.admin.api_docs.common.types.String
-
color
Optional ui.admin.api_docs.common.types.String
-
Response example
{
    "data": {
        "id": 1
    }
}

Endpoint
POST https://rqrcode.com/api/projects/{project_id}
Example
curl --request POST \
--url 'https://rqrcode.com/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Production' \
--form 'color=#000000'
Parameters
Parameters Details Description
name
Optional ui.admin.api_docs.common.types.String
-
color
Optional ui.admin.api_docs.common.types.String
-
Response example
{
    "data": {
        "id": 1
    }
}

Endpoint
DELETE https://rqrcode.com/api/projects/{project_id}
Example
curl --request DELETE \
--url 'https://rqrcode.com/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}'
Parameters
No additional parameter.
Response example
Empty 200 response body on success.