Glowb Dev Docs
Main API비즈니스 API

GET /business/home

홈화면 데이터 조회

홈화면 데이터 조회

기업 홈화면에 표시할 Collab, Influence 데이터를 조회합니다.

항목
메서드GET
경로/business/home
인증필요

요청

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

응답

성공 응답 (200 OK)

{
  "collabs": [
    {
      "no": 1,
      "title": "캠페인 제목",
      "thumbnail": "https://...",
      "status": "RECRUITING"
    }
  ],
  "influences": [
    {
      "memberId": "influencer_001",
      "name": "크리에이터명",
      "profileImage": "https://...",
      "followerCount": 50000
    }
  ],
  "statistics": {
    "totalCampaigns": 10,
    "activeCampaigns": 3,
    "totalApplicants": 50
  }
}

Response 스키마

Prop

Type

API 테스트

On this page