購読者ログ
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 | オプション 整数 | 1ページあたりの結果数はどのくらいにしますか。許可されている値は: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 15:58:53"
},
],
"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"
}
}