订阅者日志
GET https://pushye.com/api/subscribers-logs/
curl --request GET \
--url 'https://pushye.com/api/subscribers-logs/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://pushye.com/api/subscribers-logs/' \
--header 'Authorization: Bearer {api_key}' \
参数 | 细节 | 描述 |
---|---|---|
search_by | 可选的 字符串 | 允许的值:ip |
search | 可选的 字符串 | |
page | 可选的 整数 | 您想要结果的页码。默认为 1 。 |
results_per_page | 可选的 整数 | 每页您想要多少个结果。允许的值是:10 , 25 , 50 , 100 , 250 , 500 , 1000 。默认为25 。 |
website_id | 可选的 整数 | - |
campaign_id | 可选的 整数 | - |
subscriber_id | 可选的 整数 | - |
flow_id | 可选的 整数 | - |
type | 可选的 整数 | - |
{
"data": [
{
"id": 1,
"subscriber_id": 1,
"campaign_id": 0,
"flow_id": 0,
"personal_notification_id": 1,
"website_id": 1,
"user_id": 1,
"ip": "123.123.123.123",
"type": "clicked_notification",
"datetime": "2025-02-05 12:58:31"
},
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://pushye.com/api/subscribers-logs?&page=1",
"last": "https://pushye.com/api/subscribers-logs?&page=1",
"next": null,
"prev": null,
"self": "https://pushye.com/api/subscribers-logs?&page=1"
}
}