Skip to content
API documentation

Tracking pixels

Retrieve and administer your tracking pixels.

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/pixels/
Example
curl --request GET \
--url 'https://rqrcode.com/api/pixels/' \
--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,
            "type": "facebook",
            "name": "Facebook Ads",
            "pixel": "1234567",
            "last_datetime": null,
            "datetime": "2026-04-20 07:54:26"
        }
    ],
    "meta": {
        "page": 1,
        "results_per_page": 25,
        "total": 1,
        "total_pages": 1
    },
    "links": {
        "first": "https://rqrcode.com/api/pixels?page=1",
        "last": "https://rqrcode.com/api/pixels?page=1",
        "next": null,
        "prev": null,
        "self": "https://rqrcode.com/api/pixels?page=1"
    }
}

Endpoint
GET https://rqrcode.com/api/pixels/{pixel_id}
Example
curl --request GET \
--url 'https://rqrcode.com/api/pixels/{pixel_id}' \
--header 'Authorization: Bearer {api_key}'
Parameters
No additional parameter.
Response example
{
    "data": {
        "id": 1,
        "type": "facebook",
        "name": "Facebook Ads",
        "pixel": "1234567",
        "last_datetime": null,
        "datetime": "2026-04-20 07:54:26"
    }
}

Endpoint
POST https://rqrcode.com/api/pixels
Example
curl --request POST \
--url 'https://rqrcode.com/api/pixels' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'type=facebook' \
--form 'name=Facebook' \
--form 'pixel=12345678'
Parameters
Parameters Details Description
type
Required ui.admin.api_docs.common.types.String
Allowed values: facebook, google_analytics, google_tag_manager, linkedin, pinterest, twitter, quora, tiktok, snapchat
name
Required ui.admin.api_docs.common.types.String
-
pixel
Required ui.admin.api_docs.common.types.String
-
Response example
{
    "data": {
        "id": 1
    }
}

Endpoint
POST https://rqrcode.com/api/pixels/{pixel_id}
Example
curl --request POST \
--url 'https://rqrcode.com/api/pixels/{pixel_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Facebook New Name'
Parameters
Parameters Details Description
type
Optional ui.admin.api_docs.common.types.String
Allowed values: facebook, google_analytics, google_tag_manager, linkedin, pinterest, twitter, quora, tiktok, snapchat
name
Optional ui.admin.api_docs.common.types.String
-
pixel
Optional ui.admin.api_docs.common.types.String
-
Response example
{
    "data": {
        "id": 1
    }
}

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