> ## Documentation Index
> Fetch the complete documentation index at: https://docs.notifly.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# カカオフレンドトークを配信する（2026年5月31日にサポート終了）

> カカオフレンドトーク配信用の旧エンドポイントです。送信先リスト、広告の有無、メッセージタイプを指定します。

> [!WARNING]
>
> このリファレンスは、旧カカオフレンドトーク用エンドポイントの仕様を説明します。Notiflyの互換サポートは2026年5月31日に終了しました。
>
> * このエンドポイントを利用するには、Notiflyの自社カカオトーク配信の設定が必要でした。
> * API経由の配信統計については[contact@notifly.tech](mailto:contact@notifly.tech)にお問い合わせください。この統計はコンソールには表示されませんでした。

> [!WARNING]
>
> 広告フレンドトークから広告SMSに切り替えて配信するには、登録済みの080受信拒否番号が必要でした。
>
> * `resendContent`を指定した場合は、広告SMS APIで定められた必須の広告表記を含める必要がありました。
> * `resendContent`を省略した場合は、登録済みの080受信拒否番号を使ってNotiflyが広告表記を生成しました。


## OpenAPI

````yaml /ja/api-reference/openapi.yaml post /messages/kakao-friendtalk
openapi: 3.0.3
info:
  title: Notifly API
  version: 1.0.0
  contact:
    email: contact@notifly.tech
servers:
  - url: https://api.notifly.tech
    description: Notifly APIサーバー
security: []
tags:
  - name: catalog
    x-group: カタログ
paths:
  /messages/kakao-friendtalk:
    post:
      summary: send-kakao-friendtalk
      operationId: sendKakaoFriendtalk
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - projectId
                - messageType
                - recipientList
              properties:
                projectId:
                  type: string
                  description: Notiflyの設定画面で確認できます。
                channelId:
                  type: string
                  description: カカオトークチャンネルを複数登録している場合に、配信元として使うチャンネルのIDです。
                messageType:
                  type: string
                  enum:
                    - text
                  description: メッセージタイプです。`text`に対応しています。
                isAd:
                  type: boolean
                  description: 広告メッセージかどうかを指定します。デフォルトは`true`です。
                recipientList:
                  type: array
                  items:
                    type: object
                    required:
                      - recipientNo
                      - content
                    properties:
                      recipientNo:
                        type: string
                        description: 送信先の電話番号です。
                      content:
                        type: object
                        required:
                          - text
                        properties:
                          text:
                            type: string
                            description: メッセージの本文です。
                      resendParameter:
                        type: object
                        description: 代替配信の設定です。
                        properties:
                          isResend:
                            type: boolean
                            description: >-
                              配信に失敗した場合に代替のテキストメッセージを送るかどうかを指定します。デフォルトは`false`です。
                          resendType:
                            type: string
                            enum:
                              - SMS
                              - LMS
                            description: 代替メッセージの種類です。テンプレート本文の長さに応じてSMSかLMSを使います。
                          resendTitle:
                            type: string
                            description: 代替LMSの件名です。デフォルトはカカオのプラスフレンドIDです。
                          resendContent:
                            type: string
                            description: >-
                              代替メッセージの本文です。デフォルトには元の本文と、Webリンクのボタン名およびモバイル用Webリンクが含まれます。
                  description: 送信先のリストです。最大1,000件まで指定できます。
            example:
              projectId: example_project_1234567890abcdef
              messageType: text
              isAd: false
              recipientList:
                - recipientNo: '01012345678'
                  content:
                    text: 안녕하세요! 새로운 이벤트 소식을 알려드립니다.
      responses:
        '200':
          description: メッセージを送信しました。
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
              example:
                success: true
        '400':
          description: 発信者情報が登録されていません。
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: string
                    nullable: true
                  error:
                    type: string
              example:
                data: null
                error: Sender info is not registered.
        '500':
          description: サーバー内部エラーです。
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  error:
                    type: string
              example:
                success: false
                error: Internal Server Error
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: '`POST /authenticate`で発行したトークンをBearer形式で送信します。'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.