Abonnenten
GET https://push.hallo-webseite.de/api/subscribers/
curl --request GET \
--url 'https://push.hallo-webseite.de/api/subscribers/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://push.hallo-webseite.de/api/subscribers/' \
--header 'Authorization: Bearer {api_key}' \
Parameter | Einzelheiten | Beschreibung |
---|---|---|
page | Optional Ganze Zahl | Die Seitenzahl, von der du Ergebnisse möchtest. Standardmäßig auf 1 gesetzt. |
results_per_page | Optional Ganze Zahl | Wie viele Ergebnisse möchten Sie pro Seite sehen. Erlaubte Werte sind: 10 , 25 , 50 , 100 , 250 , 500 , 1000 . Standardmäßig auf 25 gesetzt. |
{
"data": [
{
"id": 1,
"user_id": 1,
"website_id": 1,
"unique_endpoint_id": "20cdca6b287865a34365f8df7f0d57af",
"endpoint": null,
"ip": "**.***.***.*",
"custom_parameters": [],
"city_name": "Bucharest",
"country_code": "RO",
"continent_code": "EU",
"os_name": "OS X",
"browser_name": "Chrome",
"browser_language": "en",
"device_type": "desktop",
"subscribed_on_url": "https://example.com/page",
"total_sent_push_notifications": 1,
"total_displayed_push_notifications": 1,
"total_clicked_push_notifications": 1,
"total_closed_push_notifications": 0,
"last_sent_datetime": "2024-08-03 19:27:34",
"last_datetime": null,
"datetime": "2025-03-09 22:10:24"
}
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://push.hallo-webseite.de/api/subscribers?&page=1",
"last": "https://push.hallo-webseite.de/api/subscribers?&page=1",
"next": null,
"prev": null,
"self": "https://push.hallo-webseite.de/api/subscribers?&page=1"
}
}
GET https://push.hallo-webseite.de/api/subscribers/{subscriber_id}
curl --request GET \
--url 'https://push.hallo-webseite.de/api/subscribers/{subscriber_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://push.hallo-webseite.de/api/subscribers/{subscriber_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"user_id": 1,
"website_id": 1,
"unique_endpoint_id": "20cdca6b287865a34365f8df7f0d57af",
"endpoint": null,
"ip": "**.***.***.*",
"custom_parameters": [],
"city_name": "Bucharest",
"country_code": "RO",
"continent_code": "EU",
"os_name": "OS X",
"browser_name": "Chrome",
"browser_language": "en",
"device_type": "desktop",
"subscribed_on_url": "https://example.com/page",
"total_sent_push_notifications": 1,
"total_displayed_push_notifications": 1,
"total_clicked_push_notifications": 1,
"total_closed_push_notifications": 0,
"last_sent_datetime": "2024-08-03 19:27:34",
"last_datetime": null,
"datetime": "2025-03-09 22:10:24"
}
}
POST https://push.hallo-webseite.de/api/subscribers/{subscriber_id}
Parameter | Einzelheiten | Beschreibung |
---|---|---|
custom_parameter_key[index] | Optional Zeichenkette | - |
custom_parameter_value[index] | Optional Zeichenkette | - |
curl --request POST \
--url 'https://push.hallo-webseite.de/api/subscribers/{subscriber_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'custom_parameter_key[0]=name' \
--form 'custom_parameter_value[0]=john@example.com' \
--url 'https://push.hallo-webseite.de/api/subscribers/{subscriber_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'custom_parameter_key[0]=name' \
--form 'custom_parameter_value[0]=john@example.com' \
{
"data": {
"id": 1
}
}
DELETE https://push.hallo-webseite.de/api/subscribers/{subscriber_id}
curl --request DELETE \
--url 'https://push.hallo-webseite.de/api/subscribers/{subscriber_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://push.hallo-webseite.de/api/subscribers/{subscriber_id}' \
--header 'Authorization: Bearer {api_key}' \