Developers

Compliance,
programmable.

Everything you can do in TrustStitch, you can do from code. A clean REST API and signed webhooks let you push evidence, read control state, and wire compliance into the systems you already run. Connect once, prove everywhere — on your terms.

✓ REST + JSON✓ Signed webhooks✓ OpenAPI + SDKs
GET /v1/controls
curl https://api.truststitch.com/v1/controls \
  -H "Authorization: Bearer tss_live_7f3a9c2b84e1" \
  -H "TrustStitch-Version: 2026-11-01"
200 OK
{
  "object": "list",
  "has_more": false,
  "data": [
    {
      "id": "ctrl_8Hq2Lp",
      "name": "Access reviews performed quarterly",
      "frameworks": ["soc2", "iso27001", "hipaa"],
      "status": "passing",
      "automated": true,
      "owner": "[email protected]",
      "last_checked": "2026-11-28T14:02:10Z"
    }
  ]
}
RESTJSON over HTTPS
600requests / min default
6+webhook event types
2official SDKs — TS & Python
What you can build

An API that gets out of your way.

Resource-oriented, predictable and documented — so you spend your time building, not reverse-engineering someone else's idea of REST.

A clean REST API

Predictable, resource-oriented endpoints over HTTPS. JSON in, JSON out, standard verbs and status codes — exactly what you expect.

Webhooks

Subscribe to events like control.failed or evidence.expiring and get a signed POST the instant something changes. Build your own alerting and automation.

Custom integrations

Not in our connector catalog yet? Push evidence, sync controls and drive workflows from any system you run with the API.

Token auth

Scoped API keys with least-privilege permissions, rotation and full audit logging. Create and revoke keys without touching your deployment.

Sensible rate limits

Generous, published limits with clear headers on every response, so you always know where you stand before you back off.

Versioned & documented

A dated version header, a complete OpenAPI spec and a changelog — so an integration you ship today keeps working tomorrow.

Authentication

One header. Least privilege.

Authenticate with a scoped bearer token over HTTPS. Create keys with only the permissions an integration needs, rotate them on a schedule, and revoke instantly — every call is logged to the audit trail.

  • Scoped keys: read, write or per-resource permissions
  • Rotation and instant revocation, no redeploy
  • Pin behaviour with the TrustStitch-Version header
  • Every request appears in your audit log
AUTHENTICATED REQUEST
curl https://api.truststitch.com/v1/controls \
  -H "Authorization: Bearer tss_live_7f3a9c2b84e1" \
  -H "TrustStitch-Version: 2026-11-01"
i

Keys are shown once at creation. Store them in your secrets manager — never in source control.

Custom evidence

Push evidence from anything.

Have a system we don't connect to yet? POST evidence straight to a control from your own HR tool, internal service or script. It files against the framework crosswalk exactly like native evidence does.

  • Attach a file, a URL or a structured payload
  • Maps across all five frameworks automatically
  • Idempotent writes with a collected_at timestamp
  • Shows up in your auditor export like any other evidence
POST /v1/evidence
curl https://api.truststitch.com/v1/evidence \
  -X POST \
  -H "Authorization: Bearer tss_live_7f3a9c2b84e1" \
  -H "Content-Type: application/json" \
  -d '{
    "control_id": "ctrl_8Hq2Lp",
    "source": "custom:internal-hr",
    "collected_at": "2026-11-28T09:00:00Z",
    "url": "https://files.acme.com/access-review-q4.csv"
  }'
Webhooks

Know the moment it changes.

Register an endpoint, pick your events, and TrustStitch delivers a signed POST the instant something happens. Verify the HMAC signature, then build whatever you need on top.

POST to your endpoint · control.failed
{
  "id": "evt_5kR9xZ",
  "type": "control.failed",
  "created": "2026-11-28T14:05:33Z",
  "data": {
    "control_id": "ctrl_8Hq2Lp",
    "name": "Access reviews performed quarterly",
    "framework": "soc2",
    "owner": "[email protected]",
    "detail": "Evidence expired 2 days ago"
  }
}

Events you can subscribe to

control.passing A control returned to a passing state
control.failed A control started failing or drifted
evidence.expiring A piece of evidence is within its renewal window
vendor.assessed A third-party risk assessment completed
report.shared Someone opened a shared trust report
audit.export.ready An auditor export finished building
Rate limits

Generous, and clearly labelled.

Every response carries X-RateLimit-Remaining and X-RateLimit-Reset headers. Hit a ceiling and you get a 429 with Retry-After — no guessing.

ScopeLimitNotes
Default600 req / minPer API key, burst-friendly
Evidence writes120 req / minPOST /v1/evidence
Exports10 req / minHeavy, long-running jobs
Webhooks outNo limitWe deliver, you receive
Get started

From key to shipped.

1

Create a key

Generate a scoped API key in Settings → Developers. Pick only the permissions your integration needs.

2

Call the API

Authenticate with a bearer token over HTTPS and hit resource endpoints — controls, evidence, frameworks, vendors.

3

Subscribe to webhooks

Register an endpoint, choose your events, and verify the signature on every delivery.

4

Ship

Wire TrustStitch into your own dashboards, ticketing and automation. The platform becomes a building block.

“We piped our internal access tool into TrustStitch over a lunch break. One POST per review and the evidence just shows up — mapped to every framework.”
Ea
Eli ArndtStaff Engineer · Lumen Labs
Questions

The API, answered.

Is the API available on every plan?

Read endpoints and webhooks are available from the Growth plan up; full write access and higher rate limits come with Scale. The free trial includes read access so you can build and test before you commit.

How is the API versioned?

We use dated versions passed in the TrustStitch-Version header. Your integration pins a version and keeps working as we ship new ones. Breaking changes only ever land under a new date, announced in the changelog.

What happens when I hit a rate limit?

You get a 429 with Retry-After and X-RateLimit-Remaining headers so you can back off cleanly. Every response carries rate-limit headers, so well-behaved clients rarely hit the ceiling in the first place.

How do I verify a webhook came from TrustStitch?

Every delivery is signed with an HMAC-SHA256 signature in the TrustStitch-Signature header, computed over the raw body with your endpoint’s secret. Verify it before trusting the payload. Deliveries retry with backoff on failure.

Is there an OpenAPI spec and SDKs?

Yes — a complete OpenAPI 3.1 spec powers our reference docs and client generation. Official TypeScript and Python SDKs wrap auth, pagination and webhook verification so you can skip the boilerplate.

Build on
TrustStitch.

Grab a key, read the docs, and wire compliance into everything you run.