브랜드메시지
광고성 정보 수신동의 유저 및 채널 친구 대상 광고성 메시지입니다.kko_option의 sendType에 따라 기본형(basic, 템플릿 사용)과 자유형(free, 템플릿 없음)으로 구분됩니다.
입력 필드
| 컬럼 | 필수 | 설명 |
|---|---|---|
channel_order | ✅ | 'brandmessage' |
kko_sender_key | ✅ | 발신 프로필 키 |
kko_msg_type | ✅ | 메시지 타입 (아래 표 참고) |
kko_template_code | 템플릿 코드 (기본형에서 사용) | |
kko_content | 메시지 내용 (텍스트 타입) | |
kko_option | sendType, 이미지·버튼·광고 표시 등 옵션 (JSON) |
kko_msg_type 값
| 값 | 설명 |
|---|---|
FT | 텍스트형 |
FI | 이미지형 |
FW | 와이드 이미지형 |
FC | 캐러셀 피드형 |
FL | 와이드 리스트형 |
FP | 프리미엄 동영상형 |
FM | 커머스형 |
FA | 캐러셀 커머스형 |
kko_option 공통 키
| 키 | 설명 |
|---|---|
sendType | "basic" (기본형) 또는 "free" (자유형) |
targeting | "M" (텍스트 타겟) / "I" (이미지 타겟) |
adFlag | "Y" / "N" (광고성 메시지는 Y 필수) |
adult | "Y" / "N" |
attachment | 버튼·이미지·쿠폰 등 첨부 정보 |
예시 데이터
- 발신 프로필 키(Sender Key):
aaaaa22222bbbbb33333ccccc44444ddddd55555 - 템플릿 코드:
BRANDMESSAGE_TEMPLATECODE
기본형 (basic) — 전문 방식
FT (텍스트형)
SQL
-- FT(텍스트) - 변수 미사용
insert into msg_tran(channel_order, request_date, callback, recipient, kko_msg_type, kko_sender_key, kko_template_code, kko_option)
values('brandmessage', NOW(), '발신번호', '수신번호', 'FT', 'aaaaa22222bbbbb33333ccccc44444ddddd55555', 'BRANDMESSAGE_TEMPLATECODE', '{"targeting":"M","sendType":"basic","adult":"N","adFlag":"Y"}');
-- FT(텍스트) - 변수 사용
insert into msg_tran(channel_order, request_date, callback, recipient, kko_msg_type, kko_sender_key, kko_template_code, kko_content, kko_option)
values('brandmessage', NOW(), '발신번호', '수신번호', 'FT', 'aaaaa22222bbbbb33333ccccc44444ddddd55555', 'BRANDMESSAGE_TEMPLATECODE',
'텍스트 메시지는 최대 1,300자(줄바꿈: 최대 99개, URL 형식 입력 가능)',
'{"targeting":"M","sendType":"basic","adult":"N","adFlag":"Y",
"attachment": {
"button": [
{ "type": "AC" },
{ "type": "WL", "urlMobile": "https://www.daum.net" },
{
"type": "AL",
"urlMobile": "https://www.daum.net",
"schemeAndroid": "kakao://buttons-linkAnd",
"schemeIos": "kakao://buttons-linkIos"
}
]
}
}');
FI (이미지형)
SQL
insert into msg_tran(channel_order, request_date, callback, recipient, kko_msg_type, kko_sender_key, kko_template_code, kko_content, kko_option)
values('brandmessage', NOW(), '발신번호', '수신번호', 'FI', 'aaaaa22222bbbbb33333ccccc44444ddddd55555', 'BRANDMESSAGE_TEMPLATECODE',
'이미지 메시지는 최대 400자(줄바꿈: 최대 29개, URL 형식 입력 가능)',
'{"targeting":"I","sendType":"basic","adFlag":"Y","adult":"N",
"attachment": {
"button": [
{ "type": "AC" },
{ "type": "WL", "urlMobile": "https://www.daum.net" },
{
"type": "AL",
"urlMobile": "https://www.daum.net",
"schemeAndroid": "kakao://buttons-linkAnd",
"schemeIos": "kakao://buttons-linkIos"
}
],
"coupon": { "title": "500원 할인 쿠폰" }
}
}');
FW (와이드 이미지형)
SQL
insert into msg_tran(channel_order, request_date, callback, recipient, kko_msg_type, kko_sender_key, kko_template_code, kko_content, kko_option)
values('brandmessage', NOW(), '발신번호', '수신번호', 'FW', 'aaaaa22222bbbbb33333ccccc44444ddddd55555', 'BRANDMESSAGE_TEMPLATECODE',
'와이드 이미지 메시지는 최대 76자(줄바꿈: 최대 1개)',
'{"targeting":"I","sendType":"basic","adFlag":"Y","adult":"N",
"attachment": {
"button": [
{ "type": "AC" },
{ "type": "WL", "urlMobile": "https://www.daum.net" },
{
"type": "AL",
"urlMobile": "https://www.daum.net",
"schemeAndroid": "kakao://buttons-linkAnd",
"schemeIos": "kakao://buttons-linkIos"
}
],
"coupon": { "title": "500원 할인 쿠폰", "description": "쿠폰설명 최대 18자" }
}
}');
FL (와이드 리스트형)
SQL
insert into msg_tran(channel_order, request_date, callback, recipient, kko_msg_type, kko_sender_key, kko_template_code, kko_option)
values('brandmessage', NOW(), '발신번호', '수신번호', 'FL', 'aaaaa22222bbbbb33333ccccc44444ddddd55555', 'BRANDMESSAGE_TEMPLATECODE',
'{"targeting":"I","sendType":"basic","adFlag":"Y","adult":"N",
"header": "최대 20자(줄바꿈: 불가)",
"attachment": {
"button": [
{
"type": "AL",
"urlMobile": "https://www.daum.net",
"schemeAndroid": "kakao://buttons-linkAnd",
"schemeIos": "kakao://buttons-linkIos"
},
{ "type": "AC" }
],
"item": {
"list": [
{ "title": "최대 25자(줄바꿈: 최대 1개)", "imgUrl": "{imgUrl1}", "urlMobile": "https://www.daum.net" },
{ "title": "최대 30자(줄바꿈: 최대 1개)", "imgUrl": "{imgUrl2}" },
{ "title": "최대 30자(줄바꿈: 최대 1개)", "imgUrl": "{imgUrl3}", "urlMobile": "https://www.daum.net" },
{ "title": "최대 30자(줄바꿈: 최대 1개)", "imgUrl": "{imgUrl4}", "urlMobile": "https://www.daum.net" }
]
},
"coupon": { "title": "500원 할인 쿠폰", "urlMobile": "https://www.daum.net" }
}
}');
FC (캐러셀 피드형)
SQL
insert into msg_tran(channel_order, request_date, callback, recipient, kko_msg_type, kko_sender_key, kko_template_code, kko_option)
values('brandmessage', NOW(), '발신번호', '수신번호', 'FC', 'aaaaa22222bbbbb33333ccccc44444ddddd55555', 'BRANDMESSAGE_TEMPLATECODE',
'{"targeting":"I","sendType":"basic","adFlag":"Y","adult":"N",
"carousel": {
"list": [
{
"header": "최대 20자(줄바꿈: 불가)",
"message": "최대 180자(줄바꿈: 최대 2개)",
"attachment": {
"coupon": { "title": "이모티콘 무료 쿠폰", "description": "최대 12자", "url_mobile": "https://www.daum.net" },
"image": { "imgUrl": "{imgUrl1}", "imgLink": "https://business.kakao.com/" }
}
},
{
"header": "최대 20자(줄바꿈: 불가)",
"message": "최대 180자(줄바꿈: 최대 2개)",
"attachment": { "image": { "imgUrl": "{imgUrl2}" } }
}
]
}
}');
FP (프리미엄 동영상형)
SQL
insert into msg_tran(channel_order, request_date, callback, recipient, kko_msg_type, kko_sender_key, kko_template_code, kko_content, kko_option)
values('brandmessage', NOW(), '발신번호', '수신번호', 'FP', 'aaaaa22222bbbbb33333ccccc44444ddddd55555', 'BRANDMESSAGE_TEMPLATECODE',
'프리미엄 동영상 메시지는 최대 76자 (줄바꿈: 최대 1개)',
'{"targeting":"I","sendType":"basic","adFlag":"Y","adult":"N",
"attachment": {
"video": { "videoUrl": "{videoUrl}", "thumbnailUrl": "{thumbnailUrl}" }
}
}');
FM (커머스형)
SQL
insert into msg_tran(channel_order, request_date, callback, recipient, kko_msg_type, kko_sender_key, kko_template_code, kko_option)
values('brandmessage', NOW(), '발신번호', '수신번호', 'FM', 'aaaaa22222bbbbb33333ccccc44444ddddd55555', 'BRANDMESSAGE_TEMPLATECODE',
'{"targeting":"I","sendType":"basic","adFlag":"Y","adult":"N",
"additional_content": "최대 34자(줄바꿈: 최대 1개)",
"attachment": {
"button": [
{ "type": "AL", "schemeAndroid": "kakao://buttons-linkAnd", "schemeIos": "kakao://buttons-linkIos" },
{ "type": "AC" }
],
"coupon": { "title": "1000원 할인 쿠폰", "description": "최대 12자", "urlMobile": "https://www.daum.net" },
"commerce": {
"title": "commerce-title",
"regularPrice": 3000,
"discountPrice": 1000,
"discountRate": 60,
"discountFixed": 2000
}
}
}');
FA (캐러셀 커머스형)
SQL
insert into msg_tran(channel_order, request_date, callback, recipient, kko_msg_type, kko_sender_key, kko_template_code, kko_option)
values('brandmessage', NOW(), '발신번호', '수신번호', 'FA', 'aaaaa22222bbbbb33333ccccc44444ddddd55555', 'BRANDMESSAGE_TEMPLATECODE',
'{"targeting":"I","sendType":"basic","adFlag":"Y","adult":"N",
"carousel": {
"head": { "header": "최대 20자 (줄바꿈: 불가)", "content": "최대 50자 (줄바꿈: 최대 2개)" },
"list": [
{
"attachment": {
"commerce": { "regularPrice": 3000, "discountPrice": 1000, "discountRate": 60, "discountFixed": 2000 },
"button": [{ "type": "WL", "urlMobile": "https://www.daum.net" }],
"image": { "imgUrl": "{imgUrl1}" }
}
},
{
"attachment": { "image": { "imgUrl": "{imgUrl2}", "imgLink": "https://business.kakao.com/info/bizmessage/" } }
},
{
"attachment": {
"button": [{ "type": "AL", "urlMobile": "https://www.daum.net", "schemeAndroid": "kakao://buttons-linkAnd", "schemeIos": "kakao://buttons-linkIos" }],
"image": { "imgUrl": "{imgUrl3}" }
}
}
]
}
}');
기본형 (basic) — 변수 분리 방식
FT (텍스트형)
SQL
insert into msg_tran(channel_order, request_date, callback, recipient, kko_msg_type, kko_sender_key, kko_template_code, kko_option)
values('brandmessage', NOW(), '발신번호', '수신번호', 'FT', 'aaaaa22222bbbbb33333ccccc44444ddddd55555', 'BRANDMESSAGE_TEMPLATECODE',
'{"targeting":"M","sendType":"basic","adult":"N","adFlag":"Y",
"messageVariable": { "내용": "텍스트 메시지는 최대 1,300자(줄바꿈: 최대 99개, URL 형식 입력 가능)" },
"buttonVariable": {
"mobile링크": "https://www.daum.net",
"android링크": "kakao://buttons-linkAnd",
"ios링크": "kakao://buttons-linkIos"
}
}');
FI (이미지형)
SQL
insert into msg_tran(channel_order, request_date, callback, recipient, kko_msg_type, kko_sender_key, kko_template_code, kko_option)
values('brandmessage', NOW(), '발신번호', '수신번호', 'FI', 'aaaaa22222bbbbb33333ccccc44444ddddd55555', 'BRANDMESSAGE_TEMPLATECODE',
'{"targeting":"M","sendType":"basic","adult":"N","adFlag":"Y",
"messageVariable": { "내용": "이미지 메시지는 최대 400자(줄바꿈: 최대 29개, URL 형식 입력 가능)" },
"buttonVariable": { "mobile링크": "https://www.daum.net", "android링크": "kakao://buttons-linkAnd", "ios링크": "kakao://buttons-linkIos" },
"couponVariable": { "할인금액": "500" },
"imageVariable": [{ "imgUrl": "{img_url}", "imgLink": "https://business.kakao.com/" }]
}');
FW (와이드 이미지형)
SQL
insert into msg_tran(channel_order, request_date, callback, recipient, kko_msg_type, kko_sender_key, kko_template_code, kko_option)
values('brandmessage', NOW(), '발신번호', '수신번호', 'FW', 'aaaaa22222bbbbb33333ccccc44444ddddd55555', 'BRANDMESSAGE_TEMPLATECODE',
'{"targeting":"M","sendType":"basic","adult":"N","adFlag":"Y",
"messageVariable": { "내용": "와이드 이미지 메시지는 최대 76자(줄바꿈: 최대 1개)" },
"buttonVariable": { "mobile링크": "https://www.daum.net", "android링크": "kakao://buttons-linkAnd", "ios링크": "kakao://buttons-linkIos" },
"couponVariable": { "할인금액": "500", "쿠폰설명": "쿠폰설명 최대 18자" },
"imageVariable": [{ "imgUrl": "{imgUrl}", "imgLink": "https://business.kakao.com/" }]
}');
FL (와이드 리스트형)
SQL
insert into msg_tran(channel_order, request_date, callback, recipient, kko_msg_type, kko_sender_key, kko_template_code, kko_option)
values('brandmessage', NOW(), '발신번호', '수신번호', 'FL', 'aaaaa22222bbbbb33333ccccc44444ddddd55555', 'BRANDMESSAGE_TEMPLATECODE',
'{"targeting":"M","sendType":"basic","adult":"N","adFlag":"Y",
"messageVariable": {
"헤더": "최대 20자(줄바꿈: 불가)",
"메인타이틀": "최대 25자(줄바꿈: 최대 1개)",
"서브타이틀": "최대 30자(줄바꿈: 최대 1개)",
"메인mobile링크": "https://www.daum.net",
"메인android링크": "kakao://buttons-linkAnd",
"메인ios링크": "kakao://buttons-linkIos",
"서브mobile링크": "https://www.daum.net",
"서브ios링크": "kakao://buttons-linkIos"
},
"buttonVariable": { "mobile링크": "https://www.daum.net", "android링크": "kakao://buttons-linkAnd", "ios링크": "kakao://buttons-linkIos" },
"couponVariable": { "할인금액": "500", "쿠폰링크": "https://www.daum.net" },
"imageVariable": [{ "imgUrl": "{imgUrl1}" }, { "imgUrl": "{imgUrl2}" }, { "imgUrl": "{imgUrl3}" }, { "imgUrl": "{imgUrl4}" }]
}');
FC (캐러셀 피드형)
SQL
insert into msg_tran(channel_order, request_date, callback, recipient, kko_msg_type, kko_sender_key, kko_template_code, kko_option)
values('brandmessage', NOW(), '발신번호', '수신번호', 'FC', 'aaaaa22222bbbbb33333ccccc44444ddddd55555', 'BRANDMESSAGE_TEMPLATECODE',
'{"targeting":"M","sendType":"basic","adult":"N","adFlag":"Y",
"carouselVariable": [
{
"messageVariable": { "리스트헤더": "최대 20자(줄바꿈: 불가)", "리스트내용": "최대 180자(줄바꿈: 최대 2개)" },
"imageVariable": { "imgUrl": "{imgUrl1}", "imgLink": "https://business.kakao.com/" },
"couponVariable": { "상품명": "이모티콘", "쿠폰설명": "최대 12자", "쿠폰링크": "https://www.daum.net" }
},
{
"messageVariable": { "리스트헤더": "최대 20자(줄바꿈: 불가)", "리스트내용": "최대 180자(줄바꿈: 최대 2개)" },
"imageVariable": { "imgUrl": "{imgUrl2}" }
}
]
}');
FP (프리미엄 동영상형)
SQL
insert into msg_tran(channel_order, request_date, callback, recipient, kko_msg_type, kko_sender_key, kko_template_code, kko_option)
values('brandmessage', NOW(), '발신번호', '수신번호', 'FP', 'aaaaa22222bbbbb33333ccccc44444ddddd55555', 'BRANDMESSAGE_TEMPLATECODE',
'{"targeting":"M","sendType":"basic","adult":"N","adFlag":"Y",
"messageVariable": { "헤더": "최대 20자(줄바꿈: 불가)", "내용": "프리미엄 동영상 메시지는 최대 76자 (줄바꿈: 최대 1개)" },
"videoVariable": { "videoUrl": "{videoUrl}", "thumbnailUrl": "{thumbnailUrl}" }
}');
FM (커머스형)
SQL
insert into msg_tran(channel_order, request_date, callback, recipient, kko_msg_type, kko_sender_key, kko_template_code, kko_option)
values('brandmessage', NOW(), '발신번호', '수신번호', 'FM', 'aaaaa22222bbbbb33333ccccc44444ddddd55555', 'BRANDMESSAGE_TEMPLATECODE',
'{"targeting":"M","sendType":"basic","adult":"N","adFlag":"Y",
"messageVariable": { "부가정보": "최대 34자(줄바꿈: 최대 1개)" },
"buttonVariable": { "android링크": "kakao://buttons-linkAnd", "ios링크": "kakao://buttons-linkIos" },
"couponVariable": { "할인금액": "1000", "쿠폰설명": "최대 12자", "쿠폰링크": "https://www.daum.net" },
"commerceVariable": { "타이틀": "commerce-title", "정상가격": "3000", "할인가격": "1000", "할인율": "60", "정액할인가격": "2000" },
"imageVariable": [{ "imgUrl": "{imgUrl}", "imgLink": "https://www.daum.net" }]
}');
FA (캐러셀 커머스형)
SQL
insert into msg_tran(channel_order, request_date, callback, recipient, kko_msg_type, kko_sender_key, kko_template_code, kko_option)
values('brandmessage', NOW(), '발신번호', '수신번호', 'FA', 'aaaaa22222bbbbb33333ccccc44444ddddd55555', 'BRANDMESSAGE_TEMPLATECODE',
'{"targeting":"M","sendType":"basic","adult":"N","adFlag":"Y",
"carouselVariable": [
{
"messageVariable": { "인트로헤더": "최대 20자 (줄바꿈: 불가)", "인트로내용": "최대 50자 (줄바꿈: 최대 2개)" }
},
{
"buttonVariable": { "mobile링크": "https://www.daum.net" },
"imageVariable": { "imgUrl": "{imgUrl1}" },
"commerceVariable": { "정상가격": "3000", "할인가격": "1000", "할인율": "60", "정액할인가격": "2000" }
},
{ "imageVariable": { "imgUrl": "{imgUrl2}", "imgLink": "https://business.kakao.com/info/bizmessage/" } },
{
"buttonVariable": { "mobile링크": "https://www.daum.net", "android링크": "kakao://buttons-linkAnd", "ios링크": "kakao://buttons-linkIos" },
"imageVariable": { "imgUrl": "{imgUrl3}" }
}
]
}');
자유형 (free)
FT (텍스트형)
SQL
insert into msg_tran(channel_order, request_date, callback, recipient, kko_msg_type, kko_sender_key, kko_content, kko_option)
values('brandmessage', NOW(), '발신번호', '수신번호', 'FT', 'aaaaa22222bbbbb33333ccccc44444ddddd55555',
'브랜드 메시지 텍스트 : 자유형 - 한 건 발송',
'{"sendType":"free",
"attachment": {
"button": [{ "name": "버튼1", "type": "WL", "url_pc": "http://bizmessage.kakao.com/", "url_mobile": "http://bizmessage.kakao.com/" }],
"coupon": { "title": "1000원 할인 쿠폰", "description": "소박한 할인쿠폰", "urlMobile": "https://daum.net", "urlPc": "https://kakao.com" }
}
}');
FI (이미지형)
SQL
insert into msg_tran(channel_order, request_date, callback, recipient, kko_msg_type, kko_sender_key, kko_content, kko_option)
values('brandmessage', NOW(), '발신번호', '수신번호', 'FI', 'aaaaa22222bbbbb33333ccccc44444ddddd55555',
'브랜드 메시지 이미지 : 자유형 - 한 건 발송',
'{"sendType":"free",
"attachment": {
"image": { "imgUrl": "{imgUrl}" },
"button": [{ "name": "버튼1", "type": "WL", "urlPc": "http://bizmessage.kakao.com/", "urlMobile": "http://bizmessage.kakao.com/" }],
"coupon": { "title": "1000원 할인 쿠폰", "description": "소박한 할인쿠폰", "urlMobile": "https://daum.net", "urlPc": "https://kakao.com" }
}
}');
FW (와이드 이미지형)
SQL
insert into msg_tran(channel_order, request_date, callback, recipient, kko_msg_type, kko_sender_key, kko_content, kko_option)
values('brandmessage', NOW(), '발신번호', '수신번호', 'FW', 'aaaaa22222bbbbb33333ccccc44444ddddd55555',
'브랜드 메시지 와이드 이미지 : 자유형 - 한 건 발송',
'{"sendType":"free",
"attachment": {
"image": { "imgUrl": "{imgUrl}", "imgLink": "http://bizmessage.kakao.com/" },
"button": [{ "name": "버튼1", "type": "WL", "urlPc": "http://bizmessage.kakao.com/", "urlMobile": "http://bizmessage.kakao.com/" }],
"coupon": { "title": "1000원 할인 쿠폰", "description": "소박한 할인쿠폰", "urlMobile": "https://daum.net", "urlPc": "https://kakao.com" }
}
}');
FL (와이드 리스트형)
SQL
insert into msg_tran(channel_order, request_date, callback, recipient, kko_msg_type, kko_sender_key, kko_option)
values('brandmessage', NOW(), '발신번호', '수신번호', 'FL', 'aaaaa22222bbbbb33333ccccc44444ddddd55555',
'{"sendType":"free",
"header": "와이드 리스트 header",
"attachment": {
"button": [
{ "name": "버튼1", "type": "WL", "urlPc": "http://bizmessage.kakao.com/", "urlMobile": "http://bizmessage.kakao.com/" },
{ "name": "버튼2", "type": "WL", "urlPc": "http://bizmessage.kakao.com/", "urlMobile": "http://bizmessage.kakao.com/" }
],
"item": {
"list": [
{ "title": "1번 아이템", "imgUrl": "{imgUrl}", "urlMobile": "http://bizmessage.kakao.com/" },
{ "title": "2번 아이템", "imgUrl": "{imgUrl}", "urlMobile": "http://bizmessage.kakao.com/" },
{ "title": "3번 아이템", "imgUrl": "{imgUrl}", "urlMobile": "http://bizmessage.kakao.com/" },
{ "title": "4번 아이템", "imgUrl": "{imgUrl}", "urlMobile": "http://bizmessage.kakao.com/" }
]
},
"coupon": { "title": "10000원 할인 쿠폰", "description": "신년맞이 할인쿠폰", "urlMobile": "https://daum.net", "urlPc": "https://daum.net" }
}
}');
FC (캐러셀 피드형)
SQL
insert into msg_tran(channel_order, request_date, callback, recipient, kko_msg_type, kko_sender_key, kko_option)
values('brandmessage', NOW(), '발신번호', '수신번호', 'FC', 'aaaaa22222bbbbb33333ccccc44444ddddd55555',
'{"sendType":"free",
"carousel": {
"list": [
{
"header": "1번 캐러셀 피드 헤더",
"message": "1번 캐러셀 피드 메시지",
"attachment": {
"image": { "imgUrl": "{imgUrl}", "imgLink": "http://bizmessage.kakao.com/" },
"button": [
{ "name": "버튼1", "type": "WL", "urlPc": "https://m.daum.net", "urlMobile": "https://m.daum.net" },
{ "name": "버튼2", "type": "WL", "urlPc": "https://m.daum.net", "urlMobile": "https://m.daum.net" }
],
"coupon": { "title": "10000원 할인 쿠폰", "description": "신년맞이 할인쿠폰", "urlMobile": "https://daum.net", "urlPc": "https://daum.net" }
}
},
{
"header": "2번 캐러셀 피드 헤더",
"message": "2번 캐러셀 피드 메시지",
"attachment": {
"image": { "imgUrl": "{imgUrl}", "imgLink": "http://bizmessage.kakao.com/" },
"button": [
{ "name": "버튼1", "type": "WL", "urlPc": "https://m.daum.net", "urlMobile": "https://m.daum.net" },
{ "name": "버튼2", "type": "WL", "urlPc": "https://m.daum.net", "urlMobile": "https://m.daum.net" }
],
"coupon": { "title": "777원 할인 쿠폰", "description": "신년맞이 할인쿠폰", "urlMobile": "https://daum.net", "urlPc": "https://daum.net" }
}
}
],
"tail": { "urlPc": "https://m.daum.net", "urlMobile": "https://m.daum.net" }
}
}');
FP (프리미엄 동영상형)
SQL
insert into msg_tran(channel_order, request_date, callback, recipient, kko_msg_type, kko_sender_key, kko_content, kko_option)
values('brandmessage', NOW(), '발신번호', '수신번호', 'FP', 'aaaaa22222bbbbb33333ccccc44444ddddd55555',
'브랜드 메시지 프리미엄 동영상 : 자유형 - 한 건 발송',
'{"sendType":"free",
"header": "프리미엄 동영상 헤더",
"attachment": {
"video": { "videoUrl": "{videoUrl}", "thumbnailUrl": "{thumbnailUrl}" },
"button": [{ "type": "MD", "name": "메시지 본문 발송" }]
}
}');
FM (커머스형)
SQL
insert into msg_tran(channel_order, request_date, callback, recipient, kko_msg_type, kko_sender_key, kko_option)
values('brandmessage', NOW(), '발신번호', '수신번호', 'FM', 'aaaaa22222bbbbb33333ccccc44444ddddd55555',
'{"sendType":"free",
"attachment": {
"image": { "imgUrl": "{imgUrl}" },
"button": [{ "type": "WL", "name": "상품 링크", "urlMobile": "https://m.daum.net" }],
"commerce": {
"title": "브랜드 메시지 커머스 타이틀",
"regularPrice": 10000,
"discountPrice": 9000,
"discountRate": 10
}
},
"additionalContent": "브랜드 메시지 부가정보"
}');
FA (캐러셀 커머스형)
SQL
insert into msg_tran(channel_order, request_date, callback, recipient, kko_msg_type, kko_sender_key, kko_option)
values('brandmessage', NOW(), '발신번호', '수신번호', 'FA', 'aaaaa22222bbbbb33333ccccc44444ddddd55555',
'{"sendType":"free",
"carousel": {
"head": { "header": "인트로 피드 헤더", "content": "인트로 피드 컨텐츠", "imageUrl": "{imageUrl}" },
"list": [
{
"attachment": {
"image": { "imgUrl": "{imgUrl}" },
"button": [
{ "name": "버튼1", "type": "WL", "urlMobile": "https://daum.net" },
{ "name": "버튼2", "type": "AL", "urlMobile": "https://daum.net", "schemeAndroid": "https://daum.net" }
],
"coupon": { "title": "99999원 할인 쿠폰", "description": "쿠폰 설명", "urlMobile": "https://daum.net" },
"commerce": { "title": "1번 캐러셀 커머스 피드 타이틀", "regularPrice": 10000, "discountPrice": 9000, "discountRate": 10 }
},
"additionalContent": "1번 캐러셀 커머스 피드 부가정보"
},
{
"attachment": {
"image": { "imgUrl": "{imgUrl}" },
"button": [
{ "name": "버튼1", "type": "WL", "urlMobile": "https://daum.net" },
{ "name": "버튼2", "type": "AL", "urlMobile": "https://daum.net", "schemeAndroid": "https://daum.net" }
],
"coupon": { "title": "99999원 할인 쿠폰", "description": "쿠폰 설명", "urlMobile": "https://daum.net" },
"commerce": { "title": "2번 캐러셀 커머스 피드 타이틀", "regularPrice": 20000000 }
},
"additionalContent": "2번 캐러셀 커머스 피드 부가정보"
}
],
"tail": { "urlPc": "https://daum.net", "urlMobile": "https://daum.net" }
}
}');