Welcome to the ChatterCrypt API documentation. Secure your messages and files using these endpoints.
All API requests should be sent to:
https://chattercrypt.com/api
Example API Call:
https://chattercrypt.com/api/encrypt-file/MY_API_KEY
ChatterCrypt supports both individual users (via GUI or API) and businesses integrating our API into their applications.
API key
.
customer_id
parameter in the API request body to track and rate limit per customer. If omitted, limits apply to the API key
.
For businesses integrating the API, it is crucial to include the customer_id
parameter in both Encrypt and Decrypt calls. This ensures that rate limits are applied per customer instead of the API key
.
If the customer_id
is omitted, all API requests will be counted against the single API key
, potentially impacting the experience of all your customers due to shared rate limits.
Always include a unique customer_id
to provide a seamless experience for your customers and avoid interruptions caused by rate limit breaches.
Please note that the management and uniqueness of customer_id values are solely the responsibility of the business integrating the API; ChatterCrypt does not store or manage these IDs and uses them solely for the purpose of applying rate limits to individual customers rather than the API key as a whole.
Endpoint | Rate Limit | Applies To | Description |
---|---|---|---|
/encrypt/<api_key> | 60 requests per minute | API Key or Customer ID | Encrypts text messages. |
/decrypt/<api_key> | 60 requests per minute | API Key or Customer ID | Decrypts previously encrypted text messages. |
/encrypt-file/<api_key> | 10 requests per minute | API Key or Customer ID | Encrypts files. |
/decrypt-file/<api_key> | 10 requests per minute | API Key or Customer ID | Decrypts previously encrypted files. |
/check_api_key_balance | 1 request per 10 minutes | API Key | Retrieves the remaining token balance for an API key. |
/encrypt/<api_key>
{
"message": "Hello, World!",
"shared_secret": "This is a secret passphrase"
}
{
"message": "Hello, World!",
"shared_secret": "This is a secret passphrase",
"customer_id": "customer123"
}
/decrypt/<api_key>
{
"encrypted_message": "[abcde]-[fghij]-[klmnopqrst]",
"shared_secret": "This is a secret passphrase"
}
{
"encrypted_message": "[abcde]-[fghij]-[klmnopqrst]",
"shared_secret": "This is a secret passphrase",
"customer_id": "customer123"
}
/encrypt-file/<api_key>
/decrypt-file/<api_key>
/check_api_key_balance
{
"Content-Type": "application/json"
}
{
"api_key": "your-api-key-here"
}
{
"status": "success",
"tokens_remaining": 100,
"is_paying_customer": true
}
1 request per 10 minutes