Project management API
Manage projects programmatically using the workspace API key.
Authentication: Authorization: Bearer <workspace_api_key> (or project API key for delete).
List projects
GET /api/projects
Returns all projects in your workspace.
Response:
[
{"id": "abc123", "name": "My Site"},
{"id": "def456", "name": "Another Site"}
]
Create a project
POST /api/projects
Create a new project. The response includes the project API key for subsequent uploads.
curl -X POST https://sealstatic.com/api/projects \
-H "Authorization: Bearer your-workspace-api-key" \
-d "name=My Site"
Response:
{
"id": "abc123",
"name": "My Site",
"api_key": "abc123def456…"
}
Use the returned api_key for the Upload API.
Delete a project
DELETE /api/projects/:id
Delete a project permanently.
curl -X DELETE https://sealstatic.com/api/projects/abc123 \
-H "Authorization: Bearer your-api-key"
Response:
{"status": "ok"}