Campaign notifications

GET https://inpage-push.ru/api/notifications/
curl --request GET \
--url 'https://inpage-push.ru/api/notifications/' \
--header 'Authorization: Bearer {api_key}' \
Параметры Детали Описание
page Опционально Целое число Номер страницы, с которой вы хотите получить результаты. По умолчанию 1.
results_per_page Опционально Целое число Сколько результатов вы хотите на странице. Допустимые значения: 10 , 25 , 50 , 100 , 250 , 500 , 1000. По умолчанию используется 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-03-13 00:16:51" } ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://inpage-push.ru/api/notifications?&page=1", "last": "https://inpage-push.ru/api/notifications?&page=1", "next": null, "prev": null, "self": "https://inpage-push.ru/api/notifications?&page=1" } }
GET https://inpage-push.ru/api/notifications/{notification_id}
curl --request GET \
--url 'https://inpage-push.ru/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-03-13 00:16:51" } }
POST https://inpage-push.ru/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
name Опционально Строка -
is_enabled Опционально логический -
curl --request POST \
--url 'https://inpage-push.ru/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://inpage-push.ru/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://inpage-push.ru/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://inpage-push.ru/api/notifications/{notification_id}
curl --request DELETE \
--url 'https://inpage-push.ru/api/notifications/{notification_id}' \
--header 'Authorization: Bearer {api_key}' \