Pixels

Notes
Expert level
A API key deve ser enviada como um Bearer token no cabeçalho de autorização da solicitação. Gere a sua API key.
List

API endpoint:

GET
https://short.suiteshare.com/api/v1/pixels

Exemplo de requisição:

curl --location --request GET 'https://short.suiteshare.com/api/v1/pixels' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Parâmetro
Tipo
Descrição
search
optional string
The search query.
type
optional string
The pixel type. Possible values are: adroll, bing, facebook, google-ads, google-analytics, google-tag-manager, linkedin, pinterest, quora, twitter.
sort
optional string
Ordenar. Possible values are: desc for Decrescente, asc for Crescente. Defaults to: desc.
per_page
optional int
Resultados por página. Possible values are: 10 to 100. Defaults to: 10.
Show

API endpoint:

GET
https://short.suiteshare.com/api/v1/pixels/{id}

Exemplo de requisição:

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

API endpoint:

POST
https://short.suiteshare.com/api/v1/pixels

Exemplo de requisição:

curl --location --request POST 'https://short.suiteshare.com/api/v1/pixels' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'url={url}'
Parâmetro
Tipo
Descrição
name
required string
The pixel name.
type
required string
The pixel type. Possible values are: adroll, bing, facebook, google-ads, google-analytics, google-tag-manager, linkedin, pinterest, quora, twitter.
pixel_id
required string
The pixel ID.
Update

API endpoint:

PUT PATCH
https://short.suiteshare.com/api/v1/pixels/{id}

Exemplo de requisição:

curl --location --request PUT 'https://short.suiteshare.com/api/v1/pixels/{id}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'url={url}'
Parâmetro
Tipo
Descrição
name
optional string
The pixel name.
type
optional string
The pixel type. Possible values are: adroll, bing, facebook, google-ads, google-analytics, google-tag-manager, linkedin, pinterest, quora, twitter.
pixel_id
optional string
The pixel ID.
Deletar

API endpoint:

DELETE
https://short.suiteshare.com/api/v1/pixels/{id}

Exemplo de requisição:

curl --location --request DELETE 'https://short.suiteshare.com/api/v1/pixels/{id}' \
--header 'Authorization: Bearer {api_key}'