> ## 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.

# アリムトークのテンプレートを一覧取得する

> 配信プラットフォームが`Notifly`のカカオトークチャンネルで、アリムトークテンプレートをテンプレートコード順に取得します。本文はテンプレート詳細取得APIで確認できます。



## OpenAPI

````yaml /ja/api-reference/openapi.yaml get /v1/projects/{projectId}/messages/kakao-alimtalk/templates
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:
  /v1/projects/{projectId}/messages/kakao-alimtalk/templates:
    get:
      summary: list-kakao-bizmessage-alimtalk-templates
      operationId: listKakaoBizmessageAlimtalkTemplates
      parameters:
        - name: projectId
          in: path
          required: true
          schema:
            type: string
          description: プロジェクトIDです。
        - name: sender_channel_id
          in: query
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 200
          description: >-
            プロジェクトに登録済みのカカオトークチャンネルIDです。配信プラットフォームが`Notifly`のチャンネルに対応します。`Notifly
            (Legacy)`のチャンネルは旧バージョンのテンプレート一覧取得APIを使います。
        - name: status
          in: query
          required: false
          schema:
            type: string
            enum:
              - registered
              - requested
              - approved
              - rejected
          description: >-
            審査ステータスです。`registered`は登録済み（審査依頼前）、`requested`は審査中、`approved`は承認、`rejected`は差し戻しです。省略するとすべてのステータスを取得します。
        - name: template_name
          in: query
          required: false
          schema:
            type: string
            minLength: 1
            maxLength: 200
          description: テンプレート名の部分一致で検索します。パーセント記号、アンダースコア、バックスラッシュは文字として扱います。
        - name: page_size
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 20
          description: 取得件数です。
        - name: next_cursor
          in: query
          required: false
          schema:
            type: string
          description: 前のレスポンスの`next_cursor`の値です。
      responses:
        '200':
          description: テンプレートの一覧を取得しました。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KakaoAlimtalkTemplateListResponse'
        '400':
          description: リクエストパラメーターが不正です。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotiflyV1ErrorResponse'
        '401':
          description: トークンが無効か期限切れのため、認証に失敗しました。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotiflyV1ErrorResponse'
        '403':
          description: プロジェクトへのアクセス権限がありません。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotiflyV1ErrorResponse'
        '404':
          description: プロジェクトまたはカカオトークチャンネルが見つかりません。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotiflyV1ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    KakaoAlimtalkTemplateListResponse:
      type: object
      required:
        - data
        - error
      properties:
        data:
          type: object
          required:
            - sender_channel_id
            - templates
            - next_cursor
          properties:
            sender_channel_id:
              type: string
            templates:
              type: array
              items:
                type: object
                properties:
                  template_code:
                    type: string
                  template_name:
                    type: string
                  template_message_type:
                    type: string
                    nullable: true
                  template_emphasize_type:
                    type: string
                    nullable: true
                  status:
                    type: string
                    enum:
                      - registered
                      - requested
                      - approved
                      - rejected
            next_cursor:
              type: string
              nullable: true
              description: 次のページのカーソルです。最後のページでは`null`です。
        error:
          nullable: true
          description: 成功時はnullです。
    NotiflyV1ErrorResponse:
      type: object
      properties:
        data:
          type: object
          nullable: true
          description: 失敗時はnullです。
        error:
          oneOf:
            - type: string
            - $ref: '#/components/schemas/NotiflyV1ErrorObject'
          description: >-
            v1
            APIのエラーレスポンスです。認証や権限のエラーはcodeとmessageを持つオブジェクト、リクエストの検証エラーは文字列で返される場合があります。
      example:
        data: null
        error:
          code: UNAUTHORIZED
          message: Invalid Authorization Token
    NotiflyV1ErrorObject:
      type: object
      properties:
        code:
          type: string
          description: エラーコードです。
        message:
          type: string
          description: エラーメッセージです。
  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.