Píxels

GET https://linkrme.com/api/pixels/
curl --request GET \
--url 'https://linkrme.com/api/pixels/' \
--header 'Authorization: Bearer {api_key}' \
Paràmetres Detalls Descripció
page Opcional Enterer El número de pàgina del qual vols els resultats. Per defecte, 1.
results_per_page Opcional Enterer Quants resultats vols per pàgina. Els valors permesos són: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Per defecte, 25.
{ "data": [ { "id": 1, "type": "facebook", "name": "Fb Ads", "pixel": "1234567", "last_datetime": null, "datetime": "2025-04-20 03:07:20" }, ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://linkrme.com/api/pixels?&page=1", "last": "https://linkrme.com/api/pixels?&page=1", "next": null, "prev": null, "self": "https://linkrme.com/api/pixels?&page=1" } }
GET https://linkrme.com/api/pixels/{pixel_id}
curl --request GET \
--url 'https://linkrme.com/api/pixels/{pixel_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "type": "facebook", "name": "Fb Ads", "pixel": "1234567", "last_datetime": null, "datetime": "2025-04-20 03:07:20" } }
POST https://linkrme.com/api/pixels
Paràmetres Detalls Descripció
type Obligatori Cadena Valors permesos: facebook , google_analytics , google_tag_manager , linkedin , pinterest , twitter , quora , tiktok , snapchat
name Obligatori Cadena -
pixel Obligatori Cadena -
curl --request POST \
--url 'https://linkrme.com/api/pixels' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'type=facebook' \
--form 'name=Facebook' \
--form 'pixel=12345678' \
{ "data": { "id": 1 } }
POST https://linkrme.com/api/pixels/{pixel_id}
Paràmetres Detalls Descripció
type Opcional Cadena Valors permesos: facebook , google_analytics , google_tag_manager , linkedin , pinterest , twitter , quora , tiktok , snapchat
name Opcional Cadena -
pixel Opcional Cadena -
curl --request POST \
--url 'https://linkrme.com/api/pixels/{pixel_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Facebook New Name' \
{ "data": { "id": 1 } }
DELETE https://linkrme.com/api/pixels/{pixel_id}
curl --request DELETE \
--url 'https://linkrme.com/api/pixels/{pixel_id}' \
--header 'Authorization: Bearer {api_key}' \