Shipwell APIs use keys to authenticate requests.
Sandbox mode keys are used to access the Sandbox environment whereas Production mode keys access the production environment for your Shipwell supply chain account.
Your API keys can carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
Authentication to the API is performed via HTTP Basic Auth. Provide your API key as the basic auth username value. You do not need to provide a password.
If you need to authenticate via bearer auth (e.g., for a cross-origin request), use -H "Authorization: Bearer sw_test_4eC39HqLyjWDarjtT1zdp7dc" instead of -u sw_test_4eC39HqLyjWDarjtT1zdp7dc.
All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.
Updated about a month ago