Download OpenAPI specification:
本APIは外部システムとの連携を目的としたREST APIです。友だちリストの取得・タグの更新、トーク履歴の取得などの操作をプログラムから実行できます。
本APIには以下のレートリミットが設定されています。
| 種別 | 制限 | エラーメッセージ | ステータスコード |
|---|---|---|---|
| 秒間 | アカウントごとに10リクエスト/秒 | Too Many Attempts. |
429 |
| 月間 | ご契約のプランによって異なります | You have reached your monthly limit. |
429 |
月間レートリミットを超過した場合のみ、429 レスポンスに Retry-After ヘッダー(HTTP-date 形式)を付与します。値は翌月のリセット時刻を表します。秒間レートリミットは短時間で再試行可能なため Retry-After は付与しません。
全てのレスポンス(一部のエラーを除く)に Request-Id ヘッダーを付与します。値はリクエストごとに一意な ULID です。お問い合わせの際にこの値をお知らせいただくと、該当リクエストを特定できます。
友だち一覧を取得します
友だちの詳細情報を一覧で取得 タグ情報、友だち情報、対応マークなどを含む
| cursor | string カーソル |
| limit | integer <int32> [ 1 .. 1000 ] Default: 50 取得件数 |
| taiou_mark_id | Array of integers <int64> [ items <int64 > ] 対応マークIDでフィルタ(複数指定可、OR条件) |
| is_blocked | boolean 友だちからのブロック状態でフィルタ |
| display_status | Array of strings Items Enum: "normal" "block" "hide" 表示ステータスでフィルタ(複数指定可、OR条件) |
| friend_info_id | integer <int64> 友だち情報でフィルタするためのID(friend_info_valueと両方指定必須、種別が標準の友だち情報のみ対応) |
| friend_info_value | string [ 1 .. 200 ] characters 友だち情報の値で完全一致フィルタ(friend_info_idと両方指定必須) |
| name | string 友だち名で部分一致検索 |
| full_name | string 本名で部分一致検索 |
| system_name | string システム表示名で部分一致検索 |
| created_at_from | string 作成日時の開始日時 (ISO 8601形式) |
| created_at_to | string 作成日時の終了日時 (ISO 8601形式) |
| sort_by | string Default: "created_at" Enum: "created_at" "taiou_mark_updated_at" ソート項目 |
| sort_order | string Default: "desc" Enum: "asc" "desc" ソート順序 |
| include_tags | Array of integers <int64> <= 100 items [ items <int64 > ] 含めるタグID(最大100個) 例: [123, 124, 125] |
| include_friend_infos | Array of integers <int64> <= 100 items [ items <int64 > ] 含める友だち情報ID(最大100個) 例: [223, 224, 225] |
curl -X GET 'https://api.lineml.jp/v2/api/friends' \ -H 'Authorization: Bearer {API_TOKEN}'
{- "data": [
- {
- "id": 12345,
- "uid": "Uabcd1234efgh5678",
- "name": "山田太郎",
- "full_name": "山田 太郎",
- "system_name": "山田太郎(東京支店)",
- "taiou_mark": {
- "id": 1,
- "name": "対応済み"
}, - "taiou_mark_updated_at": "2025-01-15T14:30:00+09:00",
- "is_line_group": false,
- "is_blocked": false,
- "display_status": "normal",
- "created_at": "2025-01-01T10:00:00+09:00",
- "memo": "重要顧客",
- "tags": [
- {
- "id": 123,
- "name": "閲覧",
- "attached_at": "2025-01-10T15:30:00+09:00"
}
], - "friend_infos": [
- {
- "id": 223,
- "name": "氏名(漢字)",
- "value": "山田太郎",
- "type": "string"
}, - {
- "id": 224,
- "name": "好きな色",
- "value": "456",
- "type": "select",
- "selected_option": {
- "id": 456,
- "value": "赤",
- "color": "#FF0000"
}
}
]
}
], - "path": "/v2/api/friends",
- "per_page": 50,
- "next_cursor": "dHN1Z2kgbm8gcGFnZSBoZW5vIGN1cnNvciB3byBzaGltZXN1IG1vamlyZXRzdSBkZXN1Lgo=",
- "prev_cursor": "bWFlbm8gbm8gcGFnZSAuIGhlbm8gY3Vyc29yIC4gc2hpbWVzdSBtb2ppcmV0c3UgLi5kZQo=",
}友だちの詳細情報を取得します
| id required | string (IdOrUid) 友だちID 数値ID(例: 12345)またはUID(例: Uabcd1234 または Cabcd1234)を受け入れる |
| include_tags | Array of integers <int64> <= 100 items [ items <int64 > ] 含めるタグID(最大100個) 例: [123, 124, 125] |
| include_friend_infos | Array of integers <int64> <= 100 items [ items <int64 > ] 含める友だち情報ID(最大100個) 例: [223, 224, 225] |
curl -X GET 'https://api.lineml.jp/v2/api/friends/12345' \ -H 'Authorization: Bearer {API_TOKEN}'
{- "data": {
- "id": 12345,
- "uid": "Uabcd1234efgh5678",
- "name": "山田太郎",
- "full_name": "山田 太郎",
- "system_name": "山田太郎(東京支店)",
- "taiou_mark": {
- "id": 1,
- "name": "対応済み"
}, - "taiou_mark_updated_at": "2025-01-15T14:30:00+09:00",
- "is_line_group": false,
- "is_blocked": false,
- "display_status": "normal",
- "created_at": "2025-01-01T10:00:00+09:00",
- "memo": "重要顧客",
- "tags": [
- {
- "id": 123,
- "name": "閲覧",
- "attached_at": "2025-01-10T15:30:00+09:00"
}
], - "friend_infos": [
- {
- "id": 223,
- "name": "氏名(漢字)",
- "type": "string",
- "value": "山田太郎"
}, - {
- "id": 224,
- "name": "好きな色",
- "type": "select",
- "value": "456",
- "selected_option": {
- "id": 456,
- "value": "赤",
- "color": "#FF0000"
}
}
]
}
}友だちにタグを追加します
| id required | string (IdOrUid) 友だちID 数値ID(例: 12345)またはUID(例: Uabcd1234 または Cabcd1234)を受け入れる |
| tag_ids required | Array of integers <int64> [ items <int64 > ] 追加するタグIDの配列 |
{- "tag_ids": [
- 1,
- 2,
- 3
]
}{- "message": "更新が完了しました"
}友だちのタグを解除します
| id required | string (IdOrUid) 友だちID 数値ID(例: 12345)またはUID(例: Uabcd1234 または Cabcd1234)を受け入れる |
| tag_ids required | Array of integers <int64> [ items <int64 > ] 削除するタグIDの配列 |
{- "tag_ids": [
- 2
]
}{- "message": "更新が完了しました"
}友だちの対応マークを設定します
| id required | string (IdOrUid) 友だちID 数値ID(例: 12345)またはUID(例: Uabcd1234 または Cabcd1234)を受け入れる |
| taiou_mark_id required | integer <int64> 対応マークID |
{- "taiou_mark_id": 1
}{- "message": "更新が完了しました"
}指定した友だちが通過した流入経路の一覧を取得します
同じ流入経路を複数回通過した場合、通過ごとに1件返却されます
| id required | string (IdOrUid) 友だちID 数値ID(例: 12345)またはUID(例: Uabcd1234 または Cabcd1234)を受け入れる |
| cursor | string カーソル |
| limit | integer <int32> [ 1 .. 1000 ] Default: 50 取得件数 |
| passed_at_from | string (Iso8601DateTime) ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}([+-]\d{2... 通過日時の開始日時 (ISO 8601形式: |
| passed_at_to | string (Iso8601DateTime) ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}([+-]\d{2... 通過日時の終了日時 (ISO 8601形式: |
| sort_by | string Default: "passed_at" Value: "passed_at" ソート対象フィールド(デフォルト: passed_at) |
| sort_order | string Default: "desc" Enum: "asc" "desc" ソート順(デフォルト: desc) |
curl -X GET 'https://api.lineml.jp/v2/api/friends/12345/touchpoints' \ -H 'Authorization: Bearer {API_TOKEN}'
{- "data": [
- {
- "id": 1,
- "name": "QRコード経由",
- "passed_at": "2026-08-10T12:00:00+09:00",
- "query_params": [
- {
- "key": "gclid",
- "value": "abc123xyz"
}, - {
- "key": "utm_source",
- "value": "newsletter"
}
]
}
], - "path": "/v2/api/friends/12345/touchpoints",
- "per_page": 50,
- "next_cursor": null,
- "next_page_url": null,
- "prev_cursor": null,
- "prev_page_url": null
}友だち情報を新規作成します
| name required | string 項目名 |
integer or null 友だち情報フォルダID (nullable) | |
| type required | string Value: "select" タイプ |
required | Array of objects (FriendInfoOption) <= 100 items 選択肢の配列 |
{- "name": "新規友だち情報",
- "type": "select",
- "folder_id": 10,
- "options": [
- {
- "value": "新規友だち情報_選択肢A",
- "color": "#FF0000"
}, - {
- "value": "新規友だち情報_選択肢B",
- "color": "#0000FF"
}
]
}{- "data": {
- "id": 12345
}
}curl -X GET 'https://api.lineml.jp/v2/api/tag-folders' \ -H 'Authorization: Bearer {API_TOKEN}'
{- "data": [
- {
- "id": null,
- "name": "未分類"
}, - {
- "id": 10,
- "name": "顧客分類"
}, - {
- "id": 11,
- "name": "興味関心"
}
]
}タグ一覧の取得
| cursor | string カーソル |
| limit | integer <int32> [ 1 .. 1000 ] Default: 50 取得件数 |
integer or null フォルダID(nullは未分類フォルダのみ、未指定は全て) |
curl -X GET 'https://api.lineml.jp/v2/api/tags' \ -H 'Authorization: Bearer {API_TOKEN}'
{- "data": [
- {
- "id": 1,
- "name": "重要顧客",
- "folder_id": 10
}, - {
- "id": 2,
- "name": "見込み客",
- "folder_id": 10
}, - {
- "id": 3,
- "name": "要フォロー",
- "folder_id": null
}
], - "path": "/v2/api/tags",
- "per_page": 50,
- "next_cursor": "dHN1Z2kgbm8gcGFnZSBoZW5vIGN1cnNvciB3byBzaGltZXN1IG1vamlyZXRzdSBkZXN1Lgo=",
- "prev_cursor": "bWFlbm8gbm8gcGFnZSAuIGhlbm8gY3Vyc29yIC4gc2hpbWVzdSBtb2ppcmV0c3UgLi5kZQo=",
}タグを新規作成します
| name required | string タグ名 |
integer or null タグフォルダID (nullable) |
{- "name": "新規タグ",
- "folder_id": 10
}{- "data": {
- "id": 12345
}
}タグを更新します
| id required | integer <int64> |
| name | string タグ名 |
integer or null タグフォルダID (nullable)
|
{- "name": "更新タグ",
- "folder_id": 10
}{- "message": "更新が完了しました"
}指定したタグが付与されている友だちの一覧を取得します
| id required | integer <int64> |
| cursor | string カーソル |
| limit | integer <int32> [ 1 .. 10000 ] Default: 50 取得件数 |
curl -X GET 'https://api.lineml.jp/v2/api/tags/123/friends' \ -H 'Authorization: Bearer {API_TOKEN}'
{- "data": [
- {
- "id": 12345,
- "uid": "Uabcd1234efgh5678",
- "is_line_group": false,
- "is_blocked": false,
- "display_status": "normal"
}, - {
- "id": 12346,
- "uid": "Uabcd1234efgh5679",
- "is_line_group": false,
- "is_blocked": false,
- "display_status": "hide"
}
], - "path": "/v2/api/tags/1/friends",
- "per_page": 50,
- "next_cursor": "dHN1Z2kgbm8gcGFnZSBoZW5vIGN1cnNvciB3byBzaGltZXN1IG1vamlyZXRzdSBkZXN1Lgo=",
- "prev_cursor": "bWFlbm8gbm8gcGFnZSAuIGhlbm8gY3Vyc29yIC4gc2hpbWVzdSBtb2ppcmV0c3UgLi5kZQo=",
}指定したタグを複数の友だちに付与します
| id required | integer <int64> |
| friend_ids required | Array of strings (IdOrUid) <= 1000 items 追加する友だちIDの配列(数値IDまたはUID、最大1000件) |
{- "friend_ids": [
- "12345",
- "12346",
- "12347"
]
}{- "message": "更新が完了しました"
}指定したタグを複数の友だちから解除します
| id required | integer <int64> |
| friend_ids required | Array of strings (IdOrUid) <= 1000 items 削除する友だちIDの配列(数値IDまたはUID、最大1000件) |
{- "friend_ids": [
- "12345",
- "12346"
]
}{- "message": "更新が完了しました"
}対応マーク一覧を取得します
| cursor | string カーソル |
| limit | integer <int32> [ 1 .. 100 ] Default: 50 取得件数 |
curl -X GET 'https://api.lineml.jp/v2/api/taiou-marks' \ -H 'Authorization: Bearer {API_TOKEN}'
{- "data": [
- {
- "id": 1,
- "name": "対応済み"
}, - {
- "id": 2,
- "name": "対応中"
}, - {
- "id": 3,
- "name": "未対応"
}
], - "path": "/v2/api/taiou-marks",
- "per_page": 50,
- "next_cursor": "dHN1Z2kgbm8gcGFnZSBoZW5vIGN1cnNvciB3byBzaGltZXN1IG1vamlyZXRzdSBkZXN1Lgo=",
- "prev_cursor": "bWFlbm8gbm8gcGFnZSAuIGhlbm8gY3Vyc29yIC4gc2hpbWVzdSBtb2ppcmV0c3UgLi5kZQo=",
}トーク履歴を取得
制限事項: prev_cursor と prev_page_url は本エンドポイントでは未実装です。
レスポンスには常に null が返されます。前ページへの遷移はサポートしていません。
| cursor | string カーソル |
| limit | integer <int32> [ 1 .. 1000 ] Default: 50 取得件数 |
| friend_id | string (IdOrUid) 送信者の友だちIDでフィルタリング |
| direction | string Enum: "inbound" "outbound" "system" メッセージの方向でフィルタリング |
| is_unconfirmed | boolean 未読メッセージのみ取得(true: 未読のみ、false: 既読のみ、指定なし: 全て) |
| staff_id | integer <int64> 送信操作を行ったスタッフIDでフィルタリング |
| has_staff | boolean スタッフによる送信の有無でフィルタリング(true: 手動送信メッセージ、false: その他(受信メッセージ・システムメッセージ・自動送信メッセージ等)、未指定: 全て) |
| sent_at_from | string 送信日時の開始範囲 (ISO 8601形式、この日時以降のメッセージを取得) |
| sent_at_to | string 送信日時の終了範囲 (ISO 8601形式、この日時以前のメッセージを取得) |
| sort_by | string Default: "sent_at" Value: "sent_at" ソート対象フィールド(デフォルト: sent_at) |
| sort_order | string Default: "desc" Enum: "asc" "desc" ソート順(デフォルト: desc) |
curl -X GET 'https://api.lineml.jp/v2/api/messages' \ -H 'Authorization: Bearer {API_TOKEN}'
{- "data": [
- {
- "direction": "inbound",
- "id": 98765,
- "friend_id": 12345,
- "friend_uid": "Uabcd1234efgh5678",
- "timeline_text": "こんにちは!",
- "content": {
- "type": "text",
- "text": "こんにちは!"
}, - "sent_at": "2025-01-15T10:30:00Z",
- "is_unconfirmed": false
}, - {
- "direction": "outbound",
- "id": 98766,
- "friend_id": 12345,
- "friend_uid": "Uabcd1234efgh5678",
- "timeline_text": "ありがとうございます",
- "content": {
- "type": "text",
- "text": "ありがとうございます"
}, - "sent_at": "2025-01-15T10:31:00Z",
- "staff": {
- "id": 456,
- "name": "佐藤太郎"
}, - "sender_decoration": {
- "display_name": "カスタマーサポート"
}, - "is_unconfirmed": false
}
], - "path": "/v2/api/messages",
- "per_page": 50,
- "next_cursor": "dHN1Z2kgbm8gcGFnZSBoZW5vIGN1cnNvciB3byBzaGltZXN1IG1vamlyZXRzdSBkZXN1Lgo=",
- "prev_cursor": "bWFlbm8gbm8gcGFnZSAuIGhlbm8gY3Vyc29yIC4gc2hpbWVzdSBtb2ppcmV0c3UgLi5kZQo=",
}curl -X GET 'https://api.lineml.jp/v2/api/common-info-folders' \ -H 'Authorization: Bearer {API_TOKEN}'
{- "data": [
- {
- "id": null,
- "name": "未分類"
}, - {
- "id": 10,
- "name": "営業情報"
}, - {
- "id": 11,
- "name": "スタッフ情報"
}
]
}共通情報一覧を取得します
| cursor | string カーソル |
| limit | integer <int32> [ 1 .. 1000 ] Default: 50 取得件数 |
integer or null フォルダID(nullは未分類フォルダのみ、未指定は全て) |
curl -X GET 'https://api.lineml.jp/v2/api/common-infos' \ -H 'Authorization: Bearer {API_TOKEN}'
{- "data": [
- {
- "id": 123,
- "name": "営業時間",
- "value": "10:00-18:00",
- "shortcode_id": "CVAR_abcd",
- "type": "string",
- "folder_id": 10
}, - {
- "id": 124,
- "name": "定休日",
- "value": "土日祝",
- "shortcode_id": "CVAR_efgh",
- "type": "string",
- "folder_id": 10
}, - {
- "id": 125,
- "name": "スタッフ数",
- "value": "5",
- "shortcode_id": "CVAR_ijkl",
- "type": "number",
- "folder_id": null
}
], - "path": "/v2/api/common-infos",
- "per_page": 50,
- "next_cursor": "dHN1Z2kgbm8gcGFnZSBoZW5vIGN1cnNvciB3byBzaGltZXN1IG1vamlyZXRzdSBkZXN1Lgo=",
- "prev_cursor": "bWFlbm8gbm8gcGFnZSAuIGhlbm8gY3Vyc29yIC4gc2hpbWVzdSBtb2ppcmV0c3UgLi5kZQo=",
}共通情報を更新します
| id required | integer <int64> |
| name | string 共通情報名 |
| value | string 値 |
integer or null 共通情報フォルダID |
{- "name": "キャンペーン期間",
- "value": "2025年1月1日〜1月31日",
- "folder_id": 10
}{- "message": "更新が完了しました"
}流入経路の一覧を取得します
並び順は管理画面と同じく、流入経路フォルダの並び順(未分類が先頭)→ フォルダ内の並び順です
| cursor | string カーソル |
| limit | integer <int32> [ 1 .. 1000 ] Default: 50 取得件数 |
integer or null フォルダID(nullは未分類フォルダのみ、未指定は全て) |
curl -X GET 'https://api.lineml.jp/v2/api/touchpoints' \ -H 'Authorization: Bearer {API_TOKEN}'
{- "data": [
- {
- "id": 1,
- "name": "QRコード経由",
- "folder_id": 10
}, - {
- "id": 2,
- "name": "メルマガ経由",
- "folder_id": 10
}, - {
- "id": 3,
- "name": "店頭ポスター",
- "folder_id": null
}
], - "path": "/v2/api/touchpoints",
- "per_page": 50,
- "next_cursor": null,
- "next_page_url": null,
- "prev_cursor": null,
- "prev_page_url": null
}指定した流入経路を通過した友だちの一覧を取得します
同じ友だちが複数回通過した場合、通過ごとに1件返却されます
| id required | integer <int64> |
| cursor | string カーソル |
| limit | integer <int32> [ 1 .. 1000 ] Default: 50 取得件数 |
| passed_at_from | string (Iso8601DateTime) ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}([+-]\d{2... 通過日時の開始日時 (ISO 8601形式: |
| passed_at_to | string (Iso8601DateTime) ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}([+-]\d{2... 通過日時の終了日時 (ISO 8601形式: |
| sort_by | string Default: "passed_at" Value: "passed_at" ソート対象フィールド(デフォルト: passed_at) |
| sort_order | string Default: "desc" Enum: "asc" "desc" ソート順(デフォルト: desc) |
curl -X GET 'https://api.lineml.jp/v2/api/touchpoints/123/friends' \ -H 'Authorization: Bearer {API_TOKEN}'
{- "data": [
- {
- "id": 12345,
- "uid": "Uabcd1234efgh5678",
- "name": "山田太郎",
- "passed_at": "2026-08-10T12:00:00+09:00",
- "query_params": [
- {
- "key": "gclid",
- "value": "abc123xyz"
}, - {
- "key": "utm_source",
- "value": "newsletter"
}
]
}
], - "path": "/v2/api/touchpoints/1/friends",
- "per_page": 50,
- "next_cursor": null,
- "next_page_url": null,
- "prev_cursor": null,
- "prev_page_url": null
}登録メディアの一覧を取得します
| cursor | string カーソル |
| limit | integer <int32> [ 1 .. 1000 ] Default: 50 取得件数 |
| type | Array of strings Items Enum: "image" "video" "audio" "pdf" "menu" メディア種別でフィルタ(複数指定可、OR条件) |
| name | string [ 1 .. 255 ] characters メディア名で部分一致検索 |
curl -X GET 'https://api.lineml.jp/v2/api/media' \ -H 'Authorization: Bearer {API_TOKEN}'
{- "data": [
- {
- "id": 12345,
- "name": "example.jpg",
- "type": "image",
}, - {
- "id": 12346,
- "name": "example.mp4",
- "type": "video",
}, - {
- "id": 12347,
- "name": "richmenu.png",
- "type": "menu",
}
], - "path": "/v2/api/media",
- "per_page": 50,
- "next_cursor": "dHN1Z2kgbm8gcGFnZSBoZW5vIGN1cnNvciB3byBzaGltZXN1IG1vamlyZXRzdSBkZXN1Lgo=",
- "prev_cursor": "bWFlbm8gbm8gcGFnZSAuIGhlbm8gY3Vyc29yIC4gc2hpbWVzdSBtb2ppcmV0c3UgLi5kZQo=",
}ファイルを登録メディア一覧に保存します
現状は image のみ指定可能
| file required | any アップロードするファイルパス(jpg / png / gif 形式の画像ファイルのみ、最大10MB) |
| type required | string Value: "image" メディア種別 |
| name | string [ 1 .. 255 ] characters メディア名(省略時はアップロードファイルのファイル名を使用) |
curl -X POST 'https://api.lineml.jp/v2/api/media' \ -H 'Authorization: Bearer {API_TOKEN}' \ -F 'file=@/path/to/file' \ -F 'type=image' \ -F 'name=example_value'
{- "data": {
- "type": "image",
- "id": 12345,
- "name": "example.jpg",
}
}管理画面の「Webhookアクション」で送信先を設定し、機能のアクションに設定しておくと、 イベントが発生したタイミングで、登録したエンドポイントへ HTTPS POST で通知が届きます。
通知の種類ごとのペイロードは、サイドメニューの Webhook の各ページを参照してください。
詳しい設定方法はマニュアルを参照してください。
URL エンドポイントに配信される HTTPS POST ペイロードには、以下のヘッダーが含まれています
| ヘッダー | 値 |
|---|---|
Content-Type |
application/json 固定 |
X-Retry-Id |
冪等キー(ULID 26文字)。再送でも同じ値です。詳細は「配信処理」を参照してください |
User-Agent |
webhook-action/1.0 |
| 管理画面で設定した認証キーヘッダー名 | 認証キー(64文字)を平文で送ります。詳細は「認証」を参照してください |
| 項目 | 値 |
|---|---|
| 1回の送信のタイムアウト | 15 秒 |
| 試行回数 | 最大 4 回 |
| 成功判定 | 2xx のみ。それ以外は理由を問わず再送します |
レスポンスが返らない場合や 2xx 以外が返った場合など、同じWebhookが 2 回以上届くことが起こりえます。
管理画面の「Webhookログ」画面の「テストイベント送信」から、登録済みのエンドポイントへテスト用の通知を送信可能です。 受信できるかどうかの確認に使ってください。
ヘッダー・認証キー・タイムアウト・再送は、すべて「配信処理」に書かれている通りに送られます。 成功扱いをするためにはステータスコードを 2xx を返してください。
{
"webhook_event_id": "evt_01J8Z...",
"event_type": "webhook_action_test",
"data": {
"friend": { "id": 12345, "uid": "Uabcd1234efgh5678" },
"feature": { "id": {登録したエンドポイントのID}, "name": "{登録したエンドポイントの名前}", "type": "webhook_action" },
"event": { "text": "This event is test." }
}
}
自動応答がヒットし、そのアクション設定に「Webhook送信」が含まれるときに送信されます。
| webhook_event_id required | string イベントを一意に識別するID( 再送でも同じ値になるので、重複したWebhookを識別できる。
|
| event_type required | string Value: "auto_reply" イベント種別 |
required | object |
{- "webhook_event_id": "evt_01ARZ3NDEKTSV4RRFFQ69G5FAV",
- "event_type": "auto_reply",
- "data": {
- "friend": {
- "id": 123,
- "uid": "U1234567890abcdef1234567890abcdef"
}, - "feature": {
- "id": 45,
- "name": "予約受付の自動応答",
- "type": "auto_reply"
}, - "event": {
- "type": "message",
- "message_type": "text",
- "datetime": "2026-08-12T10:00:00+09:00",
- "text": "予約したい"
}
}
}友だちが回答フォームに回答を送信し、 そのフォームの回答後アクションに「Webhook送信」が含まれるときに送信されます。
※ 旧形式の回答フォームは対応していません
| webhook_event_id required | string イベントを一意に識別するID( 再送でも同じ値になるので、重複したWebhookを識別できる。
|
| event_type required | string Value: "form_answered" イベント種別 |
required | object |
{- "webhook_event_id": "evt_01ARZ3NDEKTSV4RRFFQ69G5FAV",
- "event_type": "form_answered",
- "data": {
- "friend": {
- "id": 123,
- "uid": "U1234567890abcdef1234567890abcdef"
}, - "feature": {
- "id": 12,
- "name": "お問い合わせフォーム",
- "type": "form"
}, - "event": {
- "type": "form_answer",
- "form_answer_id": 80,
- "answered_at": "2026-08-19T17:14:00+09:00",
- "time_to_submit_seconds": 589,
- "sections": [
- {
- "id": "sc1785203697768",
- "name": "お客様情報"
}, - {
- "id": "sc1785204220227",
- "name": "アンケート"
}, - {
- "id": "sc1785204695133",
- "name": "書類"
}, - {
- "id": "sc1785204749049",
- "name": "日程・属性"
}, - {
- "id": "sc1785204812345",
- "name": "法人のお客様のみ"
}
], - "answers": [
- {
- "id": "bl001",
- "section_id": "sc1785203697768",
- "type": "single",
- "title": "氏名",
- "answered": true,
- "value": "山田太郎"
}, - {
- "id": "bl003",
- "section_id": "sc1785203697768",
- "type": "multi",
- "title": "ご要望(任意)",
- "answered": false,
- "value": null
}, - {
- "id": "bl004",
- "section_id": "sc1785204220227",
- "type": "radio",
- "title": "ご検討状況",
- "answered": true,
- "value": {
- "selected": "すぐに導入したい",
- "other": null
}
}, - {
- "id": "bl005",
- "section_id": "sc1785204220227",
- "type": "radio",
- "title": "きっかけ",
- "answered": true,
- "value": {
- "selected": "",
- "other": {
- "label": "その他",
- "text": "知人の紹介"
}
}
}, - {
- "id": "bl006",
- "section_id": "sc1785204220227",
- "type": "checkbox",
- "title": "興味のある分野",
- "answered": true,
- "value": {
- "selected": [
- "マーケティング",
- "開発"
], - "other": {
- "label": "その他",
- "text": "デザイン"
}
}
}, - {
- "id": "bl008",
- "section_id": "sc1785204695133",
- "type": "file",
- "title": "本人確認画像",
- "answered": true,
- "value": {
- "file_type": "image",
}
}, - {
- "id": "bl012",
- "section_id": "sc1785204749049",
- "type": "date",
- "title": "ご希望の面談日",
- "answered": true,
- "value": "2026-09-01"
}, - {
- "id": "bl014",
- "section_id": "sc1785204749049",
- "type": "prefecture",
- "title": "お住まいの都道府県",
- "answered": true,
- "value": "東京都"
}, - {
- "id": "bl016",
- "section_id": "sc1785204749049",
- "type": "email",
- "title": "メールアドレス",
- "answered": true,
- "value": {
- "email": "yamada@example.com",
- "opt_in": true
}
}
]
}
}
}