API reference / Devices, signing & primitives / Passport identifier hash
Passport identifier hash
Compute Passport XOR-5 hex, TTP identifier SHA-256 and session scramble values.
- Upstream
local · Passport XOR5 & TTP hash- 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.
valuestringrequired
Email, phone, username or session token. For example [email protected].
identifier_typestring
email, phone, username or uid. One of email, phone, username, uid.
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.