---
title: "POST /create-tokenizer"
method: POST
path: "/create-tokenizer"
tags: ["v2"]
---

# POST /create-tokenizer

`POST /create-tokenizer`

## Request body

- CreateTokenizer — createTokenizer is a command that creates a tokenizer item
  - `alphabet` string — Alphabet to use in regexp vaultless tokenization
  - `decoding-template` string — The Decoding output template to use in regexp vaultless tokenization
  - `delete_protection` string — Protection from accidental deletion of this object [true/false]
  - `description` string — Description of the object
  - `encoding-template` string — The Encoding output template to use in regexp vaultless tokenization
  - `encryption-key-name` string — AES key name to use in vaultless tokenization
  - `item-custom-fields` object — Additional custom fields to associate with the item
  - `json` boolean — Set output format to JSON
  - `metadata` string — Deprecated - use description
  - `name` string, required — Tokenizer name
  - `pattern` string — Pattern to use in regexp vaultless tokenization
  - `tag` string[] — List of the tags attached to this key
  - `template-type` string, required — Which template type this tokenizer is used for [SSN,CreditCard,USPhoneNumber,Email,Regexp]
  - `token` string — Authentication token (see `/auth` and `/configure`)
  - `tokenizer-type` string, required — Tokenizer type
  - `tweak-type` string — The tweak type to use in vaultless tokenization [Supplied, Generated, Internal, Masking]
  - `uid-token` string — The universal identity token, Required only for universal_identity authentication

## Response `200`

createTokenizerResponse wraps response body.

- CreateTokenizerOutput
  - `name` string

## Other responses

- `default` — errorResponse wraps any error to return it as a JSON object with one "error" field.

---

[API](https://skmtc.net/akeyless/apis/akeyless-api.md) · [All operations](https://skmtc.net/akeyless/apis/akeyless-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/akeyless/akeyless-api/versions/0ceb25634501/schema)
