---
title: "Encrypt TXT Record"
method: POST
path: "/v1/encrypt"
tags: ["Encrypt"]
---

# Encrypt TXT Record

`POST /v1/encrypt`

## Request

- Base URL: `https://api.forwardemail.net`
- URL: `https://api.forwardemail.net/v1/encrypt`
- Auth: HTTP basic

We allow you to encrypt records even on the free plan at no cost. Privacy should not be a feature, it should be inherently built-in to all aspects of a product. As highly requested in a [Privacy Guides discussion](https://discuss.privacyguides.net/t/forward-email-email-provider/13370) and on our [GitHub issues](https://github.com/forwardemail/forwardemail.net/issues/254) we've added this.

## Request body

- object
  - `input` string: Any valid Forward Email plaintext TXT record

## Response `200`

Text encrypted successfully

- object
  - `encrypted` string: Encrypted text

## Other responses

- `400`: Error response
- `401`: Error response
- `429`: Rate limit exceeded (50 requests for 'encrypt')

---

[API](https://skmtc.dev/forwardemail/apis/forward-email-api.md) · [All operations](https://skmtc.dev/forwardemail/apis/forward-email-api/llms.txt) · [OpenAPI document](https://skmtc.dev/forwardemail/apis/forward-email-api/revisions/ecefab4527f6?raw)
