Tools
API reference: connect your own systems
Read projects, systems, tags, check sheets, punch items and documents, raise punch items, and receive webhooks.
- 1
Create a key
Team → Integrations → API keys. Name it after what uses it (e.g. Power BI) and pick Read only or Read and raise punches. Copy the key straight away: it's shown once. Keys follow your company's allowed networks.
- 2
Authenticate
Send the key on every request: Authorization: Bearer sc_live_… Responses are JSON. Base address: https://surecon.com/api/v1
- 3
List projects
GET /api/v1/projects returns your company's projects with id, code, name, client, location and status. GET /api/v1/projects/{id} returns one.
- 4
Read project data
GET /api/v1/projects/{id}/systems (systems with their subsystems and planned milestone dates), /tags, /check-sheets, /punches (filter with ?status=open) and /documents (with the latest revision).
- 5
Page and sync changes
Lists return 200 rows by default: add ?limit= (up to 500) and ?page=. Each response has hasMore. Add ?updatedSince=2026-11-01T00:00:00Z to fetch only what changed since your last sync.
- 6
Raise a punch item
POST /api/v1/projects/{id}/punches with a write key and JSON: {"title", "subsystem" (code), "category" (e.g. A), "discipline", and optionally "description", "tagNo", "location", "company", "dueDate", "externalId"}. Send your own externalId (a UUID) so a retry never raises it twice. The reply has the new punch number.
- 7
Webhooks
Team → Integrations → Webhooks. Add an https address and pick areas (punch items, check sheets, certificates…). Each change is POSTed as JSON with id, type, area, occurredAt, projectId, actor, target and summary.
- 8
Check the signature
Each webhook has a signing secret (shown once). Compute HMAC-SHA256 of X-SureCon-Timestamp + "." + the raw body with the secret, and compare the hex with X-SureCon-Signature (after "sha256="). Reject old timestamps to stop replays.