설정
실행 모드, LLM 공급자, 외부 연동 정보를 관리합니다.
시스템 상태
확인 중…연동
외부 시스템 연동
Paply는 REST API, TypeScript SDK, Webhook으로 외부 포털·자동화 파이프라인과 연결할 수 있습니다.
REST API
GET /api/health
GET /api/documents
POST /api/sessionsTypeScript SDK
import { createPaplyClient } from "@/lib/sdk";
const paply = createPaplyClient({ baseUrl: "..." });외부 API 호출 예시
curl -H "Authorization: Bearer $PAPLY_API_KEY" \
https://paply-self.vercel.app/api/healthAPI Key: 외부 자동화에서 REST API를 호출할 때
PAPLY_API_KEY 환경변수를 설정하고 Authorization: Bearer <key> 헤더를 전달하세요. 앱 UI는 내부 헤더로 자동 인증됩니다.Webhook: 서버 환경변수
PAPLY_WEBHOOK_URL을 설정하면 document.imported, session.created, session.generated 이벤트가 POST됩니다. 선택적으로 PAPLY_WEBHOOK_SECRET 헤더를 사용하세요.