API Reference
API Reference
Section titled “API Reference”While we recommend using our official SDK, you can always build against the Notabotly raw HTTP API directly.
Base URL: https://api.notabotly.com
Generate Session
Section titled “Generate Session”POST /session/init
Creates a new verification session.
Headers:
Authorization: Bearer <api_key>Content-Type: application/jsonBody:
{ "app_id": "app_abc123", "redirect_url": "https://example.com/after-verify"}Response (200 OK):
{ "session_id": "sess_xyz789", "verify_url": "https://verify.notabotly.com/sess_xyz789", "expires_in": 600}Possible Errors:
401→ Invalid or missing API key403→ App not found or key mismatch429→ Monthly credit limit reached400→ Missing required fields
Listen to Status
Section titled “Listen to Status”GET /session/status/:session_id
Streams the session result using Server-Sent Events (SSE).
Headers:
Authorization: Bearer <api_key>Accept: text/event-streamEvents yield JSON data payload:
data: {"status": "pending"} ← sent immediately on connectdata: {"status": "true"} ← verification succeededdata: {"status": "false"} ← WebAuthn faileddata: {"status": "timeout"} ← 10 minutes passedThe connection automatically closes after any terminal event (true, false, timeout).