API Reference

Build with the StruktLab API

Create custom integrations, automate workflows, and build powerful applications on top of StruktLab's project management platform with our comprehensive REST API.

Quick Start

Get up and running with the StruktLab API in minutes.

1. Get your API key

Generate an API key from your StruktLab dashboard. Keep it secure and never expose it in client-side code.

2. Make your first request

All API requests require authentication via the Authorization header with your API key.

3. Handle responses

All responses are in JSON format. Check the status code and handle errors appropriately.

Example Request
curl -X GET \
  https://api.struktlab.com/v1/projects \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "data": [
    {
      "id": "proj_123",
      "name": "Office Building Project",
      "status": "active",
      "created_at": "2025-01-15T10:00:00Z"
    }
  ],
  "meta": {
    "total": 1,
    "page": 1
  }
}

API Endpoints

Core endpoints for managing projects, teams, and data.

GET
/api/v1/projects

List all projects

Returns: Array of project objects
POST
/api/v1/projects

Create a new project

Returns: Created project object
GET
/api/v1/projects/{id}

Get project details

Returns: Project object with full details
PUT
/api/v1/projects/{id}

Update project

Returns: Updated project object
DELETE
/api/v1/projects/{id}

Delete project

Returns: Success confirmation

Official SDKs

Use our official SDKs to integrate StruktLab into your applications quickly and easily.

JavaScript

Official Node.js and browser SDK

npm install @struktlab/sdk
Python

Python SDK for backend integrations

pip install struktlab-sdk
C#

.NET SDK for Windows applications

dotnet add package StruktLab.SDK
REST

Direct HTTP API calls

curl -H 'Authorization: Bearer TOKEN'

Authentication

Secure your API requests with proper authentication.

API Key Authentication

Include your API key in the Authorization header of every request:

Authorization: Bearer YOUR_API_KEY

Rate Limits

Standard Plan:1,000 requests/hour
Professional Plan:5,000 requests/hour
Enterprise Plan:Custom limits

Webhooks

Get real-time notifications when events happen in your StruktLab projects.

Project Events
  • • Project created
  • • Project updated
  • • Project status changed
  • • Project deleted
File Events
  • • File uploaded
  • • File updated
  • • File shared
  • • File deleted
Team Events
  • • Member added
  • • Member removed
  • • Role changed
  • • Permission updated

Need help with the API?

Our developer support team is here to help you build amazing integrations.