API Documentation

Base URL

https://api.tessaliq.com

Authentication

All API requests require a Bearer token in the Authorization header.

Authorization: Bearer tsl_live_your_key_here
POST/v1/register

Register a new organization and get API keys.

{
  "name": "My Company",
  "email": "dev@mycompany.eu"
}
POST/v1/sessionsAuth

Create a new verification session.

{
  "policy": "age_18_plus",
  "external_ref": "user_123"
}
GET/v1/sessions/:idAuth

Get the status of a verification session.

GET/v1/sessionsAuth

List all verification sessions.

POST/v1/sessions/:id/proof

Submit a ZK proof for verification. Called by the SDK.

{
  "proof": [/* proof bytes */],
  "public_inputs": ["0x...", "0x..."],
  "nonce": "session_nonce"
}