---
title: AI Text Anonymization API
slug: anonymize-text
url: https://apyverse.com/apyhub/service/anonymize-text
provider: ApyHub
categories: ["Security & Privacy"]
auth: api_key
---

# AI Text Anonymization API

Remove or mask sensitive details in plain text. Send text and optional language or Azure credentials, and get anonymization results back.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `ai/text/anonymize` | What it does Anonymizes text content by sending a text string in the request body and returning a J… | 500 |

## About

## What it does
Text Anonymizer helps you remove or mask sensitive details from plain text. Send a `text` string, and you can also provide `language` plus a `requested_service` value of `azure` or `apyhub` to choose the processing backend. If you use Azure, you can include an `azure` object with `key`, `region`, `endpoint`, `account_id`, or `access_token` credentials.

Use it when you need to share notes, support tickets, chat logs, or user submissions without exposing personal data. A common workflow is cleaning internal transcripts before sending them to analytics, QA, or LLM pipelines. The service is designed for privacy-focused text handling rather than general content rewriting.

The response returns a `data` object with `azure` and/or `apyhub` result objects, depending on the backend you request. That keeps the integration simple: you send text in, and read the anonymization result back from the provider you chose.

Text Anonymizer fits into moderation, compliance, and secure data-processing flows where raw user text should not be stored or forwarded unchanged.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyverse.com/apyhub/service/anonymize-text
