About this endpoint
What it does
Decrypts a Fernet AES-256-CBC ciphertext token using the matching key and returns the resulting plaintext in the response body.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| key | String | Yes | The decryption key used to match the ciphertext token. |
| ciphertext | String | Yes | The ciphertext token to decrypt. |
Response
Returns a JSON object with a plaintext string field containing the decrypted text.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| plaintext | String | No | The decrypted plaintext. |