Pixels

Notas
Nível avançado
A chave API deve ser enviada como token Bearer no cabeçalho Authorization da requisição. Obtenha sua chave API.
Listar

Endpoint da API:

GET
https://lk.ricioso.com/api/v1/pixels

Exemplo de requisição:

curl --location --request GET 'https://lk.ricioso.com/api/v1/pixels' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Parâmetro
Tipo
Descrição
search
opcional string
Consulta de busca.
search_by
opcional string
Buscar por. Valores possíveis: name para Nome. Padrão: name.
type
opcional string
Tipo. Valores possíveis: adroll, bing, facebook, google-ads, google-analytics, google-tag-manager, linkedin, pinterest, quora, x.
sort_by
opcional string
Ordenar por. Valores possíveis: id para Data de criação, name para Nome. Padrão: id.
sort
opcional string
Ordenar. Valores possíveis: desc para Descendente, asc para Ascendente. Padrão: desc.
per_page
opcional integer
Resultados por página. Valores possíveis: 10, 25, 50, 100. Padrão: 10.
Exibir

Endpoint da API:

GET
https://lk.ricioso.com/api/v1/pixels/{id}

Exemplo de requisição:

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

Endpoint da API:

POST
https://lk.ricioso.com/api/v1/pixels

Exemplo de requisição:

curl --location --request POST 'https://lk.ricioso.com/api/v1/pixels' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'name={name}' \
--data-urlencode 'type={type}' \
--data-urlencode 'value={value}'
Parâmetro
Tipo
Descrição
name
obrigatório string
Nome.
type
obrigatório string
Tipo. Valores possíveis: adroll, bing, facebook, google-ads, google-analytics, google-tag-manager, linkedin, pinterest, quora, x.
value
obrigatório string
O valor do ID do pixel.
Atualizar

Endpoint da API:

PUT PATCH
https://lk.ricioso.com/api/v1/pixels/{id}

Exemplo de requisição:

curl --location --request PUT 'https://lk.ricioso.com/api/v1/pixels/{id}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}'
Parâmetro
Tipo
Descrição
name
opcional string
Nome.
type
opcional string
Tipo. Valores possíveis: adroll, bing, facebook, google-ads, google-analytics, google-tag-manager, linkedin, pinterest, quora, x.
value
opcional string
O valor do ID do pixel.
Excluir

Endpoint da API:

DELETE
https://lk.ricioso.com/api/v1/pixels/{id}

Exemplo de requisição:

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