Skip to main content
POST
Create a language or script block

Authorizations

Authorization
string
header
required

API key for account management endpoints. Use your api_ prefixed token.

Body

application/json
language
string
required

ISO 639-1 code (lang) or ISO 15924 code such as Cyrl (script)

Example:

"ru"

match_type
enum<string>

Inferred from the code shape when omitted

Available options:
lang,
script
threshold
number
default:0.6
Required range: 0 <= x <= 1
action
enum<string>
default:DENY
Available options:
DENY,
QUARANTINE
domain
string | null

Recipient domain to scope to. Omit for the whole account.

enabled
boolean
default:true

Response

Created

success
boolean
Example:

true

uuid
string<uuid>
rule
object