Overview
The comstruct API provides a RESTful interface for construction materials procurement. This reference documents all available endpoints with interactive “Try it” features.Base URL
Send all API requests to:Calendar endpoints use the base URL
https://api.comstruct.com without the /v1 prefix.Authentication
All endpoints require API key authentication via thex-api-key header:
Permissions (scopes)
API keys have specific permissions in the formatresource:action. Each endpoint only requires the scopes relevant to it; required permissions are shown per endpoint.
Available permissions:
| Permission | Description |
|---|---|
projects:read | Read project data |
projects:write | Create and update projects |
deliveries:read | Read delivery data |
deliveries:write | Create and update deliveries |
invoices:read | Read invoice data |
invoices:write | Create and update invoices |
project_regions:read | Read project region data |
project_regions:write | Create and update project regions |
accounts:read | Read account data |
accounts:write | Create and update accounts |
payment_terms:read | Read payment term data |
payment_terms:write | Create and update payment terms |
tax_codes:read | Read tax code data |
tax_codes:write | Create and update tax codes |
users:read | Read user data (project user management) |
roles:read | Read role data (project role assignment) |
tenant_settings:read | Read tenant settings |
suppliers:write | Create and update suppliers |
purchase_orders:write | Create purchase orders |
Contact your Customer Success Manager to get your API key configured with the required permissions.
API endpoint groups
Projects
Project management and queries.
- List projects
- Create/update project
- Get project by ID
- Import SAP projects
Deliveries
Delivery note management.
- List deliveries
- Create delivery notes
- OpenTrans/PAHM/Custom formats
Invoices
Invoice processing.
- List invoices
- Upload invoices
- AI-assisted analysis
Master data
Manage reference data.
- Accounts
- Payment terms
- Tax codes
- Project regions
HTTP status codes
| Code | Description |
|---|---|
200 | Success |
201 | Created |
400 | Bad request |
401 | Unauthorized |
403 | Forbidden – missing permission |
404 | Not found |
500 | Server error |
Interactive API documentation
Each endpoint page includes a “Try it” feature so you can test API calls directly. Enter your API key and try the endpoints.OpenAPI specification
Download the full OpenAPI 3.0 specification.