ピクセル
GET https://77qr.io/api/pixels/
curl --request GET \
--url 'https://77qr.io/api/pixels/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://77qr.io/api/pixels/' \
--header 'Authorization: Bearer {api_key}' \
パラメータ | 詳細 | 説明 |
---|---|---|
page | オプション 整数 | 結果を表示するページ番号。デフォルトは1 。 |
results_per_page | オプション 整数 | 1ページあたりの結果数を指定してください。許可される値は: 10 , 25 , 50 , 100 , 250 , 500 , 1000 。デフォルトは25 です。 |
{
"data": [
{
"id": 1,
"type": "facebook",
"name": "Fb Ads",
"pixel": "1234567",
"last_datetime": null,
"datetime": "2025-03-12 15:53:50"
},
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://77qr.io/api/pixels?&page=1",
"last": "https://77qr.io/api/pixels?&page=1",
"next": null,
"prev": null,
"self": "https://77qr.io/api/pixels?&page=1"
}
}
GET https://77qr.io/api/pixels/{pixel_id}
curl --request GET \
--url 'https://77qr.io/api/pixels/{pixel_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://77qr.io/api/pixels/{pixel_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"type": "facebook",
"name": "Fb Ads",
"pixel": "1234567",
"last_datetime": null,
"datetime": "2025-03-12 15:53:50"
}
}
POST https://77qr.io/api/pixels
パラメータ | 詳細 | 説明 |
---|---|---|
type | 必須 文字列 | 許可されている値: facebook , google_analytics , google_tag_manager , linkedin , pinterest , twitter , quora , tiktok , snapchat |
name | 必須 文字列 | - |
pixel | 必須 文字列 | - |
curl --request POST \
--url 'https://77qr.io/api/pixels' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'type=facebook' \
--form 'name=Facebook' \
--form 'pixel=12345678' \
--url 'https://77qr.io/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://77qr.io/api/pixels/{pixel_id}
パラメータ | 詳細 | 説明 |
---|---|---|
type | オプション 文字列 | 許可されている値: facebook , google_analytics , google_tag_manager , linkedin , pinterest , twitter , quora , tiktok , snapchat |
name | オプション 文字列 | - |
pixel | オプション 文字列 | - |
curl --request POST \
--url 'https://77qr.io/api/pixels/{pixel_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Facebook New Name' \
--url 'https://77qr.io/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://77qr.io/api/pixels/{pixel_id}
curl --request DELETE \
--url 'https://77qr.io/api/pixels/{pixel_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://77qr.io/api/pixels/{pixel_id}' \
--header 'Authorization: Bearer {api_key}' \