API Authentication
Getting an API Token
Via CLI
arm login
arm config get token
Via Dashboard
- Go to Settings → API Tokens
- Generate new token
- Copy and store securely
Using the Token
Include in Authorization header:
curl -H "Authorization: Bearer YOUR_TOKEN" \
https://api.tunnelapi.in/api/projects
Token Expiration
Tokens expire after 7 days. Refresh by re-authenticating.
Rate Limits
| Endpoint | Limit |
|---|---|
| Authentication | 5/min |
| API calls | 100/min |
| Tunnel creation | 10/min |