API Key Authentication
All Shakesco API requests require authentication using bearer tokens, regardless of which API product you’re using.Getting Your API Key
1
Create account
Sign up at users.shakesco.com
2
Get API key
Navigate to API Tokens in your dashboard and generate a key
Using Your API Key
Include your API key in theAuthorization header for all requests:
API Products & Base URLs
Security Best Practices
Recommended:- Always call Shakesco APIs from your backend, never from a browser or mobile app
- Store API keys in environment variables on your server
- Rotate keys periodically
- Never commit keys to version control
Testing
For Auto-Payments you can verify integration without charges using the test endpoints:/delegate_address: Get test user address/buss_delegate_address: Get test business address
Authentication Errors
401 Unauthorized Missing or invalid API key:- Verify API key is correct
- Check
Bearerprefix is included - Ensure the key is active in your dashboard
- Verify the account is fully set up
- Ensure .sns username is registered (for payment links)