Step 1: Create an Account
Sign up for a Blindfold account to get started.Create Account
Create your free account at app.blindfold.dev
Step 2: Generate an API Key
Once logged in, navigate to the API Keys section to create your first API key.1
Go to API Keys
In the dashboard, click on API Keys in the sidebar navigation.
2
Create New Key
Click the Create API Key button.
3
Name Your Key
Give your API key a descriptive name (e.g., “Development”, “Production App”).
4
Copy Your Key
Copy the generated API key and store it securely. You will not be able to see it again.
Step 3: Make Your First API Call
Choose your preferred integration method and make your first request.- Python
- JavaScript
- cURL
Install the Python SDK and tokenize your first text.
Understanding the Response
Every successful API call returns:- text: The anonymized/protected text with sensitive data replaced
- mapping: A dictionary mapping tokens back to original values (for tokenize endpoint)
- entities_count: Number of sensitive entities detected
- detected_entities: Detailed information about each detected entity
The
mapping field is only returned by the /tokenize endpoint, as it is needed for detokenization. Other methods like /mask, /redact, and /encrypt do not return mappings.Next Steps
Now that you have made your first API call, explore more features:Python SDK Guide
Learn about all Python SDK features and methods.
JavaScript SDK Guide
Explore JavaScript/TypeScript SDK capabilities.
REST API Reference
Complete API endpoint documentation.
See Examples
Real-world use cases and integration patterns.
Common Use Cases
Protecting data before sending to AI models
Protecting data before sending to AI models
Tokenize user input before sending to OpenAI, Anthropic, or other LLMs, then detokenize the AI response.
Anonymizing data for analytics
Anonymizing data for analytics
Use hashing to create consistent identifiers without storing real PII.
Displaying partial information
Displaying partial information
Mask sensitive data for UI display while maintaining usability.
Need Help?
Support
Contact us at [email protected] for support and questions.