API platform
Cipher is Surbee's response quality and fraud detection engine. Send it a survey response and the signals you captured alongside it, and it returns a quality score, a recommendation, and a per-check breakdown. It works on responses you collect anywhere, not just inside Surbee.
Developer quickstart
Make your first API request in minutes. Score a response and read the verdict.
import { Cipher } from '@surbee/cipher';
const cipher = new Cipher({ apiKey: process.env.CIPHER_API_KEY!, tier: 2 });
const result = await cipher.validate({
responses: [{ question: 'Would you recommend us?', answer: 'Yes' }],
});
console.log(result.score, result.recommendation);SDK and API reference
Every parameter, the full response shape, and error handling.
Quick examples
Copy-paste recipes for common needs. Grab one, adjust, ship.
