Bearer token
Authorization: Bearer <TRI_API_SERVICE_TOKEN>
Authentication
Send the staging service token with either supported header. Do not put service tokens in browser client code.
Authorization: Bearer <TRI_API_SERVICE_TOKEN>
X-TRI-API-Key: <TRI_API_SERVICE_TOKEN>
curl -H "Authorization: Bearer $TRI_API_SERVICE_TOKEN" \
https://api.tri1space.com/v1/identity/tri1qexample/status
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();
Never expose, store, log, transmit, or reconstruct private keys, seed phrases, backup keys, recovery keys, or decrypted message bodies.