텍스트형 브랜드 메시지 템플릿 등록
Changed on텍스트형 브랜드 메시지 템플릿을 등록합니다. 메시지 본문과 버튼 구성을 함께 받아 저장하며, 생성 직후 바로 발송 요청에 사용할 수 있습니다.
Request
- Base URLhttps://api.sendon.io
- URLhttps://api.sendon.io/v2/messages/kakao/send-profiles/{sendProfileId}/brand-message-templates/text
- AuthHTTP basic
Path parameters
템플릿을 등록할 카카오 채널(발신 프로필) ID입니다.
Request body
Example request
{
"templateName": "회원가입 환영 메시지",
"content": "안녕하세요 #{고객명}님!\n\n회원가입을 진심으로 환영합니다.\n첫 구매 시 사용 가능한 10% 할인 쿠폰을 확인해보세요!",
"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
createTextBrandMessageTemplateremoved and replaced withBrandMessageTemplateController_createTextBrandMessageTemplate - 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