BusyBee.Day로 만들기
MCP 서버, REST API, 웹훅으로 BusyBee.Day를 내 도구에 연결하세요.
// Create a task via the BusyBee.Day API
const response = await fetch('https://api.busybee.day/api/tasks', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
title: 'Review pull request',
priority: 'p2',
due_date: '2026-11-03',
duration: 30,
project_id: 'YOUR_PROJECT_ID'
})
});
const task = await response.json();
console.log(task);개발자 리소스
API 개요
BusyBee.Day API는 웹 앱 자체가 사용하는 JSON REST API입니다. 기본 URL은 https://api.busybee.day이고 모든 경로는 /api/로 시작합니다. 요청과 응답은 UTF-8 JSON이고, ID는 UUID 문자열이며, 타임스탬프는 UTC 기준 ISO 8601 형식입니다.
요청에는 Bearer 액세스 토큰을 담습니다(인증 참고). 목록은 페이지 나눔 없이 한 번의 응답으로 옵니다. GET /api/tasks는 project_id나 status 같은 쿼리 매개변수로 좁히세요. 요금제 한도는 앱과 동일하게 적용되며, 한도를 넘는 요청은 HTTP 402를 받습니다.
인증
REST API는 웹 앱과 같은 액세스 토큰을 사용합니다. 이메일과 비밀번호를 /api/auth/login으로 보내면 응답의 access_token이 7일간 유효한 JWT입니다. 계정에 2단계 인증이 설정되어 있으면 로그인은 대신 mfa_required와 challenge_token을 반환합니다. 이를 인증 앱의 코드와 함께 5분 안에 /api/auth/mfa/challenge로 보내세요. 모든 요청의 Authorization 헤더에 토큰을 넣어 전달합니다.
설정 > API & MCP에서 만든 개인 액세스 토큰은 MCP 서버에서만 작동하며, 이 REST 엔드포인트에서는 작동하지 않습니다.
// 1. Log in to get an access token (a JWT, valid for 7 days)
const login = await fetch('https://api.busybee.day/api/auth/login', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
email: 'you@example.com',
password: 'your-password'
})
}).then(r => r.json());
// 2. With two-step verification on, trade the challenge for the token
let token = login.access_token;
if (login.mfa_required) {
const done = await fetch('https://api.busybee.day/api/auth/mfa/challenge', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ challenge_token: login.challenge_token, code: '123456' })
}).then(r => r.json());
token = done.access_token;
}
// 3. Send the token with every request
const tasks = await fetch('https://api.busybee.day/api/tasks', {
headers: { 'Authorization': `Bearer ${token}` }
}).then(r => r.json());빠른 시작
- /register에서 계정을 만듭니다.
- API로 로그인해
access_token을 받습니다(위의 인증 참고). POST /api/projects와name으로 첫 프로젝트를 만듭니다.- 3단계의
project_id를 넘겨POST /api/tasks로 작업을 추가합니다. POST /api/webhooks로 이벤트를 구독하면 작업이 바뀔 때 알림을 받습니다(Pro, Max, Team 요금제).
엔드포인트 참조
목록에 없는 엔드포인트를 찾으시나요? 문의로 연락 주세요.
연동 예시
발신 웹훅은 작업이 생성, 수정, 완료, 삭제, 할당되거나 상태가 바뀔 때, 그리고 댓글이 추가될 때 실행됩니다. 각 전송에는 HMAC-SHA256 서명이 있어 BusyBee.Day에서 온 것인지 확인할 수 있습니다. 2xx 응답을 받지 못한 전송은 총 3회까지 시도됩니다.
// Outgoing webhook delivery (task.completed)
{
"event": "task.completed",
"event_id": "3f6c2a9e-...",
"timestamp": "2026-10-30T14:32:11.204511+00:00",
"actor": { "id": "...", "name": "Anna", "email": "anna@example.com", "avatar_url": null },
"data": {
"id": "8f3a51d2-...",
"title": "Review pull request",
"priority": "p2",
"project_id": "...",
"url": "https://busybee.day/app/tasks?task=8f3a51d2-..."
}
}
// Headers
// X-BusyBee-Event: task.completed
// X-BusyBee-Delivery: <event_id>
// X-BusyBee-Signature: sha256=<hex>
// = HMAC-SHA256 of the raw body, keyed with the webhook's secret앱에서 웹훅을 설정하는 방법, 이벤트 목록, 수신 페이로드의 JSON 경로 매핑은 /integrations/webhooks에 설명되어 있습니다.
무엇을 만들 수 있나요
도움이 필요하신가요?
API, MCP 서버, 웹훅에 대해 궁금한 점이 있으신가요? 연락 주세요.
문의하기