API

Mendapatkan skrip promosi aplikasi mobile

GET/api/crm/v2/mobile_apps_promoter_scriptv2
operationId: mobileAppsPromoterScript.default

Otorisasi

api-token + language + role

Parameter permintaan

chain_idinteger

Contoh: 7160

Tanggapan

OK

object
statusstringwajib

Nilai:successerror

Contoh: success

dataobject
filtersobject
settingsobject
chain_idintegerwajib

Contoh: 1

zonestringwajib

Contoh: ru

languagestringwajib

Contoh: ru

field_of_activitystringwajib

Nilai:food_and_drinkotherflowers

url_promoterstring

Contoh: https://fs.me/pr/init.js

main_frame_text_headerstring

Contoh: We have a mobile application

main_frame_text_bodystring

Contoh: Install it and get a bonus

main_frame_background_imagestring

Contoh: https://cdn.foodsoul.test/backgrounds/promoter_script/1312e71798302424c25c538639989665.jpg

main_frame_background_colorstring

Contoh: 7E57C2

main_frame_background_dotsboolean

Contoh: true

main_frame_colors_buttonsstring

Contoh: 0D47A1

main_frame_colors_textstring

Contoh: FFFFFF

main_frame_colors_iphonestring (MainFrameColorsIphone)

Nilai:space_graysilvergold

Contoh: gold

button_positionstring (ButtonPosition)

Nilai:top_righttop_leftbottom_rightbottom_left

Contoh: top_right

button_orientationstring (ButtonOrientation)

Nilai:horizontallyvertically

Contoh: horizontally

button_text_first_linestring
button_text_second_linestring
button_offset_xinteger

Contoh: 24

button_offset_yinteger

Contoh: 24

button_colors_backgroundstring

Contoh: 651FFF

button_colors_textstring

Contoh: FFFFFF

small_sizeboolean

Contoh: true