TRI TRI APIapi.tri1space.com

Authentication

Authentication

Authenticate requests to api.tri1space.com

Authentication

Required for protected routes

Send the staging service token with either supported header. Do not put service tokens in browser client code.

Bearer token

Authorization: Bearer <TRI_API_SERVICE_TOKEN>

API key header

X-TRI-API-Key: <TRI_API_SERVICE_TOKEN>

cURL

curl -H "Authorization: Bearer $TRI_API_SERVICE_TOKEN" \
  https://api.tri1space.com/v1/identity/tri1qexample/status

JavaScript fetch

const response = await fetch('https://api.tri1space.com/v1/identity/tri1qexample/status', {
  headers: {
    Authorization: `Bearer ${process.env.TRI_API_SERVICE_TOKEN}`
  }
});

const identityStatus = await response.json();
Golden Rule

Never expose, store, log, transmit, or reconstruct private keys, seed phrases, backup keys, recovery keys, or decrypted message bodies.