API endpoint:
https://0sh.ru/api/v1/pixels
Request example:
curl --location --request GET 'https://0sh.ru/api/v1/pixels' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
name
for Name. Defaults to: name
.type
adroll
, bing
, facebook
, google-ads
, google-analytics
, google-tag-manager
, linkedin
, pinterest
, quora
, twitter
.sort_by
id
for Date created, name
for Name. Defaults to: id
.sort
desc
for Descending, asc
for Ascending. Defaults to: desc
.per_page
10
, 25
, 50
, 100
. Defaults to: 10
.API endpoint:
https://0sh.ru/api/v1/pixels/{id}
Request example:
curl --location --request GET 'https://0sh.ru/api/v1/pixels/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://0sh.ru/api/v1/pixels
Request example:
curl --location --request POST 'https://0sh.ru/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}'
name
type
adroll
, bing
, facebook
, google-ads
, google-analytics
, google-tag-manager
, linkedin
, pinterest
, quora
, twitter
.value
API endpoint:
https://0sh.ru/api/v1/pixels/{id}
Request example:
curl --location --request PUT 'https://0sh.ru/api/v1/pixels/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
name
type
adroll
, bing
, facebook
, google-ads
, google-analytics
, google-tag-manager
, linkedin
, pinterest
, quora
, twitter
.value
API endpoint:
https://0sh.ru/api/v1/pixels/{id}
Request example:
curl --location --request DELETE 'https://0sh.ru/api/v1/pixels/{id}' \ --header 'Authorization: Bearer {api_key}'