Direct API
Use the Direct API when your backend authenticates first, then sends bearer-token requests directly to Crittora at https://api.crittoraapis.com.
Choose your runtime
JavaScript / TypeScript
Package: @crittora/sdk-js
Best fit: Node-first SDK with CrittoraClient, Cognito helper, and legacy shim
Open JS quickstartPython
Package: crittora-sdk-python
Best fit: Typed sync and async clients, explicit auth wiring, and migration docs
Open Python quickstartRaw HTTP
Package: No SDK required
Best fit: Use direct bearer-token requests if you already have your own transport layer
Open API referenceDirect API contract
| Topic | Details |
|---|---|
| Authentication | Authenticate first, then send a bearer token on API requests. |
| Audience | Trusted backend services only. |
| Operations | encrypt, decrypt, sign-encrypt, decrypt-verify, authority/verify for CAAB broker verification |
| SDK options | JavaScript/TypeScript, Python, or raw HTTP |
CAAB authority verification
Partner-hosted clients that receive a CAAB authority envelope can use POST /v1/authority/verify to get a scoped verification decision. The endpoint currently supports the donorops-v2 profile and does not return decrypted envelope contents.
Recommended path
Start with the SDK for your runtime, validate auth and permissions against one encrypt/decrypt flow, then use the API reference pages for operation names and payload concepts.
Direct API summary
Best for teams that want explicit control over auth, retries, transport, and runtime-specific SDK behavior.
