开户联系QQ:1145484897

像素

备注
专家级别
API密钥应该作为请求的Authorization标头中的Bearer令牌发送 获取你的API密钥.
列表

API端点:

GET
https://zndwz.com/api/v1/pixels

请求示例:

curl --location --request GET 'https://zndwz.com/api/v1/pixels' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
参数
类型
描述
search
可选的 string
搜索查询
search_by
可选的 string
搜索方式. 可能的值为:名称name 默认值为:name
type
可选的 string
像素类型 可能的值为:adroll, bing, facebook, google-ads, google-analytics, google-tag-manager, linkedin, pinterest, quora, twitter
sort_by
可选的 string
排序方式. 可能的值为:创建日期id, 名称name 默认值为:id
sort
可选的 string
排序. 可能的值为:降序desc, 升序asc 默认值为:desc
per_page
可选的 int
每页结果数. 可能的值为:10, 25, 50, 100 默认值为:25
显示

API端点:

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

请求示例:

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

API端点:

POST
https://zndwz.com/api/v1/pixels

请求示例:

curl --location --request POST 'https://zndwz.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}'
参数
类型
描述
name
必需的 string
像素名称
type
必需的 string
像素类型 可能的值为:adroll, bing, facebook, google-ads, google-analytics, google-tag-manager, linkedin, pinterest, quora, twitter
value
必需的 string
像素ID值
更新

API端点:

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

请求示例:

curl --location --request PUT 'https://zndwz.com/api/v1/pixels/{id}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}'
参数
类型
描述
name
可选的 string
像素名称
type
可选的 string
像素类型 可能的值为:adroll, bing, facebook, google-ads, google-analytics, google-tag-manager, linkedin, pinterest, quora, twitter
value
可选的 string
像素ID值
删除

API端点:

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

请求示例:

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