메인 콘텐츠로 건너뛰기
POST
/
projects
/
{projectId}
/
messages
/
kakao-alimtalk
/
templates
create-kakao-alimtalk-template
curl --request POST \
  --url https://api.notifly.tech/projects/{projectId}/messages/kakao-alimtalk/templates \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "channelId": "<string>",
  "templateCode": "<string>",
  "templateName": "<string>",
  "templateContent": "<string>",
  "templateMessageType": "BA",
  "templateEmphasizeType": "NONE",
  "templateExtra": "<string>",
  "templateTitle": "<string>",
  "templateSubtitle": "<string>",
  "templateHeader": "<string>",
  "templateItem": {
    "list": [
      {
        "title": "<string>",
        "description": "<string>"
      }
    ],
    "summary": {
      "title": "<string>",
      "description": "<string>"
    }
  },
  "templateItemHighlight": {
    "title": "<string>",
    "description": "<string>",
    "imageUrl": "<string>"
  },
  "templateRepresentLink": {
    "linkMo": "<string>",
    "linkPc": "<string>",
    "schemeIos": "<string>",
    "schemeAndroid": "<string>"
  },
  "templateImageName": "<string>",
  "templateImageUrl": "<string>",
  "securityFlag": true,
  "categoryCode": "<string>",
  "buttons": [
    {
      "ordering": 123,
      "type": "WL",
      "name": "<string>",
      "linkMo": "<string>",
      "linkPc": "<string>",
      "schemeIos": "<string>",
      "schemeAndroid": "<string>",
      "bizFormId": 123,
      "pluginId": "<string>"
    }
  ],
  "quickReplies": [
    {
      "ordering": 123,
      "type": "WL",
      "name": "<string>",
      "linkMo": "<string>",
      "linkPc": "<string>",
      "schemeIos": "<string>",
      "schemeAndroid": "<string>",
      "bizFormId": 123
    }
  ]
}'
{
  "resultCode": 0,
  "resultMessage": "Success"
}
주의 사항
  • 템플릿 메시지 유형EX 또는 MI일 경우, templateExtra 필드를 반드시 포함해야 합니다.
  • 템플릿 강조 표시 타입TEXT일 경우, templateTitletemplateSubtitle 필드를 필수로 포함해야 합니다.
  • 템플릿 강조 표시 타입IMAGE일 경우, templateImageNametemplateImageUrl 필드를 필수로 포함해야 합니다.
  • 템플릿 아이템 리스트는 최소 2개에서 최대 10개까지 포함할 수 있습니다.
  • 버튼 타입에 따라 필수 필드가 다릅니다.

Authorizations

Authorization
string
header
required

POST /authenticate로 발급받은 인증 토큰

Path Parameters

projectId
string
required

프로젝트 ID

Body

application/json
templateCode
string
required

템플릿 코드 (최대 20자, Unique)

templateName
string
required

템플릿명 (최대 150자)

templateContent
string
required

템플릿 본문 (최대 1000자)

channelId
string

알림톡 채널 ID

templateMessageType
enum<string>

템플릿 메시지 유형 (BA-기본형, EX-부가정보형, AD-채널추가형, MI-복합형)

사용 가능한 옵션:
BA,
EX,
AD,
MI
templateEmphasizeType
enum<string>

템플릿 강조 표시 타입

사용 가능한 옵션:
NONE,
TEXT,
IMAGE,
ITEM_LIST
templateExtra
string

템플릿 부가 정보 (EX 또는 MI일 경우 필수)

templateTitle
string

템플릿 제목 (최대 50자)

templateSubtitle
string

템플릿 보조 문구 (최대 50자)

templateHeader
string

템플릿 헤더 (최대 16자)

templateItem
object

아이템 정보

templateItemHighlight
object

아이템 하이라이트

대표 링크

templateImageName
string

이미지명

templateImageUrl
string

이미지 URL

securityFlag
boolean

보안 템플릿 여부

categoryCode
string

템플릿 카테고리 코드 (기본값 999999)

buttons
object[]

버튼 리스트 (최대 5개)

quickReplies
object[]

바로연결 리스트 (최대 5개)

Response

성공적인 템플릿 등록입니다

resultCode
integer

결과 코드

resultMessage
string

결과 메시지