{
"autoReplyMsgName": "복권기금 안내",
"messagebaseId": "SCS00000",
"copyAllowed": true,
"body": {
"description": "이 복권은 복권 및 복권기금법 제4조에 의거 발행되며 조성된 자금은 동법 제23조에 따라 소외계층 지원사업등에 사용됩니다."
}
}
{
"autoReplyMsgName": "카드",
"messagebaseId": "SCwThM00",
"copyAllowed": true,
"body": {
"title": "카드제목",
"description": "카드내용",
"media": "BR.61hBmMP164-ARME1M6dN9c3l"
},
"buttons": [
{
"suggestions": [
{
"action": {
"displayText": "RCS비즈센터",
"urlAction": {
"openUrl": {
"url": "https://www-qa.rcsbizcenter.com"
}
}
}
}
]
}
],
"chipList": [
{
"action": {
"dialerAction": {
"dialPhoneNumber": {
"phoneNumber": "07082245288"
}
},
"displayText": "고객센터"
}
}
]
}
{
"autoReplyMsgName": "슬라이드",
"messagebaseId": "CCwMhM0200",
"copyAllowed": true,
"body": {
"title1": "슬라이드1",
"description1": "슬라이드1",
"media1": "BR.61hBmMP164-ARM6tE1T7nzwf",
"title2": "슬라이드2",
"description2": "슬라이드2",
"media2": "BR.61hBmMP164-ARMsYgo2O538B"
},
"buttons": [
{
"suggestions": [
{
"action": {
"dialerAction": {
"dialPhoneNumber": {
"phoneNumber": "119"
}
},
"displayText": "긴급연락119"
}
}
]
},
{
"suggestions": [
{
"action": {
"displayText": "유튜브연결",
"urlAction": {
"openUrl": {
"url": "https://utube.com"
}
}
}
}
]
}
]
}
array<object>
O
자동응답메시지 ID
code
string
5
O
20000000
status
integer
3
O
200
desc
string
O
result
array<object>
자동응답메시지 ID
{
"code": "20000000",
"desc": null,
"result": [
{
"autoReplyMsgId": "ARMKlU2bCGpsV37"
}
],
"status": 200
}
{
"error": {
"code": "64336",
"message": "required value: [autoReplyMsgName]"
},
"status": 400
}
{
"error": {
"code": "64002",
"message": "Invalid Brand Key"
},
"status": 400
}
{
"error": {
"code": "61003",
"message": "Invalid token"
},
"status": 401
}
{
"error": {
"code": "63001",
"message": "No Brand Permission"
},
"status": 403
}
error code는 RCS Biz Center - Response body error code 참조
브랜드에 자동응답메시지를 등록합니다.
자동응답메시지에 등록 가능한 액션이 추가 되었습니다.
제공되는 productcode = chat 해당 messagebaseId를 지정하여 사용하며 다음과 같이 처리 됩니다.
따라서 지정된 messagebaseId에만 존재하는 필드가 전환되는 messagebaseId에 존재하지 않는 경우 무시됩니다.
예를 들어, 텍스트 카드로 등록 시 title을 입력하더라도 기본 말풍선은 title을 지원하지 않으므로 title이 적용되지 않습니다.
maxLength: 13 - 브랜드 내 정보 접근시 사용되는 브랜드ID Path Parameter 입니다.
maxLength: 18 - RCS Biz Center에서 브랜드 등록 시 자동 생성되는 Key 입니다.
대행사가 해당 브랜드에 대한 권한 여부를 판단하는데 사용됩니다. 따라서, 대행사 계정으로 브랜드 내 정보를 조회/등록/수정 API 연동 시 Header에 설정되어야 합니다.
자동응답메시지 등록 정보입니다.
maxLength: 100 - 자동응답메시지 명을 지정합니다.
maxLength: 40 - 메시지 상품코드 chat에 속하는 messagebase ID를 지정합니다.
제공되는 productcode = chat 해당 messagebaseId를 지정하여 사용 가능하나 다음과 같이 처리됩니다.
지정된 ID에만 존재하는 필드가 전환되는 ID에 존재하지 않는 경우 무시됩니다.
예를 들어, 텍스트 카드로 등록시 title을 입력하더라도 기본 말풍선은 title을 지원하지 않으므로 title이 적용되지 않습니다.
단말에서 메시지 복사 가능 여부를 지정합니다.
true
이통 발송규격 중 /message API의 body object와 동일한 방식으로 값을 지정합니다.
POST /api/1.1/brand/{brandId}/autoreplymsg HTTP/1.1
Host: api-qa.rcsbizcenter.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 352
{
"autoReplyMsgName": "text",
"messagebaseId": "text",
"copyAllowed": true,
"body": {},
"buttons": [
{
"suggestions": [
{
"action": {
"displayText": "text",
"postback": {
"data": "text"
},
"urlAction": {
"openUrl": {
"url": "https://example.com"
}
}
}
}
]
}
],
"chipList": [
{
"action": {
"displayText": "text",
"postback": {
"data": "text"
},
"urlAction": {
"openUrl": {
"url": "https://example.com"
}
}
}
}
]
}