API Key
Every Wede tenant has an API key. You can find yours in Settings.
API keys have the format: wede_live_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Using your API key
Pass your API key in the x-wede-api-key header:
JWT Authentication
For user-level access (dashboard, admin operations), authenticate with email and password to receive a JWT token:
Response:
Use the token in the Authorization header:
JWT tokens expire after 8 hours.
User Roles
Wede uses role-based access control. Each user has one of the following roles:
Security
Never expose your API key in client-side code, public repositories, or logs.
- Store API keys in environment variables
- Rotate keys regularly via the dashboard
- Use the minimum required permissions for each integration
- All API traffic is encrypted in transit over HTTPS