브랜드 메시지 발송
Changed on사전에 등록된 브랜드 메시지 템플릿을 이용해 고객에게 광고성 메시지를 발송합니다. 오류가 발생해도 HTTP 200으로 응답하므로, 본문의 code와 errorCode로 성공 여부를 확인해야 합니다.
Request
- Base URLhttps://api.sendon.io
- URLhttps://api.sendon.io/v2/messages/kakao/brand-message
- AuthHTTP basic
Request body
Example request
{
"sendProfileId": "@test1234",
"templateCode": "BM_TEMPLATE_001",
"to": [
"01011112222",
{
"phone": "01011113333",
"variables": {
"#{고객명}": "김철수",
"#{주문번호}": "20240115001"
}
}
],
"useCredit": true,
"reservation": {
"dateTime": "2024-01-15T14:30:00Z",
"datetime": "2026-03-07T09:00:00+09:00"
},
"fallback": {
"fallbackType": "CUSTOM",
"custom": {
"senderNumber": "01011112222",
"isAd": true,
"message": "안녕하세요. 고객님의 주문이 접수되었습니다.",
"title": "주문 확인",
"images": [
"https://example.com/image1.jpg",
"https://example.com/image2.jpg"
]
}
},
"targeting": "I",
"blockCall": {
"numberOf080": "080-1234-5678",
"pinNumber": "1234"
}
}Response
브랜드 메시지 발송 요청 처리 결과입니다. 성공 시 그룹 ID가 포함되며, 실패 시 code와 errorCode에 상세 사유가 제공됩니다.
Example response
{
"code": 200,
"message": "OK",
"data": {
"groupId": "004a6217-f06c-40f6-8f39-bf35b3f76111"
}
}Changes
- breaking
request body became required
- breaking
added to the
request propertyallOflist - 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 - warning
removed the request property
/ - info
api operation id
sendBrandMessageremoved and replaced withMessageController_sendBrandMessage - info
the endpoint scheme security
basicwas added to the API - info
added the new optional request property
- info
added to the
response propertyallOflist for the response status - info
the response property
became required for the status - info
the
response's property default value성공was removed for the status - info
removed the
200.00enum value from theresponse property for the response status
- breaking