إشعارات الحملة

GET https://popupke.com/api/notifications/
curl --request GET \
--url 'https://popupke.com/api/notifications/' \
--header 'Authorization: Bearer {api_key}' \
حدود تفاصيل وصف
page خياري عدد صحيح The page number that you want results from. Defaults to 1.
results_per_page خياري عدد صحيح How many results you want per page. Allowed values are: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Defaults to 25.
{ "data": [ { "id": 1, "campaign_id": 1, "notification_key": "d4752d29a557a9fdc67b0a9a27cbe3b1", "name": "Email Collector", "type": "EMAIL_COLLECTOR", "settings": { ... }, "is_enabled": false, "last_datetime": null, "datetime": "2025-04-24 22:58:45" } ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://popupke.com/api/notifications?&page=1", "last": "https://popupke.com/api/notifications?&page=1", "next": null, "prev": null, "self": "https://popupke.com/api/notifications?&page=1" } }
GET https://popupke.com/api/notifications/{notification_id}
curl --request GET \
--url 'https://popupke.com/api/notifications/{notification_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "campaign_id": 1, "notification_key": "d4752d29a557a9fdc67b0a9a27cbe3b1", "name": "Email Collector", "type": "EMAIL_COLLECTOR", "settings": { ... }, "is_enabled": false, "last_datetime": null, "datetime": "2025-04-24 22:58:45" } }
POST https://popupke.com/api/notifications
حدود تفاصيل وصف
campaign_id مطلوب عدد صحيح -
type مطلوب خيط Allowed values: INFORMATIONAL , COUPON , LIVE_COUNTER , EMAIL_COLLECTOR , CONVERSIONS , CONVERSIONS_COUNTER , VIDEO , AUDIO , SOCIAL_SHARE , REVIEWS , EMOJI_FEEDBACK , COOKIE_NOTIFICATION , SCORE_FEEDBACK , REQUEST_COLLECTOR , COUNTDOWN_COLLECTOR , CUSTOM_HTML , INFORMATIONAL_BAR , IMAGE , COLLECTOR_BAR , COUPON_BAR , BUTTON_BAR , COLLECTOR_MODAL , COLLECTOR_TWO_MODAL , BUTTON_MODAL , TEXT_FEEDBACK , ENGAGEMENT_LINKS , WHATSAPP_CHAT , CONTACT_US , INFORMATIONAL_MINI , INFORMATIONAL_BAR_MINI
name خياري خيط -
is_enabled خياري منطقية -
curl --request POST \
--url 'https://popupke.com/api/notifications' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'type=INFORMATIONAL' \
--form 'is_enabled=1'
{ "data": { "id": 1 } }
POST https://popupke.com/api/notifications/{notification_id}
حدود تفاصيل وصف
name خياري خيط -
is_enabled خياري منطقية -
trigger_all_pages خياري منطقية -
display_trigger خياري خيط Allowed values: delay, time_on_site, pageviews, inactivity, exit_intent, scroll, click, hover
display_value خياري خيط -
display_delay_type_after_close خياري خيط Allowed values: time_on_site, pageviews
display_delay_value_after_close خياري عدد صحيح -
display_frequency خياري خيط Allowed values: all_time, once_per_session, once_per_browser
direction خياري خيط Allowed values: rtl, ltr
display_continents خياري مجموعة مصفوفة خيط -
display_countries خياري مجموعة مصفوفة خيط -
display_languages خياري مجموعة مصفوفة خيط -
display_operating_systems خياري مجموعة مصفوفة خيط -
display_browsers خياري مجموعة مصفوفة خيط -
display_cities خياري مجموعة مصفوفة خيط -
display_mobile خياري منطقية -
display_desktop خياري منطقية -
schedule خياري منطقية -
start_date خياري خيط -
end_date خياري خيط -
display_duration خياري عدد صحيح -
display_position خياري خيط Allowed values: top_left, top_center, top_right, middle_left, middle_center, middle_right, bottom_left, bottom_center, bottom_right, top, bottom, top_floating, bottom_floating
display_close_button خياري منطقية -
display_branding خياري منطقية -
shadow خياري خيط Allowed values: , subtle, feather, 3d, layered
border_width خياري عدد صحيح Allowed values: 0, 1, 2, 3, 4, 5
internal_padding خياري عدد صحيح Allowed values: 5-25
background_blur خياري عدد صحيح Allowed values: 0-30
custom_css خياري خيط -
hover_animation خياري خيط Allowed values: , fast_scale_up, slow_scale_up, fast_scale_down, slow_scale_down
on_animation خياري خيط Allowed values: fadeIn, slideInUp, slideInDown, zoomIn, bounceIn
off_animation خياري خيط Allowed values: fadeOut, slideOutUp, slideOutDown, zoomOut, bounceOut
animation خياري خيط Allowed values: , heartbeat, bounce, flash, pulse
animation_interval خياري عدد صحيح -
font خياري خيط Allowed values: inherit, Arial, Verdana, Helvetica, Tahoma, Trebuchet MS, Times New Roman, Georgia, Courier New, Monaco, Comic Sans MS, Courier, Impact, Futura, Luminari, Baskerville, Papyrus, Brush Script MT
border_radius خياري خيط Allowed values: straight, rounded, highly_rounded, round
notifications خياري مجموعة مصفوفة Available when: type = email_collector, collector_bar, collector_modal, collector_two_modal, conversions, conversions_counter, countdown_collector, request_collector, text_feedback Notification handler ids
informational
title خياري خيط Available when: type = informational
description خياري خيط Available when: type = informational
image خياري ملف Available when: type = informational
image_alt خياري خيط Available when: type = informational
url خياري خيط Available when: type = informational
url_new_tab خياري منطقية Available when: type = informational
title_color خياري خيط Available when: type = informational
description_color خياري خيط Available when: type = informational
background_color خياري خيط Available when: type = informational
informational_mini
title خياري خيط Available when: type = informational_mini
image خياري ملف Available when: type = informational_mini
image_alt خياري خيط Available when: type = informational_mini
url خياري خيط Available when: type = informational_mini
url_new_tab خياري منطقية Available when: type = informational_mini
title_color خياري خيط Available when: type = informational_mini
description_color خياري خيط Available when: type = informational_mini
background_color خياري خيط Available when: type = informational_mini
coupon
title خياري خيط Available when: type = coupon
description خياري خيط Available when: type = coupon
image خياري ملف Available when: type = coupon
image_alt خياري خيط Available when: type = coupon
coupon_code خياري خيط Available when: type = coupon
button_url خياري خيط Available when: type = coupon
url_new_tab خياري منطقية Available when: type = coupon
button_text خياري خيط Available when: type = coupon
title_color خياري خيط Available when: type = coupon
description_color خياري خيط Available when: type = coupon
background_color خياري خيط Available when: type = coupon
button_background_color خياري خيط Available when: type = coupon
button_color خياري خيط Available when: type = coupon
live_counter
description خياري خيط Available when: type = live_counter
last_activity خياري خيط Available when: type = live_counter
url خياري خيط Available when: type = live_counter
url_new_tab خياري منطقية Available when: type = live_counter
display_minimum_activity خياري عدد صحيح Available when: type = live_counter
description_color خياري خيط Available when: type = live_counter
background_color خياري خيط Available when: type = live_counter
number_background_color خياري خيط Available when: type = live_counter
number_color خياري خيط Available when: type = live_counter
pulse_background_color خياري خيط Available when: type = live_counter
email_collector
conversions
title خياري خيط Available when: type = conversions
description خياري خيط Available when: type = conversions
image خياري ملف Available when: type = conversions
image_alt خياري خيط Available when: type = conversions
url خياري خيط Available when: type = conversions
url_new_tab خياري منطقية Available when: type = conversions
conversions_count خياري عدد صحيح Available when: type = conversions
in_between_delay خياري عدد صحيح Available when: type = conversions
order خياري خيط Available when: type = conversions
Allowed values: random, descending
data_trigger_auto خياري منطقية Available when: type = conversions
data_trigger_auto_type[index] خياري مجموعة مصفوفة خيط Available when: type = conversions
Allowed values: exact , contains , starts_with , ends_with
data_trigger_auto_value[index] خياري مجموعة مصفوفة خيط Available when: type = conversions
title_color خياري خيط Available when: type = conversions
description_color خياري خيط Available when: type = conversions
date_color خياري خيط Available when: type = conversions
background_color خياري خيط Available when: type = conversions
conversions counter
title خياري خيط Available when: type = conversions counter
last_activity خياري خيط Available when: type = conversions counter
url خياري خيط Available when: type = conversions counter
url_new_tab خياري منطقية Available when: type = conversions counter
display_minimum_activity خياري خيط Available when: type = conversions counter
title_color خياري خيط Available when: type = conversions counter
background_color خياري خيط Available when: type = conversions counter
number_background_color خياري خيط Available when: type = conversions counter
number_color خياري خيط Available when: type = conversions counter
data_trigger_auto خياري منطقية Available when: type = conversions counter
data_trigger_auto_type[index] خياري مجموعة مصفوفة خيط Available when: type = conversions
Allowed values: exact , contains , starts_with , ends_with
data_trigger_auto_value[index] خياري مجموعة مصفوفة خيط Available when: type = conversions
video
title خياري خيط Available when: type = video
video خياري ملف Available when: type = video
video_is_youtube خياري منطقية Available when: type = video
youtube_video_id خياري خيط Available when: type = video
video_autoplay خياري منطقية Available when: type = video
video_controls خياري منطقية Available when: type = video
video_loop خياري منطقية Available when: type = video
video_muted خياري منطقية Available when: type = video
button_url خياري خيط Available when: type = video
button_text خياري خيط Available when: type = video
url_new_tab خياري منطقية Available when: type = video
title_color خياري خيط Available when: type = video
background_color خياري خيط Available when: type = video
button_background_color خياري خيط Available when: type = video
button_color خياري خيط Available when: type = video
audio
title خياري خيط Available when: type = audio
audio خياري ملف Available when: type = audio
audio_autoplay خياري منطقية Available when: type = audio
audio_controls خياري منطقية Available when: type = audio
audio_loop خياري منطقية Available when: type = audio
audio_muted خياري منطقية Available when: type = audio
button_url خياري خيط Available when: type = audio
button_text خياري خيط Available when: type = audio
url_new_tab خياري منطقية Available when: type = audio
title_color خياري خيط Available when: type = audio
background_color خياري خيط Available when: type = audio
button_background_color خياري خيط Available when: type = audio
button_color خياري خيط Available when: type = audio
social_share
reviews
url خياري خيط Available when: type = reviews
url_new_tab خياري منطقية Available when: type = reviews
reviews_count خياري missing_translation: api_documentation.integer Available when: type = reviews
in_between_delay خياري missing_translation: api_documentation.integer Available when: type = reviews
order خياري خيط Available when: type = reviews
title missing_translation: api_documentation.default خيط Available when: type = reviews
description missing_translation: api_documentation.default خيط Available when: type = reviews
image missing_translation: api_documentation.default ملف Available when: type = reviews
stars missing_translation: api_documentation.default missing_translation: api_documentation.integer Available when: type = reviews
title_color خياري خيط Available when: type = reviews
description_color خياري خيط Available when: type = reviews
background_color خياري خيط Available when: type = reviews
emoji_feedback
title خياري خيط Available when: type = emoji_feedback
thank_you_url خياري خيط Available when: type = emoji_feedback
show_angry خياري منطقية Available when: type = emoji_feedback
show_sad خياري منطقية Available when: type = emoji_feedback
show_neutral خياري منطقية Available when: type = emoji_feedback
show_happy خياري منطقية Available when: type = emoji_feedback
show_excited خياري منطقية Available when: type = emoji_feedback
title_color خياري خيط Available when: type = emoji_feedback
background_color خياري خيط Available when: type = emoji_feedback
cookie_notification
score_feedback
title خياري خيط Available when: type = score_feedback
description خياري خيط Available when: type = score_feedback
thank_you_url خياري خيط Available when: type = score_feedback
title_color خياري خيط Available when: type = score_feedback
description_color خياري خيط Available when: type = score_feedback
background_color خياري خيط Available when: type = score_feedback
button_background_color خياري خيط Available when: type = score_feedback
button_color خياري خيط Available when: type = score_feedback
request_collector
title خياري خيط Available when: type = request_collector
description خياري خيط Available when: type = request_collector
image خياري ملف Available when: type = request_collector
image_alt خياري خيط Available when: type = request_collector
content_title خياري خيط Available when: type = request_collector
content_description خياري خيط Available when: type = request_collector
input_placeholder خياري خيط Available when: type = request_collector
button_text خياري خيط Available when: type = request_collector
show_agreement خياري منطقية Available when: type = request_collector
agreement_text خياري خيط Available when: type = request_collector
agreement_url خياري خيط Available when: type = request_collector
thank_you_url خياري خيط Available when: type = request_collector
title_color خياري خيط Available when: type = request_collector
description_color خياري خيط Available when: type = request_collector
content_title_color خياري خيط Available when: type = request_collector
content_description_color خياري خيط Available when: type = request_collector
background_color خياري خيط Available when: type = request_collector
button_background_color خياري خيط Available when: type = request_collector
button_color خياري خيط Available when: type = request_collector
countdown_collector
title خياري خيط Available when: type = countdown_collector
description خياري خيط Available when: type = countdown_collector
content_title خياري خيط Available when: type = countdown_collector
input_placeholder خياري خيط Available when: type = countdown_collector
button_text خياري خيط Available when: type = countdown_collector
countdown_end_date خياري خيط Available when: type = countdown_collector
show_agreement خياري منطقية Available when: type = countdown_collector
agreement_text خياري خيط Available when: type = countdown_collector
agreement_url خياري خيط Available when: type = countdown_collector
thank_you_url خياري خيط Available when: type = countdown_collector
title_color خياري خيط Available when: type = countdown_collector
description_color خياري خيط Available when: type = countdown_collector
content_title_color خياري خيط Available when: type = countdown_collector
time_color خياري خيط Available when: type = countdown_collector
time_background_color خياري خيط Available when: type = countdown_collector
background_color خياري خيط Available when: type = countdown_collector
button_background_color خياري خيط Available when: type = countdown_collector
button_color خياري خيط Available when: type = countdown_collector
custom_html
html خياري خيط Available when: type = custom_html
background_color خياري خيط Available when: type = custom_html
informational_bar
title خياري خيط Available when: type = informational_bar
description خياري خيط Available when: type = informational_bar
image خياري ملف Available when: type = informational_bar
image_alt خياري يطفو Available when: type = informational_bar
url خياري يطفو Available when: type = informational_bar
url_new_tab خياري منطقية Available when: type = informational_bar
title_color خياري خيط Available when: type = informational_bar
description_color خياري خيط Available when: type = informational_bar
background_color خياري خيط Available when: type = informational_bar
informational_bar_mini
title خياري خيط Available when: type = informational_bar_mini
image خياري ملف Available when: type = informational_bar_mini
image_alt خياري يطفو Available when: type = informational_bar_mini
url خياري يطفو Available when: type = informational_bar_mini
url_new_tab خياري منطقية Available when: type = informational_bar_mini
title_color خياري خيط Available when: type = informational_bar_mini
description_color خياري خيط Available when: type = informational_bar_mini
background_color خياري خيط Available when: type = informational_bar_mini
image
title خياري خيط Available when: type = image
image خياري ملف Available when: type = image
image_alt خياري خيط Available when: type = image
button_url خياري خيط Available when: type = image
button_text خياري خيط Available when: type = image
title_color خياري خيط Available when: type = image
background_color خياري خيط Available when: type = image
button_background_color خياري خيط Available when: type = image
button_color خياري خيط Available when: type = image
collector_bar
title خياري خيط Available when: type = collector_bar
input_placeholder خياري خيط Available when: type = collector_bar
button_text خياري خيط Available when: type = collector_bar
show_agreement خياري منطقية Available when: type = collector_bar
agreement_text خياري خيط Available when: type = collector_bar
agreement_url خياري خيط Available when: type = collector_bar
thank_you_url خياري خيط Available when: type = collector_bar
title_color خياري خيط Available when: type = collector_bar
background_color خياري خيط Available when: type = collector_bar
button_background_color خياري خيط Available when: type = collector_bar
button_color خياري خيط Available when: type = collector_bar
coupon_bar
title خياري خيط Available when: type = coupon_bar
coupon_code خياري خيط Available when: type = coupon_bar
url خياري يطفو Available when: type = coupon_bar
url_new_tab خياري منطقية Available when: type = coupon_bar
title_color خياري خيط Available when: type = coupon_bar
background_color خياري خيط Available when: type = coupon_bar
coupon_code_color خياري خيط Available when: type = coupon_bar
coupon_code_background_color خياري خيط Available when: type = coupon_bar
coupon_code_border_color خياري خيط Available when: type = coupon_bar
button_bar
title خياري خيط Available when: type = button_bar
button_text خياري خيط Available when: type = button_bar
url خياري خيط Available when: type = button_bar
url_new_tab خياري منطقية Available when: type = button_bar
title_color خياري خيط Available when: type = button_bar
background_color خياري خيط Available when: type = button_bar
button_color خياري خيط Available when: type = button_bar
button_background_color خياري خيط Available when: type = button_bar
collector_modal
title خياري خيط Available when: type = collector_modal
description خياري خيط Available when: type = collector_modal
image خياري ملف Available when: type = collector_modal
image_alt خياري خيط Available when: type = collector_modal
input_placeholder خياري خيط Available when: type = collector_modal
button_text خياري خيط Available when: type = collector_modal
show_agreement خياري منطقية Available when: type = collector_modal
agreement_text خياري خيط Available when: type = collector_modal
agreement_url خياري خيط Available when: type = collector_modal
thank_you_url خياري خيط Available when: type = collector_modal
title_color خياري خيط Available when: type = collector_modal
description_color خياري خيط Available when: type = collector_modal
background_color خياري خيط Available when: type = collector_modal
button_background_color خياري خيط Available when: type = collector_modal
button_color خياري خيط Available when: type = collector_modal
collector_two_modal
title خياري خيط Available when: type = collector_two_modal
description خياري خيط Available when: type = collector_two_modal
image خياري ملف Available when: type = collector_two_modal
image_alt خياري خيط Available when: type = collector_two_modal
input_placeholder خياري خيط Available when: type = collector_two_modal
button_text خياري خيط Available when: type = collector_two_modal
show_agreement خياري منطقية Available when: type = collector_two_modal
agreement_text خياري خيط Available when: type = collector_two_modal
agreement_url خياري خيط Available when: type = collector_two_modal
thank_you_url خياري خيط Available when: type = collector_two_modal
title_color خياري خيط Available when: type = collector_two_modal
description_color خياري خيط Available when: type = collector_two_modal
background_color خياري خيط Available when: type = collector_two_modal
button_background_color خياري خيط Available when: type = collector_two_modal
button_color خياري خيط Available when: type = collector_two_modal
button_modal
title خياري خيط Available when: type = button_modal
description خياري خيط Available when: type = button_modal
image خياري ملف Available when: type = button_modal
image_alt خياري خيط Available when: type = button_modal
button_text خياري خيط Available when: type = button_modal
button_url خياري خيط Available when: type = button_modal
url_new_tab خياري منطقية Available when: type = button_modal
title_color خياري خيط Available when: type = button_modal
description_color خياري خيط Available when: type = button_modal
background_color خياري خيط Available when: type = button_modal
button_background_color خياري خيط Available when: type = button_modal
button_color خياري خيط Available when: type = button_modal
text_feedback
title خياري خيط Available when: type = text_feedback
description خياري خيط Available when: type = text_feedback
input_placeholder خياري خيط Available when: type = text_feedback
button_text خياري خيط Available when: type = text_feedback
thank_you_url خياري خيط Available when: type = text_feedback
title_color خياري خيط Available when: type = text_feedback
description_color خياري خيط Available when: type = text_feedback
background_color خياري خيط Available when: type = text_feedback
button_background_color خياري خيط Available when: type = text_feedback
button_color خياري خيط Available when: type = text_feedback
engagement_links
title_color خياري خيط Available when: type = text_feedback
categories_title_color خياري خيط Available when: type = text_feedback
categories_description_color خياري خيط Available when: type = text_feedback
categories_links_title_color خياري خيط Available when: type = text_feedback
categories_links_description_color خياري خيط Available when: type = text_feedback
categories_links_background_color خياري خيط Available when: type = text_feedback
categories_links_border_color خياري خيط Available when: type = text_feedback
background_color خياري خيط Available when: type = text_feedback
whatsapp_chat
title خياري خيط Available when: type = whatsapp_chat
agent_image خياري ملف Available when: type = whatsapp_chat
agent_image_alt خياري خيط Available when: type = whatsapp_chat
agent_name خياري خيط Available when: type = whatsapp_chat
agent_description خياري خيط Available when: type = whatsapp_chat
agent_message خياري خيط Available when: type = whatsapp_chat
agent_phone_number خياري خيط Available when: type = whatsapp_chat
button_text خياري خيط Available when: type = whatsapp_chat
header_agent_name_color خياري خيط Available when: type = whatsapp_chat
header_agent_description_color خياري خيط Available when: type = whatsapp_chat
header_background_color خياري خيط Available when: type = whatsapp_chat
content_background_color خياري خيط Available when: type = whatsapp_chat
content_agent_name_color خياري خيط Available when: type = whatsapp_chat
content_agent_message_color خياري خيط Available when: type = whatsapp_chat
content_agent_message_background_color خياري خيط Available when: type = whatsapp_chat
footer_background_color خياري خيط Available when: type = whatsapp_chat
footer_button_background_color خياري خيط Available when: type = whatsapp_chat
footer_button_color خياري خيط Available when: type = whatsapp_chat
title_color خياري خيط Available when: type = whatsapp_chat
background_color خياري خيط Available when: type = whatsapp_chat
contact_us
title خياري خيط Available when: type = contact_us
description خياري خيط Available when: type = contact_us
contact_email خياري خيط Available when: type = contact_us
contact_phone_number خياري خيط Available when: type = contact_us
contact_whatsapp خياري خيط Available when: type = contact_us
contact_telegram خياري خيط Available when: type = contact_us
contact_facebook_messenger خياري خيط Available when: type = contact_us
title_color خياري خيط Available when: type = contact_us
description_color خياري خيط Available when: type = contact_us
background_color خياري خيط Available when: type = contact_us
curl --request POST \
--url 'https://popupke.com/api/notifications/{notification_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=example' \
--form 'is_enabled=1'
{ "data": { "id": 1 } }
DELETE https://popupke.com/api/notifications/{notification_id}
curl --request DELETE \
--url 'https://popupke.com/api/notifications/{notification_id}' \
--header 'Authorization: Bearer {api_key}' \