API Documentation
Learn how to use our API service to secure your data, ensuring that it remains private and protected from AI detection.
Text Encryption
Our Text Encryption API allows you to encrypt text data, making it unreadable by AI systems. Below, you’ll find details on how to interact with the API, including the fields returned and status codes.
Response Fields
- status: Indicates the success or failure of the request (e.g., "success", "error").
- message: A human-readable message providing details about the request.
- data: The encrypted text returned by the API.
- timestamp: The time at which the request was processed.
Status Codes
- 200 OK: The request was successful and the data is returned in the response.
- 400 Bad Request: The request was invalid, often due to missing or incorrect parameters.
- 401 Unauthorized: Authentication failed. You may need to provide a valid API key.
- 500 Internal Server Error: An error occurred on the server side. Try again later.
curl -X POST https://api.example.com/encrypt \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{ "data": "Text or content to be encrypted", "type": "text" }'