キャンペーンのお知らせ

GET https://www.japaso.com/api/notifications/
curl --request GET \
--url 'https://www.japaso.com/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-12 04:35:05" } ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://www.japaso.com/api/notifications?&page=1", "last": "https://www.japaso.com/api/notifications?&page=1", "next": null, "prev": null, "self": "https://www.japaso.com/api/notifications?&page=1" } }
GET https://www.japaso.com/api/notifications/{notification_id}
curl --request GET \
--url 'https://www.japaso.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-03-12 04:35:05" } }
POST https://www.japaso.com/api/notifications
パラメーター 詳細 説明
campaign_id 必須 整数 -
type 必須 許可される値: 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://www.japaso.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://www.japaso.com/api/notifications/{notification_id}
パラメーター 詳細 説明
name オプション -
is_enabled オプション ブール値 -
trigger_all_pages オプション ブール値 -
display_trigger オプション 許可される値: delay, time_on_site, pageviews, inactivity, exit_intent, scroll, click, hover
display_value オプション -
display_delay_type_after_close オプション 許可される値: time_on_site, pageviews
display_delay_value_after_close オプション 整数 -
display_frequency オプション 許可される値: all_time, once_per_session, once_per_browser
direction オプション 許可される値: 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 オプション 許可される値: 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 オプション 許可される値: , subtle, feather, 3d, layered
border_width オプション 整数 許可される値: 0, 1, 2, 3, 4, 5
internal_padding オプション 整数 許可される値: 5-25
background_blur オプション 整数 許可される値: 0-30
custom_css オプション -
hover_animation オプション 許可される値: , fast_scale_up, slow_scale_up, fast_scale_down, slow_scale_down
on_animation オプション 許可される値: fadeIn, slideInUp, slideInDown, zoomIn, bounceIn
off_animation オプション 許可される値: fadeOut, slideOutUp, slideOutDown, zoomOut, bounceOut
animation オプション 許可される値: , heartbeat, bounce, flash, pulse
animation_interval オプション 整数 -
font オプション 許可される値: 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 オプション 許可される値: straight, rounded, highly_rounded, round
notifications オプション 配列 利用可能な場合: type = email_collector, collector_bar, collector_modal, collector_two_modal, conversions, conversions_counter, countdown_collector, request_collector, text_feedback 通知ハンドラーID
informational
title オプション 利用可能な場合: type = informational
description オプション 利用可能な場合: type = informational
image オプション ファイル 利用可能な場合: type = informational
image_alt オプション 利用可能な場合: type = informational
url オプション 利用可能な場合: type = informational
url_new_tab オプション ブール値 利用可能な場合: type = informational
title_color オプション 利用可能な場合: type = informational
description_color オプション 利用可能な場合: type = informational
background_color オプション 利用可能な場合: type = informational
informational_mini
title オプション 利用可能な場合: type = informational_mini
image オプション ファイル 利用可能な場合: type = informational_mini
image_alt オプション 利用可能な場合: type = informational_mini
url オプション 利用可能な場合: type = informational_mini
url_new_tab オプション ブール値 利用可能な場合: type = informational_mini
title_color オプション 利用可能な場合: type = informational_mini
description_color オプション 利用可能な場合: type = informational_mini
background_color オプション 利用可能な場合: type = informational_mini
coupon
title オプション 利用可能な場合: type = coupon
description オプション 利用可能な場合: type = coupon
image オプション ファイル 利用可能な場合: type = coupon
image_alt オプション 利用可能な場合: type = coupon
coupon_code オプション 利用可能な場合: type = coupon
button_url オプション 利用可能な場合: type = coupon
url_new_tab オプション ブール値 利用可能な場合: type = coupon
button_text オプション 利用可能な場合: type = coupon
title_color オプション 利用可能な場合: type = coupon
description_color オプション 利用可能な場合: type = coupon
background_color オプション 利用可能な場合: type = coupon
button_background_color オプション 利用可能な場合: type = coupon
button_color オプション 利用可能な場合: type = coupon
live_counter
description オプション 利用可能な場合: type = live_counter
last_activity オプション 利用可能な場合: type = live_counter
url オプション 利用可能な場合: type = live_counter
url_new_tab オプション ブール値 利用可能な場合: type = live_counter
display_minimum_activity オプション 整数 利用可能な場合: type = live_counter
description_color オプション 利用可能な場合: type = live_counter
background_color オプション 利用可能な場合: type = live_counter
number_background_color オプション 利用可能な場合: type = live_counter
number_color オプション 利用可能な場合: type = live_counter
pulse_background_color オプション 利用可能な場合: type = live_counter
email_collector
conversions
title オプション 利用可能な場合: type = conversions
description オプション 利用可能な場合: type = conversions
image オプション ファイル 利用可能な場合: type = conversions
image_alt オプション 利用可能な場合: type = conversions
url オプション 利用可能な場合: type = conversions
display_time オプション ブール値 利用可能な場合: type = conversions
url_new_tab オプション ブール値 利用可能な場合: type = conversions
conversions_count オプション 整数 利用可能な場合: type = conversions
in_between_delay オプション 整数 利用可能な場合: type = conversions
order オプション 利用可能な場合: type = conversions
許可される値: random, descending
data_trigger_auto オプション ブール値 利用可能な場合: type = conversions
data_trigger_auto_type[index] オプション 配列 利用可能な場合: type = conversions
許可される値: exact , contains , starts_with , ends_with
data_trigger_auto_value[index] オプション 配列 利用可能な場合: type = conversions
title_color オプション 利用可能な場合: type = conversions
description_color オプション 利用可能な場合: type = conversions
date_color オプション 利用可能な場合: type = conversions
background_color オプション 利用可能な場合: type = conversions
conversions counter
title オプション 利用可能な場合: type = conversions counter
last_activity オプション 利用可能な場合: type = conversions counter
url オプション 利用可能な場合: type = conversions counter
url_new_tab オプション ブール値 利用可能な場合: type = conversions counter
display_minimum_activity オプション 利用可能な場合: type = conversions counter
title_color オプション 利用可能な場合: type = conversions counter
background_color オプション 利用可能な場合: type = conversions counter
number_background_color オプション 利用可能な場合: type = conversions counter
number_color オプション 利用可能な場合: type = conversions counter
data_trigger_auto オプション ブール値 利用可能な場合: type = conversions counter
data_trigger_auto_type[index] オプション 配列 利用可能な場合: type = conversions
許可される値: exact , contains , starts_with , ends_with
data_trigger_auto_value[index] オプション 配列 利用可能な場合: type = conversions
video
title オプション 利用可能な場合: type = video
video オプション ファイル 利用可能な場合: type = video
video_is_youtube オプション ブール値 利用可能な場合: type = video
youtube_video_id オプション 利用可能な場合: type = video
video_autoplay オプション ブール値 利用可能な場合: type = video
video_controls オプション ブール値 利用可能な場合: type = video
video_loop オプション ブール値 利用可能な場合: type = video
video_muted オプション ブール値 利用可能な場合: type = video
button_url オプション 利用可能な場合: type = video
button_text オプション 利用可能な場合: type = video
url_new_tab オプション ブール値 利用可能な場合: type = video
title_color オプション 利用可能な場合: type = video
background_color オプション 利用可能な場合: type = video
button_background_color オプション 利用可能な場合: type = video
button_color オプション 利用可能な場合: type = video
audio
title オプション 利用可能な場合: type = audio
audio オプション ファイル 利用可能な場合: type = audio
audio_autoplay オプション ブール値 利用可能な場合: type = audio
audio_controls オプション ブール値 利用可能な場合: type = audio
audio_loop オプション ブール値 利用可能な場合: type = audio
audio_muted オプション ブール値 利用可能な場合: type = audio
button_url オプション 利用可能な場合: type = audio
button_text オプション 利用可能な場合: type = audio
url_new_tab オプション ブール値 利用可能な場合: type = audio
title_color オプション 利用可能な場合: type = audio
background_color オプション 利用可能な場合: type = audio
button_background_color オプション 利用可能な場合: type = audio
button_color オプション 利用可能な場合: type = audio
social_share
reviews
url オプション 利用可能な場合: type = reviews
url_new_tab オプション ブール値 利用可能な場合: type = reviews
reviews_count オプション missing_translation: api_documentation.integer 利用可能な場合: type = reviews
in_between_delay オプション missing_translation: api_documentation.integer 利用可能な場合: type = reviews
order オプション 利用可能な場合: type = reviews
title missing_translation: api_documentation.default 利用可能な場合: type = reviews
description missing_translation: api_documentation.default 利用可能な場合: type = reviews
image missing_translation: api_documentation.default ファイル 利用可能な場合: type = reviews
stars missing_translation: api_documentation.default missing_translation: api_documentation.integer 利用可能な場合: type = reviews
title_color オプション 利用可能な場合: type = reviews
description_color オプション 利用可能な場合: type = reviews
background_color オプション 利用可能な場合: type = reviews
emoji_feedback
title オプション 利用可能な場合: type = emoji_feedback
thank_you_url オプション 利用可能な場合: type = emoji_feedback
show_angry オプション ブール値 利用可能な場合: type = emoji_feedback
show_sad オプション ブール値 利用可能な場合: type = emoji_feedback
show_neutral オプション ブール値 利用可能な場合: type = emoji_feedback
show_happy オプション ブール値 利用可能な場合: type = emoji_feedback
show_excited オプション ブール値 利用可能な場合: type = emoji_feedback
title_color オプション 利用可能な場合: type = emoji_feedback
background_color オプション 利用可能な場合: type = emoji_feedback
cookie_notification
score_feedback
title オプション 利用可能な場合: type = score_feedback
description オプション 利用可能な場合: type = score_feedback
thank_you_url オプション 利用可能な場合: type = score_feedback
title_color オプション 利用可能な場合: type = score_feedback
description_color オプション 利用可能な場合: type = score_feedback
background_color オプション 利用可能な場合: type = score_feedback
button_background_color オプション 利用可能な場合: type = score_feedback
button_color オプション 利用可能な場合: type = score_feedback
request_collector
title オプション 利用可能な場合: type = request_collector
description オプション 利用可能な場合: type = request_collector
image オプション ファイル 利用可能な場合: type = request_collector
image_alt オプション 利用可能な場合: type = request_collector
content_title オプション 利用可能な場合: type = request_collector
content_description オプション 利用可能な場合: type = request_collector
input_placeholder オプション 利用可能な場合: type = request_collector
button_text オプション 利用可能な場合: type = request_collector
show_agreement オプション ブール値 利用可能な場合: type = request_collector
agreement_text オプション 利用可能な場合: type = request_collector
agreement_url オプション 利用可能な場合: type = request_collector
thank_you_url オプション 利用可能な場合: type = request_collector
title_color オプション 利用可能な場合: type = request_collector
description_color オプション 利用可能な場合: type = request_collector
content_title_color オプション 利用可能な場合: type = request_collector
content_description_color オプション 利用可能な場合: type = request_collector
background_color オプション 利用可能な場合: type = request_collector
button_background_color オプション 利用可能な場合: type = request_collector
button_color オプション 利用可能な場合: type = request_collector
countdown_collector
title オプション 利用可能な場合: type = countdown_collector
description オプション 利用可能な場合: type = countdown_collector
content_title オプション 利用可能な場合: type = countdown_collector
input_placeholder オプション 利用可能な場合: type = countdown_collector
button_text オプション 利用可能な場合: type = countdown_collector
countdown_end_date オプション 利用可能な場合: type = countdown_collector
show_agreement オプション ブール値 利用可能な場合: type = countdown_collector
agreement_text オプション 利用可能な場合: type = countdown_collector
agreement_url オプション 利用可能な場合: type = countdown_collector
thank_you_url オプション 利用可能な場合: type = countdown_collector
title_color オプション 利用可能な場合: type = countdown_collector
description_color オプション 利用可能な場合: type = countdown_collector
content_title_color オプション 利用可能な場合: type = countdown_collector
time_color オプション 利用可能な場合: type = countdown_collector
time_background_color オプション 利用可能な場合: type = countdown_collector
background_color オプション 利用可能な場合: type = countdown_collector
button_background_color オプション 利用可能な場合: type = countdown_collector
button_color オプション 利用可能な場合: type = countdown_collector
custom_html
html オプション 利用可能な場合: type = custom_html
background_color オプション 利用可能な場合: type = custom_html
informational_bar
title オプション 利用可能な場合: type = informational_bar
description オプション 利用可能な場合: type = informational_bar
image オプション ファイル 利用可能な場合: type = informational_bar
image_alt オプション 浮く 利用可能な場合: type = informational_bar
url オプション 浮く 利用可能な場合: type = informational_bar
url_new_tab オプション ブール値 利用可能な場合: type = informational_bar
title_color オプション 利用可能な場合: type = informational_bar
description_color オプション 利用可能な場合: type = informational_bar
background_color オプション 利用可能な場合: type = informational_bar
informational_bar_mini
title オプション 利用可能な場合: type = informational_bar_mini
image オプション ファイル 利用可能な場合: type = informational_bar_mini
image_alt オプション 浮く 利用可能な場合: type = informational_bar_mini
url オプション 浮く 利用可能な場合: type = informational_bar_mini
url_new_tab オプション ブール値 利用可能な場合: type = informational_bar_mini
title_color オプション 利用可能な場合: type = informational_bar_mini
description_color オプション 利用可能な場合: type = informational_bar_mini
background_color オプション 利用可能な場合: type = informational_bar_mini
image
title オプション 利用可能な場合: type = image
image オプション ファイル 利用可能な場合: type = image
image_alt オプション 利用可能な場合: type = image
button_url オプション 利用可能な場合: type = image
button_text オプション 利用可能な場合: type = image
title_color オプション 利用可能な場合: type = image
background_color オプション 利用可能な場合: type = image
button_background_color オプション 利用可能な場合: type = image
button_color オプション 利用可能な場合: type = image
collector_bar
title オプション 利用可能な場合: type = collector_bar
input_placeholder オプション 利用可能な場合: type = collector_bar
button_text オプション 利用可能な場合: type = collector_bar
show_agreement オプション ブール値 利用可能な場合: type = collector_bar
agreement_text オプション 利用可能な場合: type = collector_bar
agreement_url オプション 利用可能な場合: type = collector_bar
thank_you_url オプション 利用可能な場合: type = collector_bar
title_color オプション 利用可能な場合: type = collector_bar
background_color オプション 利用可能な場合: type = collector_bar
button_background_color オプション 利用可能な場合: type = collector_bar
button_color オプション 利用可能な場合: type = collector_bar
coupon_bar
title オプション 利用可能な場合: type = coupon_bar
coupon_code オプション 利用可能な場合: type = coupon_bar
url オプション 浮く 利用可能な場合: type = coupon_bar
url_new_tab オプション ブール値 利用可能な場合: type = coupon_bar
title_color オプション 利用可能な場合: type = coupon_bar
background_color オプション 利用可能な場合: type = coupon_bar
coupon_code_color オプション 利用可能な場合: type = coupon_bar
coupon_code_background_color オプション 利用可能な場合: type = coupon_bar
coupon_code_border_color オプション 利用可能な場合: type = coupon_bar
button_bar
title オプション 利用可能な場合: type = button_bar
button_text オプション 利用可能な場合: type = button_bar
url オプション 利用可能な場合: type = button_bar
url_new_tab オプション ブール値 利用可能な場合: type = button_bar
title_color オプション 利用可能な場合: type = button_bar
background_color オプション 利用可能な場合: type = button_bar
button_color オプション 利用可能な場合: type = button_bar
button_background_color オプション 利用可能な場合: type = button_bar
collector_modal
title オプション 利用可能な場合: type = collector_modal
description オプション 利用可能な場合: type = collector_modal
image オプション ファイル 利用可能な場合: type = collector_modal
image_alt オプション 利用可能な場合: type = collector_modal
input_placeholder オプション 利用可能な場合: type = collector_modal
button_text オプション 利用可能な場合: type = collector_modal
show_agreement オプション ブール値 利用可能な場合: type = collector_modal
agreement_text オプション 利用可能な場合: type = collector_modal
agreement_url オプション 利用可能な場合: type = collector_modal
thank_you_url オプション 利用可能な場合: type = collector_modal
title_color オプション 利用可能な場合: type = collector_modal
description_color オプション 利用可能な場合: type = collector_modal
background_color オプション 利用可能な場合: type = collector_modal
button_background_color オプション 利用可能な場合: type = collector_modal
button_color オプション 利用可能な場合: type = collector_modal
collector_two_modal
title オプション 利用可能な場合: type = collector_two_modal
description オプション 利用可能な場合: type = collector_two_modal
image オプション ファイル 利用可能な場合: type = collector_two_modal
image_alt オプション 利用可能な場合: type = collector_two_modal
input_placeholder オプション 利用可能な場合: type = collector_two_modal
button_text オプション 利用可能な場合: type = collector_two_modal
show_agreement オプション ブール値 利用可能な場合: type = collector_two_modal
agreement_text オプション 利用可能な場合: type = collector_two_modal
agreement_url オプション 利用可能な場合: type = collector_two_modal
thank_you_url オプション 利用可能な場合: type = collector_two_modal
title_color オプション 利用可能な場合: type = collector_two_modal
description_color オプション 利用可能な場合: type = collector_two_modal
background_color オプション 利用可能な場合: type = collector_two_modal
button_background_color オプション 利用可能な場合: type = collector_two_modal
button_color オプション 利用可能な場合: type = collector_two_modal
button_modal
title オプション 利用可能な場合: type = button_modal
description オプション 利用可能な場合: type = button_modal
image オプション ファイル 利用可能な場合: type = button_modal
image_alt オプション 利用可能な場合: type = button_modal
button_text オプション 利用可能な場合: type = button_modal
button_url オプション 利用可能な場合: type = button_modal
url_new_tab オプション ブール値 利用可能な場合: type = button_modal
title_color オプション 利用可能な場合: type = button_modal
description_color オプション 利用可能な場合: type = button_modal
background_color オプション 利用可能な場合: type = button_modal
button_background_color オプション 利用可能な場合: type = button_modal
button_color オプション 利用可能な場合: type = button_modal
text_feedback
title オプション 利用可能な場合: type = text_feedback
description オプション 利用可能な場合: type = text_feedback
input_placeholder オプション 利用可能な場合: type = text_feedback
button_text オプション 利用可能な場合: type = text_feedback
thank_you_url オプション 利用可能な場合: type = text_feedback
title_color オプション 利用可能な場合: type = text_feedback
description_color オプション 利用可能な場合: type = text_feedback
background_color オプション 利用可能な場合: type = text_feedback
button_background_color オプション 利用可能な場合: type = text_feedback
button_color オプション 利用可能な場合: type = text_feedback
engagement_links
title_color オプション 利用可能な場合: type = text_feedback
categories_title_color オプション 利用可能な場合: type = text_feedback
categories_description_color オプション 利用可能な場合: type = text_feedback
categories_links_title_color オプション 利用可能な場合: type = text_feedback
categories_links_description_color オプション 利用可能な場合: type = text_feedback
categories_links_background_color オプション 利用可能な場合: type = text_feedback
categories_links_border_color オプション 利用可能な場合: type = text_feedback
background_color オプション 利用可能な場合: type = text_feedback
whatsapp_chat
title オプション 利用可能な場合: type = whatsapp_chat
agent_image オプション ファイル 利用可能な場合: type = whatsapp_chat
agent_image_alt オプション 利用可能な場合: type = whatsapp_chat
agent_name オプション 利用可能な場合: type = whatsapp_chat
agent_description オプション 利用可能な場合: type = whatsapp_chat
agent_message オプション 利用可能な場合: type = whatsapp_chat
agent_phone_number オプション 利用可能な場合: type = whatsapp_chat
button_text オプション 利用可能な場合: type = whatsapp_chat
header_agent_name_color オプション 利用可能な場合: type = whatsapp_chat
header_agent_description_color オプション 利用可能な場合: type = whatsapp_chat
header_background_color オプション 利用可能な場合: type = whatsapp_chat
content_background_color オプション 利用可能な場合: type = whatsapp_chat
content_agent_name_color オプション 利用可能な場合: type = whatsapp_chat
content_agent_message_color オプション 利用可能な場合: type = whatsapp_chat
content_agent_message_background_color オプション 利用可能な場合: type = whatsapp_chat
footer_background_color オプション 利用可能な場合: type = whatsapp_chat
footer_button_background_color オプション 利用可能な場合: type = whatsapp_chat
footer_button_color オプション 利用可能な場合: type = whatsapp_chat
title_color オプション 利用可能な場合: type = whatsapp_chat
background_color オプション 利用可能な場合: type = whatsapp_chat
contact_us
title オプション 利用可能な場合: type = contact_us
description オプション 利用可能な場合: type = contact_us
contact_email オプション 利用可能な場合: type = contact_us
contact_phone_number オプション 利用可能な場合: type = contact_us
contact_whatsapp オプション 利用可能な場合: type = contact_us
contact_telegram オプション 利用可能な場合: type = contact_us
contact_facebook_messenger オプション 利用可能な場合: type = contact_us
title_color オプション 利用可能な場合: type = contact_us
description_color オプション 利用可能な場合: type = contact_us
background_color オプション 利用可能な場合: type = contact_us
curl --request POST \
--url 'https://www.japaso.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://www.japaso.com/api/notifications/{notification_id}
curl --request DELETE \
--url 'https://www.japaso.com/api/notifications/{notification_id}' \
--header 'Authorization: Bearer {api_key}' \