Prenumerantloggar
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}' \
Parametrar | Detaljer | Beskrivning |
---|---|---|
search_by | Valfritt Sträng | Tillåtna värden: ip |
search | Valfritt Sträng | |
page | Valfritt Heltal | Sidanummeret som du vill ha resultat från. Standardinställning är 1 . |
results_per_page | Valfritt Heltal | Hur många resultat vill du ha per sida. Tillåtna värden är: 10 , 25 , 50 , 100 , 250 , 500 , 1000 . Standardvärde är 25 . |
website_id | Valfritt Heltal | - |
campaign_id | Valfritt Heltal | - |
subscriber_id | Valfritt Heltal | - |
flow_id | Valfritt Heltal | - |
type | Valfritt Heltal | - |
{
"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:45:42"
},
],
"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"
}
}