Pixels

Notes
Abbonamento Enterprise
The API key should be sent as a Bearer token in the Authorization header of the request. Get your API key.
List

API endpoint:

GET
https://codego.it/api/v1/pixels

Request example:

curl --location --request GET 'https://codego.it/api/v1/pixels' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Parameter
Tipo
Descrizione
search
optional string
The search query.
type
optional string
Tipo pixel . Possible values are: adroll, bing, facebook, google-ads, google-analytics, google-tag-manager, linkedin, pinterest, quora, twitter.
sort
optional string
Sort. Possible values are: desc for Descending, asc for Ascending. Defaults to: desc.
per_page
optional int
Risultati per pagina. Possible values are: 10 to 100. Defaults to: 10.
Show

API endpoint:

GET
https://codego.it/api/v1/pixels/{id}

Request example:

curl --location --request GET 'https://codego.it/api/v1/pixels/{id}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Store

API endpoint:

POST
https://codego.it/api/v1/pixels

Request example:

curl --location --request POST 'https://codego.it/api/v1/pixels' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'url={url}'
Parameter
Tipo
Descrizione
name
required string
Nome pixel ì.
type
required string
Tipo pixel . Possible values are: adroll, bing, facebook, google-ads, google-analytics, google-tag-manager, linkedin, pinterest, quora, twitter.
value
required string
Il tuo pixel ID .
Update

API endpoint:

PUT PATCH
https://codego.it/api/v1/pixels/{id}

Request example:

curl --location --request PUT 'https://codego.it/api/v1/pixels/{id}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'url={url}'
Parameter
Tipo
Descrizione
name
optional string
Nome pixel ì.
type
optional string
Tipo pixel . Possible values are: adroll, bing, facebook, google-ads, google-analytics, google-tag-manager, linkedin, pinterest, quora, twitter.
value
optional string
Il tuo pixel ID .
Cancella

API endpoint:

DELETE
https://codego.it/pixels/{id}/destroy

Request example:

curl --location --request DELETE 'https://codego.it/pixels/{id}/destroy' \
--header 'Authorization: Bearer {api_key}'