웹훅으로 카카오 알림톡 보내기 (NHN클라우드)
마지막 업데이트
curl https://api-alimtalk.cloud.toast.com/alimtalk/v2.3/appkeys/{appkey}/messages?webhook_key=10 \
-X POST \
-H "Content-Type": "application/json" \
-H "X-Secret-Key": "X-Secret-Key" \
-H "Authorization": "{{user_properties["authorization_type"] }}{{user_properties["access_token"] }}" \
-d '{
"senderKey": "String",
"templateCode": "String",
"requestDate": "String",
"senderGroupingKey": "String",
"createUser": "String",
"recipientList": [{
"recipientNo": "{{user_properties["phoneNumber"] | default: ""}}",
"templateParameter": {
"String": "String"
},
"resendParameter": {
"isResend": "boolean",
"resendType": "String",
"resendTitle": "String",
"resendContent": "String",
"resendSendNo": "String"
},
"buttons": [
{
"ordering": "Integer",
"chatExtra": "String",
"chatEvent": "String",
"relayId": "String",
"oneClickId": "String",
"productId": "String",
"target": "String"
}
],
"quickReplies": [
{
"ordering": "Integer",
"chatExtra": "String",
"chatEvent": "String",
"target": "String"
}
],
"recipientGroupingKey": "String"
}],
"messageOption": {
"price": "Integer",
"currencyType": "String"
},
"statsId": "String"
}'