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

# 캠페인 이벤트 데이터 내보내기 요청

> 캠페인/유저 여정 이벤트 데이터를 비동기적으로 추출 요청합니다. Response로 받은 export_id를 사용하여 요청 결과를 조회할 수 있습니다.

> [!WARNING]
>
> **유료 API**
>
> 이 요청은 요청 데이터당 과금이 되는 유료 API입니다. 가격은 노티플라이에 문의해주세요.


## OpenAPI

````yaml /ko/api-reference/openapi.yaml post /projects/{projectId}/campaign-event-data/exports
openapi: 3.0.3
info:
  title: Notifly API
  version: 1.0.0
  contact:
    email: contact@notifly.tech
servers:
  - url: https://api.notifly.tech
    description: 노티플라이 API 서버입니다
security: []
tags:
  - name: catalog
    x-group: 카탈로그
paths:
  /projects/{projectId}/campaign-event-data/exports:
    post:
      summary: create-campaign-event-export
      operationId: createCampaignEventExport
      parameters:
        - name: projectId
          in: path
          required: true
          schema:
            type: string
          description: 프로젝트 ID
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - start
                - end
              properties:
                start:
                  type: string
                  format: date-time
                  description: 조회 시작일자 (yyyy-MM-ddTHH:mm:ss.sssZ, UTC 기준)
                end:
                  type: string
                  format: date-time
                  description: >-
                    조회 종료일자 (yyyy-MM-ddTHH:mm:ss.sssZ, UTC 기준, 조회 시작일자로부터 최대 일주일
                    이내)
                isMessageDataIncluded:
                  type: boolean
                  description: message data 포함 여부 (기본값 false)
            example:
              start: '2025-06-01T00:00:00.000Z'
              end: '2025-06-07T23:59:59.999Z'
              isMessageDataIncluded: true
      responses:
        '200':
          description: Export 요청 성공입니다
          content:
            application/json:
              schema:
                type: object
                properties:
                  export_id:
                    type: string
                    description: Export 작업 ID
              example:
                export_id: xyz123
        '400':
          description: 요청 파라미터 오류입니다 (날짜 형식, 범위 오류 등)
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
              example:
                error: InvalidRequest
                message: ...
        '401':
          description: 인증 실패입니다
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
              example:
                error: Unauthorized
        '500':
          description: 서버 내부 오류입니다
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  message:
                    type: string
              example:
                error: InternalServerError
                message: ...
      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.