API reference / Devices, signing & primitives / TTEncrypt encode

TTEncrypt encode

Encrypt telemetry or registration JSON with TTEncrypt.

POSTapi.tikultra.com/v1/crypto/ttencrypt/encryptPrimitive · 2 credits
Upstream
local · TTEncrypt codec
Access
Every plan
Runs on
Primitive
Billing
Failed calls are free

Authorization

x-api-keyheader · stringrequired

Your API key. Create one in API keys.

Body

Send JSON with content-type: application/json.

plaintextstringrequired

UTF-8 JSON or string payload to encrypt. For example {"aid":1233,"app_name":"musical_ly","channel":"googleplay"}.

compressboolean

Gzip-compress before encrypting. For example true.

Response

A 200 returns JSON with stable field names. Every response carries x-credits-cost, x-credits-tier and x-credits-remaining.

Errors

Errors return a JSON body with a stable code and cost 0 credits. See Errors and retries.