API Reference
Integrate ForgeSpacer into your own applications with our REST API. Automate workflows, sync data, and trigger AI document generation programmatically.
Base URL
https://api.ForgeSpacer.dev/v1
Authentication
Authenticate your API requests using a Bearer token. You can generate API keys from your workspace settings. Keep your keys secure and never expose them in client-side code.
curl -X GET https://api.ForgeSpacer.dev/v1/projects \
-H "Authorization: Bearer fs_live_abc123def456ghi789"Endpoints
Projects
GET
/projectsList all projects in the workspace.
POST
/projectsCreate a new project.
GET
/projects/:idRetrieve a specific project by ID.
PUT
/projects/:idUpdate project details.
DELETE
/projects/:idDelete a project permanently.
Documents
GET
/projects/:id/documentsList all documents for a project.
POST
/projects/:id/documents/generateTrigger AI generation for a new document.
AI Generation
POST
/ai/generate-prdGenerate a comprehensive PRD.
POST
/ai/generate-storiesExtract user stories from a document.
POST
/ai/generate-sprint-planOrganize stories into sprints.
Export
POST
/projects/:id/exportExport project data to various formats.