SaaS APICollab 이벤트 API
POST /ai/collab/select/new
필터링 캠페인 조회 (마감 임박순)
필터링 캠페인 조회 (마감 임박순)
필터 조건으로 캠페인을 조회합니다. 마감 임박 순서로 정렬됩니다.
| 항목 | 값 |
|---|---|
| 메서드 | POST |
| 경로 | /ai/collab/select/new |
| 인증 | 불필요 |
| Content-Type | application/json |
요청
POST /ai/collab/select/new HTTP/1.1
Host: api.glowb.com
Content-Type: application/json
{
"user_id": "user123",
"styles": ["REVIEW"],
"sns": ["INSTAGRAM"],
"nation": ["KR"],
"name": ["뷰티"]
}curl -X POST "https://api.glowb.com/ai/collab/select/new" \
-H "Content-Type: application/json" \
-d '{
"user_id": "user123",
"styles": ["REVIEW"],
"sns": ["INSTAGRAM"],
"nation": ["KR"],
"name": ["뷰티"]
}'const response = await fetch('/ai/collab/select/new', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
user_id: 'user123',
styles: ['REVIEW'],
sns: ['INSTAGRAM'],
nation: ['KR'],
name: ['뷰티']
})
});
const campaigns = await response.json();Request Body 스키마
Prop
Type
응답
성공 응답 (200 OK)
{
"status": 200,
"code": null,
"message": "캠페인 목록 조회 완료",
"data": [
{
"no": 1,
"title": "여름 뷰티 캠페인",
"thumbnail": "https://...",
"platform": "INSTAGRAM",
"status": "RECRUITING",
"endDate": "2024-07-31"
}
]
}