Token Creation
- Admin → CWS External Sync → API Tokens
- Create token with specific scopes
- Token shown only once — copy immediately
Authentication, tokens, and best practices
Tokens
Token Creation
Token Scopes
Token Storage
Access Control
Restrict token access to specific IP addresses. Optional but recommended for production.
Format
192.168.1.100 or 10.0.0.0/8Encryption
All API calls must use HTTPS
HTTP requests are blocked. Tokens are sent only over encrypted connections.
File Transfer
✓ SFTP + Fingerprint
Encrypted, best practice
≈ FTPS with TLS
Encrypted, acceptable
✗ FTP Plain
No encryption, avoid production
Checklist
☑ HTTPS enabled with valid SSL certificate
☑ API tokens stored in environment variables
☑ IP allowlist configured
☑ Use minimal scopes per token
☑ Set token expiration dates
☑ SFTP with host key verification
☑ Monitoring and logging enabled
☑ Backup and disaster recovery plan