API Endpoints Reference
Complete documentation for StartupVision API endpoints.
Validations
List Validations
GET /validationsQuery parameters:
- `limit` (integer): Results per page (max 100)
- `offset` (integer): Pagination offset
- `status` (string): Filter by status
Get Validation
GET /validations/:idCreate Validation
POST /validationsRequest body:
{
"description": "Your startup description",
"industry": "fintech",
"stage": "idea|mvp|growth",
"targetMarket": "B2B|B2C|B2B2C"
}Delete Validation
DELETE /validations/:idDocuments
List Documents
GET /documentsGet Document
GET /documents/:idCreate Document
POST /documentsRequest body:
{
"type": "iso27001|soc2|gdpr|hipaa",
"validationId": "optional-validation-id",
"customization": {
"companyName": "Your Company"
}
}Webhooks
List Webhooks
GET /webhooksCreate Webhook
POST /webhooksRequest body:
{
"url": "https://your-server.com/webhook",
"events": ["validation.completed", "document.ready"]
}Response Format
All responses follow this format:
{
"success": true,
"data": { ... },
"meta": {
"requestId": "req_123",
"timestamp": "2024-01-15T12:00:00Z"
}
}Error responses:
{
"success": false,
"error": {
"code": "validation_error",
"message": "Description is required",
"field": "description"
}
}