Glowb Dev Docs
Main API비즈니스 API

캠페인 API

캠페인 목록 및 상세 조회

캠페인 API


1. 내 캠페인 목록 조회

기업이 등록한 캠페인 목록을 조회합니다.

항목
메서드GET
경로/ai/collab
인증필요

요청

GET /ai/collab HTTP/1.1
Host: api.glowb.com
Authorization: Bearer eyJhbGciOiJIUzI1NiIs...
curl "https://api.glowb.com/ai/collab" \
  -H "Authorization: Bearer {access_token}"
const response = await fetch('/ai/collab', {
  headers: {
    'Authorization': `Bearer ${accessToken}`
  }
});
const campaigns = await response.json();

응답

성공 응답 (200 OK)

{
  "status": 200,
  "code": null,
  "message": "캠페인 목록 조회 완료",
  "data": [
    {
      "no": "123",
      "businessId": "business_id",
      "thumbnailImagePath": "https://...",
      "productImagePath": "https://...",
      "snsType": "INSTAGRAM",
      "contentFormat": "REELS",
      "category": "BEAUTY",
      "campaignType": "SEEDING",
      "campaignSubStep": "RECRUITING",
      "productName": "상품명",
      "title": "캠페인 제목",
      "charge": "100000",
      "currency": "KRW",
      "recruitCount": "10",
      "daysSinceEnded": null,
      "recruitmentStartDate": "2024-12-01 00:00:00",
      "recruitmentEndDate": "2024-12-31 23:59:59",
      "contentStartDate": "2025-01-01 00:00:00",
      "contentEndDate": "2025-01-31 23:59:59",
      "campaignReportUrl": null,
      "showLanding": true,
      "showDashboard": true,
      "secondaryUsageOption": "NONE",
      "hasGuideline": true,
      "isLegacy": false
    }
  ]
}

CampaignDto 스키마

Prop

Type


2. 캠페인 대시보드 상세 조회

캠페인 대시보드의 진행 상황과 상세 정보를 조회합니다.

항목
메서드GET
경로/ai/progress-table/item/{id}
인증필요

요청

GET /ai/progress-table/item/123 HTTP/1.1
Host: api.glowb.com
Authorization: Bearer eyJhbGciOiJIUzI1NiIs...
curl "https://api.glowb.com/ai/progress-table/item/123" \
  -H "Authorization: Bearer {access_token}"
const response = await fetch('/ai/progress-table/item/123', {
  headers: {
    'Authorization': `Bearer ${accessToken}`
  }
});
const dashboard = await response.json();

Path Parameters

Prop

Type

응답

성공 응답 (200 OK)

{
  "status": 200,
  "code": null,
  "message": "캠페인 진행 상황 항목 조회가 완료되었습니다.",
  "data": {
    "step": "APPLICATION_CONTRACT",
    "items": [...],
    "isLegacy": false,
    "totalCount": 10,
    "eliminatedCount": 2,
    "eliminatedPercentage": 20.0,
    "campaignDetails": {
      "no": "123",
      "businessId": "business_id",
      "title": "캠페인 제목",
      "thumbnailImagePath": "https://...",
      "productImagePath": "https://...",
      "productImagePaths": ["https://..."],
      "snsType": "INSTAGRAM",
      "contentFormat": "REELS",
      "category": "BEAUTY",
      "campaignType": "SEEDING",
      "campaignSubStep": "RECRUITING",
      "productName": "상품명",
      "charge": "100000",
      "currency": "KRW",
      "recruitCount": "10",
      "daysSinceEnded": null,
      "recruitmentStartDate": "2024-12-01 00:00:00",
      "recruitmentEndDate": "2024-12-31 23:59:59",
      "campaignContractType": null,
      "campaignContractDescription": null,
      "campaignReportUrl": null,
      "showPrice": true,
      "listMode": "EXCLUDE",
      "firstReviewTypes": ["SCRIPT", "PHOTO"],
      "secondReviewTypes": ["VIDEO"],
      "finalSubmissionTypes": ["CONTENT_LINK"],
      "secondaryUsageOption": "NONE",
      "secondaryUsageMonths": null,
      "caution": null,
      "description": null,
      "hasGuideline": true
    }
  }
}

CampaignFullResponseDto 스키마 (campaignDetails)

Prop

Type

On this page