API endpoint:
https://shortment.com/api/v1/pixels
Request example:
curl --location --request GET 'https://shortment.com/api/v1/pixels' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
type
adroll
, bing
, facebook
, google-ads
, google-analytics
, google-tag-manager
, linkedin
, pinterest
, quora
, twitter
.sort
desc
for Descending, asc
for Ascending. Defaults to: desc
.per_page
10
to 100
. Defaults to: 10
.API endpoint:
https://shortment.com/api/v1/pixels/{id}
Request example:
curl --location --request GET 'https://shortment.com/api/v1/pixels/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://shortment.com/api/v1/pixels
Request example:
curl --location --request POST 'https://shortment.com/api/v1/pixels' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
name
type
adroll
, bing
, facebook
, google-ads
, google-analytics
, google-tag-manager
, linkedin
, pinterest
, quora
, twitter
.pixel_id
API endpoint:
https://shortment.com/api/v1/pixels/{id}
Request example:
curl --location --request PUT 'https://shortment.com/api/v1/pixels/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
name
type
adroll
, bing
, facebook
, google-ads
, google-analytics
, google-tag-manager
, linkedin
, pinterest
, quora
, twitter
.pixel_id
API endpoint:
https://shortment.com/api/v1/pixels/{id}
Request example:
curl --location --request DELETE 'https://shortment.com/api/v1/pixels/{id}' \ --header 'Authorization: Bearer {api_key}'