Obtain a token
Use the token
Common auth issues
401 Unauthorized: token is missing, expired, or malformed.403 Forbidden: token is valid but lacks required access role.- Token from a different environment: staging token used against production API.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Authenticate with Tether APIs using JWT bearer tokens.
curl -X POST https://your-instance.example.com/api/auth/login \
-H "Content-Type: application/json" \
-d '{
"email": "your-email@example.com",
"password": "your-password"
}'
const response = await fetch('https://your-instance.example.com/api/auth/login', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
email: 'your-email@example.com',
password: 'your-password',
}),
});
const { token } = await response.json();
curl https://your-instance.example.com/api/auth/verify-token \
-H "Authorization: Bearer <your-jwt-token>"
401 Unauthorized: token is missing, expired, or malformed.403 Forbidden: token is valid but lacks required access role.