Skip to main content
ページ作成
curl --request POST \
  --url https://api.utage-system.com/v1/funnels/{funnel_id}/steps/{step_id}/pages \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "content_type": "elements",
  "html_source": "<string>",
  "page_title": "<string>",
  "elements": [
    {}
  ],
  "meta_title": "<string>",
  "meta_description": "<string>",
  "meta_og_image": "<string>",
  "is_no_index": 0,
  "pc_width": 123,
  "border_type": "shadow",
  "swipe_type": "none",
  "background_color": "<string>",
  "background_image_src": "<string>",
  "background_image_style": "cover_fixed",
  "js_head": "<string>",
  "js_body_top": "<string>",
  "js_body": "<string>",
  "css": "<string>",
  "use_popup": 0,
  "popup_action": "exit",
  "popup_width": 800,
  "popup_background_color": "<string>",
  "popup_vertical_align": "top",
  "popup_elements": [
    {}
  ],
  "is_high_speed_mode": 0
}
'
{
  "data": {
    "id": "<string>",
    "funnel_id": "<string>",
    "step_id": "<string>",
    "title": "<string>",
    "content_type": "elements",
    "step_url": "<string>",
    "page_url": "<string>"
  }
}

Authorizations

Authorization
string
header
required

APIキーをBearerトークンとして指定

Path Parameters

funnel_id
string
required

ファネルID

step_id
string
required

ステップID

Body

application/json
title
string
required

管理用タイトル(管理画面の一覧に表示される名前)

Maximum string length: 255
content_type
enum<string>
default:elements

コンテンツタイプ(elements: 要素の階層構造、raw_html: HTML直接入力)

Available options:
elements,
raw_html
html_source
string

HTML文字列(content_type=raw_html時に必須、最大4MB)。html/head/bodyタグ必須、DOCTYPEは任意

page_title
string

ページ表示タイトル(ブラウザのtitleタグに表示。content_type=elementsのみ)

elements
object[]

要素の配列(content_type=elements時に必須)。section > row > col > コンテンツ要素のchildren階層構造。

[{
"type": "section",
"children": [{
"type": "row",
"children": [{
"type": "col",
"children": [{
"type": "text",
"content": "<p>テキスト</p>"
}]
}]
}]
}]
meta_title
string

OGPタイトル(SNSシェア時に表示されるタイトル)

Maximum string length: 255
meta_description
string

OGP説明文(SNSシェア時の説明)

Maximum string length: 500
meta_og_image
string<uri>

OGP画像URL(SNSシェア時のサムネイル)

is_no_index
enum<integer>

noindex設定(0: 検索エンジンに許可、1: インデックスさせない)

Available options:
0,
1
pc_width
integer

PC表示時のコンテンツ幅。100=全幅(100%)、640-1200=ピクセル指定(10刻み)。LP向けは600-800px、通常ページは1000-1200pxが一般的

border_type
enum<string>

コンテンツエリアのボーダータイプ(shadow: 影付き、border: 枠線、none: なし)

Available options:
shadow,
border,
none
swipe_type
enum<string>

ページスワイプ(pc_width=100の場合は使用不可)

Available options:
none,
vertical,
horizontal
background_color
string

ページ全体の背景色(#RRGGBB形式)。pc_width=100(全幅)の場合のみ指定すること

Pattern: ^#[0-9A-Fa-f]{6}$
background_image_src
string<uri>

ページ全体の背景画像URL(HTTPS)

background_image_style
enum<string>

背景画像の表示方式(cover_fixed: 全体に表示(スクロール時固定)、w100: 幅100%、h100: 高さ100%、no_repeat: 拡大なし繰り返しなし、repeat: 拡大なし繰り返し)

Available options:
cover_fixed,
w100,
h100,
no_repeat,
repeat
js_head
string

head内に挿入するJavaScript(GTMタグ等)

js_body_top
string

body直後に挿入するJavaScript

js_body
string

body末尾に挿入するJavaScript

css
string

カスタムCSS(ページ固有のスタイル調整)

use_popup
enum<integer>

ポップアップ使用(0: 無効、1: 有効)

Available options:
0,
1
popup_action
enum<string>

ポップアップ表示条件(exit: ページ離脱時、exit_all: 全ページ離脱時)

Available options:
exit,
exit_all
popup_width
integer

ポップアップ幅(600-1000px)

Required range: 600 <= x <= 1000
popup_background_color
string

ポップアップ背景色(#RRGGBB形式)

Pattern: ^#[0-9A-Fa-f]{6}$
popup_vertical_align
enum<string>

ポップアップの垂直配置(top: 上部、centered: 中央)

Available options:
top,
centered
popup_elements
object[]

ポップアップ要素の配列(elementsと同じ構造)

is_high_speed_mode
enum<integer>

高速表示モード(0: 無効、1: 有効)

Available options:
0,
1

Response

作成されたページ

data
object