Glowb Dev Docs
Admin API알림 on/off 설정

GET /ai/admin/notification-settings/campaigns/:collabNo

캠페인 알림 설정 조회

캠페인 알림 설정 조회

캠페인별로 바꿀 수 있는 그룹(scope: CAMPAIGN)과 개별 알림의 현재 값을 조회합니다. 이 캠페인에서 바꾼 적이 없으면 전역 값을 따릅니다. 응답 모양은 전역 설정 조회와 같습니다.

HTTP 요청

GET /ai/admin/notification-settings/campaigns/{collabNo}
Authorization: Bearer {access_token}

Path Parameters

파라미터타입필수설명
collabNoInteger예캠페인 번호

응답

성공 응답 (200 OK)

{
  "status": 200,
  "code": null,
  "message": "캠페인 알림 설정 조회 성공",
  "data": {
    "scope": "CAMPAIGN",
    "campaignNo": 3579,
    "sections": [
      {
        "code": "CREATOR",
        "title": "크리에이터에게 가는 알림",
        "groups": [
          {
            "code": "C8",
            "scope": "CAMPAIGN",
            "title": "자동 독촉 (마감 D-1·당일·초과, 미서명)",
            "editable": true,
            "channels": [
              { "channel": "EMAIL", "title": "이메일", "enabled": false, "defaultEnabled": true, "overridden": true, "partial": true },
              { "channel": "SMS", "title": "문자", "enabled": true, "defaultEnabled": true, "overridden": false, "partial": false },
              { "channel": "ALIMTALK", "title": "알림톡", "enabled": true, "defaultEnabled": true, "overridden": false, "partial": false }
            ],
            "items": [
              {
                "code": "EMAIL:creator.contract_unsigned_reminder",
                "channel": "EMAIL",
                "title": "전자계약 미서명 리마인드(당일 22시·익일 09시)",
                "enabled": true,
                "defaultEnabled": false,
                "overridden": true
              }
            ]
          }
        ]
      }
    ]
  }
}

캠페인 화면에서의 값

필드설명
channels[].enabled이 캠페인의 그룹×채널 값 (캠페인 설정이 없으면 전역 값)
channels[].defaultEnabled되돌리면 적용될 전역 값
channels[].overridden이 캠페인에서 그 채널을 바꿔 둔 상태
items[].enabled실제로 적용되는 값 (판정 순서: 캠페인 개별 > 캠페인 그룹 > 전역 개별 > 전역 그룹)
items[].defaultEnabled이 캠페인의 개별 설정을 되돌리면 적용될 값
items[].overridden이 캠페인에서 개별로 바꿔 둔 상태

위 예시는 "이 캠페인에서 자동 독촉 이메일은 끄되 계약 미서명 리마인드 이메일만 켜 두고, 문자·알림톡은 그대로 보내는" 상태입니다.

에러 응답

본문 statuscode설명
404CAMPAIGN_NOT_FOUND존재하지 않는 캠페인
401 / 403—인증 실패 / ADMIN 권한 필요

API 테스트

On this page