Authentication
All Owem API requests use Basic Authentication. You need:- API Key: Public identifier for your credential
- API Secret: Secret key (shown only once)
Header Format
Generating the Token
Obtaining Credentials
1
Access Owem Dashboard
Log in at app.owem.com.br with your account.
2
Navigate to Credentials
Go to Settings → Credentials.
3
Generate new credentials
Click Generate New Key and copy the API Secret immediately.
Security
IP Allowlist
For added security, the Owem API requires requests from pre-registered static IPs.Add your server’s public IP to the allowlist in the Owem dashboard before
making requests.
| Action | Path |
|---|---|
| Add IP | Settings → Security → Allowed IPs |
| Remove IP | Settings → Security → Allowed IPs |
Webhook Validation
When receiving webhooks from Owem, validate the source IP:| Owem IP Range |
|---|
34.134.50.53 |
35.238.101.57 |
HTTPS Required
All requests must use HTTPS with TLS 1.2+.Best Practices
Environment Variables
Never expose credentials in code. Use environment variables or secret
managers.
Key Rotation
Rotate your credentials periodically and after any suspected leak.
Secure Logs
Never log the API Secret. Mask credentials in debug logs.
Minimum Scope
Use different credentials for production and development.
Authentication Errors
| HTTP | Code | Description |
|---|---|---|
| 401 | UNAUTHORIZED | Invalid or missing credentials |
| 403 | FORBIDDEN | IP not in allowlist |
| 404 | API_KEY_NOT_FOUND | API Key does not exist |