Authentication
Requests are authenticated with the Api-Key header.
Api-Key: abc123def456ghi789jkl012mno345pq- Token value: 32-character string issued to your account.
- Required on every request. Missing or invalid token →
401.
Example
Section titled “Example”curl -H "Api-Key: $API_KEY" https://api.telesint.dev/v1/me/import os, requests
response = requests.get( "https://api.telesint.dev/v1/me/", headers={"Api-Key": os.environ["API_KEY"]}, timeout=10,)response.raise_for_status()print(response.json())const res = await fetch('https://api.telesint.dev/v1/me/', { headers: { 'Api-Key': process.env.API_KEY },});if (!res.ok) throw new Error(`HTTP ${res.status}`);console.log(await res.json());Rotating the token
Section titled “Rotating the token”Call POST /v1/me/reset-token with the current token,
or rotate via the bot. Once processing succeeds, the old token is invalidated
immediately.
Keeping the token safe
Section titled “Keeping the token safe”- Never commit the token to git. Use environment variables or a secret manager.
- Don’t ship the token into browser JavaScript — this API is server-to-server.