이미지형 브랜드 메시지 템플릿 등록
Changed on이미지형 브랜드 메시지 템플릿을 등록합니다. 대표 이미지와 메시지 본문, 버튼 구성을 함께 저장하여 시각적 홍보에 활용할 수 있습니다.
Request
- Base URLhttps://api.sendon.io
- URLhttps://api.sendon.io/v2/messages/kakao/send-profiles/{sendProfileId}/brand-message-templates/image
- AuthHTTP basic
Path parameters
템플릿을 등록할 카카오 채널(발신 프로필) ID입니다.
Request body
Example request
{
"templateName": "신상품 출시 안내",
"content": "#{고객명}님을 위한 특별한 신상품!\n지금 확인해보세요.",
"imageUrl": "https://mud-kage.kakao.com/dn/pZcoE/btsgaJEJipH/ym1vH70RVKMT0OwOkUkFT0/img_l.jpg",
"imageName": "신상품 이미지",
"imageLink": "https://m.example.com/product/new",
"buttons": [
{
"name": "자세히 보기",
"linkType": "WL",
"linkM": "https://m.example.com",
"linkP": "https://www.example.com",
"linkI": "myapp://page/123",
"linkA": "myapp://page/123"
}
],
"coupon": {
"title": "10% 할인 쿠폰",
"description": "첫 구매 시 10% 할인 혜택",
"linkM": "https://m.example.com/coupon/ABC123",
"linkP": "https://www.example.com/coupon/ABC123",
"linkI": "myapp://coupon/ABC123",
"linkA": "myapp://coupon/ABC123"
},
"fallback": {
"senderNumber": "01012345678",
"message": "#{고객명}님, 브랜드메시지가 발송되지 못하여 대체문자로 발송됩니다.",
"title": "대체문자 안내",
"images": [
"https://mud-kage.kakao.com/dn/bgUWpm/btsgfyhWuWn/L9SHkckn2VXHOayfGa9ok1/img_l.jpg"
],
"groupId": "004a6217-f06c-40f6-8f39-bf35b3f76111"
}
}Response
등록 처리 결과입니다. 오류가 발생해도 HTTP 200으로 응답하므로, 실패 여부는 본문의 code와 errorCode를 확인하세요.
Example response
{
"code": 200,
"message": "OK",
"data": {
"templateId": "tpl_bm_123456",
"templateCode": "BM_TEMPLATE_20240515001"
}
}Changes
- breaking
request body became required
- breaking
added to the
request propertyallOflist - breaking
added to the
request propertyallOflist - breaking
the
request property type changed fromobjectto no type - breaking
the
request property type changed fromobjectto no type - breaking
the
response's property type changed fromobjectto no type for status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the request property
/ - warning
removed the request property
/ - info
api operation id
createImageBrandMessageTemplateremoved and replaced withBrandMessageTemplateController_createImageBrandMessageTemplate - info
the endpoint scheme security
basicwas added to the API - info
added to the
response propertyallOflist for the response status - info
the response property
became required for the status - info
the response property
became required for the status - info
the
response's property default value200was removed for the status - info
the
response's property default value성공was removed for the status
- breaking