Skip to main content
Version: v1.0

FAQ


Getting started​

How fast can we integrate?​

Follow Quick Start. Most teams complete a first consent in the portal sandbox in under 10 minutes; production hardening usually takes one sprint.

Do we need the SDK?​

No — any language can call the HTTP API from the API Reference. The TypeScript SDK is recommended for Node backends (SDK Guide).

Where is the API reference?​

The OpenAPI contract is the source of truth: API Reference (also browsable in the docs site).


Authentication and environments​

What is the difference between test and live keys?​

smm_test_* → test ledger (sandbox). smm_live_* → production ledger. Data is isolated. See Authentication.

Can I use the same key for staging and production?​

No — issue separate keys per environment and rotate independently.

What headers are required?​

Authorization on secured routes. Idempotency-Key on writes. Details: Authentication.


Who owns user PII?​

Your application owns external_user_id and profile data. Sammati stores consent evidence and policy bindings — Welcome.

Yes — client.consents.grant (and update/revoke) with a published policy_ref. See Consent Integration.

How do policy versions work?​

Draft → publish → immutable version number. Consent at occurred_at binds to the active published version. Policies.


Widget​

iframe vs custom UI?​

The production path is the hosted iframe at /widget/hosted. Custom UI is not supported in-platform today — Widget Guide.

Why is my iframe blank?​

Usually a missing allowed origin. Register your parent page origin in the portal. Troubleshooting.


Webhooks​

Expected. The test ledger skips automatic webhook enqueue on consent and widget writes. Use Send Test Event in the portal or client.webhooks.testEndpoint() to validate your receiver. Automatic consent.recorded requires a live API key — Webhooks.

How do I verify webhooks?​

Use verifyWebhookSignature from the SDK or @sammati/webhook-utils. Full steps: Webhooks.

How many times will a webhook be delivered?​

At-least-once with retries. Your handler must be idempotent. Webhooks.

What events can I subscribe to?​

Listed in the API Reference under webhook create — Webhooks.


Proofs and compliance​

When is a proof available?​

After async processing on the live ledger. You receive proof.ready, then Evidence Link JWT (evidence.link.issued), then timestamp confirmation (proof.anchor_confirmed). The test ledger has limited proof behavior — Sandbox.

  1. Pull consent metadata via the compliance feed — Consent Integration
  2. Merkle inclusion against the batch root
  3. Evidence Link JWT (EdDSA) via JWKS / receipt API
  4. TSA receipt bound to the Merkle root

Details: Proofs & Anchors · Welcome

Consent Platform is how your apps collect and record consent (SDK, widget, webhooks). Compliance / Evidence is how compliance portals and auditors consume the feed and verify proofs. See Welcome.


SDK and tooling​

Which packages should we use?​

PackageUse
@sammati/server-sdkBackend API client (npm)
@sammati/widget-sdkBrowser embed (npm)
@sammati/webhook-utilsWebhook verification (npm)
@sammati/cliTerminal client — available on request
sammati (Python)Minimal Python client — available on request

SDK Guide · CLI

Where are code examples?​

See SDK examples on the docs site, or the examples shipped with @sammati/server-sdk.

How do I install the SDK?​

npm install @sammati/server-sdk @sammati/widget-sdk @sammati/webhook-utils

That is the production Node path. CLI and Python are available on request until published — SDK Guide.


Portal and support​

What is Integration Center?​

In-portal developer home — sandbox, health, and quick links. Sandbox.

How do we go live?​

Production Checklist and portal Platform health.

Something is broken — what do we send support?​

x-request-id, timestamp, environment (test/live), operation name. Never send raw API keys.

Troubleshooting


Still stuck?​

  1. Troubleshooting
  2. Proofs & Anchors
  3. Contact support with your request ID