---
id: "tox_id"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["useraccounts"]
langs: ["common"]
quality: 70
url: "https://registry.apicrafter.io/datatype/tox_id"
---

# Tox ID (`tox_id`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Address of a user of the Tox peer-to-peer messenger: the 32-byte long-term public key, a 4-byte nospam value and a 2-byte XOR checksum, 38 bytes in all, written in hexadecimal as 76 characters.

- Personal data (PII): no
- Categories: User accounts in products and services (useraccounts)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[0-9A-Fa-f]{76}$
```

## Examples

- `A4C123B1612DD272D1371C17149D439536B3216FDAEEB975729FAE923D5A4FD12AABFE228F2` (invalid example) — 75 hexadecimal characters

## Supported by tools

- `pywhat`

## Sources

- doc: <https://toktok.ltd/spec.html>

## Quality

Score 70/100. Missing: examples, mapping (Wikidata, Schema.org, ...), translation.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/tox_id.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/useraccounts/tox_id.yaml>
