3. 자유형 발송 유형별 샘플

아래 예제는 메시지 유형별 파라미터만 포함된 예시입니다. 발송 방식(캠페인/단건)에 따라 필요한 파라미터를 추가하여 전송해야 합니다.


텍스트형

  • message 필수 (공백 포함 1,000자)

  • attach.button[], attach.coupon 선택

{
  "senderKey": "abc123def456abc123def456abc123def456abc1",
  "messageType": "FT",
  "message": "안녕하세요!\n봄맞이 특별 혜택을 확인해보세요.\n기간: 2025-04-01 ~ 2025-04-30",
  "attach": {
    "button": [
      {
        "name": "혜택 확인하기",
        "type": "WL",
        "url_mobile": "https://example.com/event",
        "url_pc": "https://example.com/event"
      },
      {
        "name": "앱으로 보기",
        "type": "AL",
        "scheme_android": "example://event",
        "scheme_ios": "example://event"
      }
    ]
  }
}

이미지형

  • message 필수 (최대 400자 제한)

  • attach.image.img_url 필수 (이미지 업로드 후 받은 이미지 URL)

  • attach.button[] 선택


와이드 이미지형

  • message 필수 (최대 76자, 줄바꿈 최대 1개)

  • attach.image.img_url 필수 (이미지 업로드 후 받은 이미지 URL)

  • attach.button[] 선택 (최대 2개)


와이드 아이템 리스트형

  • header 필수

  • attach.item.list[] 필수 (최소 3개, 최대 4개)

  • attach.button[] 선택 (최대 2개)

    • 버튼 개수와 상관없이 버튼명(name)은 최대 8자


프리미엄 동영상형

  • attach.video.video_url 필수

    • 동영상 링크는 카카오 TV에 업로드된 영상만 사용 가능

  • header, message 선택 (message는최대 76자, 줄바꿈 최대 1개)

  • attach.button[] 선택 (최대 1개)


커머스형

  • attach.commerce 필수

  • attach.image.img_url 필수

  • attach.button[] 필수 (최소 1개, 최대 2개)

  • additional_content 선택


캐러셀 피드형

  • carousel 필수

    • carousel.list[] 필수 (최소 2개, 최대 6개)

      • list[].header, list[].message 필수

      • list[].attachment.button[] 필수 (최소 1개, 최대 2개)

      • list[].attachment.image.img_url 필수

    • carousel.tail 선택 (더보기 버튼)


캐러셀 커머스형

  • carousel 필수

    • carousel.head 선택 (인트로 영역)

    • carousel.list[] 필수 (인트로 설정 시 최소 1개 최대 6개, 인트로 미설정 시 최소 2개 최대 6개)

      • list[].attachment.commerce 필수

      • list[].attachment.button[] 필수 (최소 1개, 최대 2개)

      • list[].additional_content 선택

    • carousel.tail 선택 (더보기 버튼)

Last updated