Authentication and authorization to the EasyPost API is done via Basic Auth, where your API key is your username and no password is required. EasyPost also requires that all communication with the API be secured using TLS. Requests made over HTTP or without a proper API Key will fail.
EasyPost provides two types of API key: Test and Production. You can test all EasyPost functionality using your Test key, for free, immediately after signing up.
NOTE: Treat your API keys as passwords and keep them secret. API Keys give full read/write access to your account, so they should not be included in public repositories, emails, client-side code, etc. If any of your API keys are compromised, you can disable them via the EasyPost Dashboard.
To collect your API keys, follow the steps below:
- Login to your EasyPost dashboard
- Click on your email --> API keys
- From here, you can collect your test and production keys