How to Create USPS API Credentials
Overview
This article walks you through the steps for creating USPS API credentials using the
USPS Developer Portal↗. These credentials allow your your Spirit Sale stores to securely access USPS APIs for services such live shipping rates.
Steps to Create API Credentials
1. Onboard via the Customer Onboarding Portal (COP)
Click Customer Onboarding Portal (COP).
Log in with your USPS Business Customer Gateway account or click Create New Account to register.
Complete the profile with your email, company address, and contact information.
If required, add your Enterprise Payment Account.
2. Log into the USPS Developer Portal
Sign in using your USPS Business Account credentials.
You’ll land on the Developer Portal Dashboard.
3. Create an App
In the left-hand menu, click Apps.
Select Add App.
Complete the form:
Click Add App.
4. Retrieve Your API Credentials
4. Save Your USPS API Credentials to Spirit Sale
Login to your Spirt Sale account.
From the Dashboard go to Setting --> Shipping Setup --> Select USPS under
Store them securely (for example, in environment variables or a secrets manager).
Enter your Consumer Key into the USPS Consumer Key field then the Secret into the Consumer Secret field.
Press the Green Up button.
Users should not toggle on "USE USPS LEGACY SERVER" unless your USPS API credentials were created under the USPS Legacy Developer portal at developer.usps.com, and not at developers.usps.com.

Helpful Tips
Your default app subscription typically includes base API and with a quota of ~60 calls/hour. Contact USPS API Support to increase this.
Support: For issues, use the “Email Us” form in the Developer Portal or contact USPS API support at apisupport@usps.gov.
Related Articles
Updating Your USPS Credentials in Spirit Sale (Migration to New USPS APIs)
Who Does This Apply To This information only applies to Spirit Sale stores still using the older USPS Web Tools (Legacy) API for live shipping rates. You do NOT need to follow this guide if: You don't use USPS for shipping. You already migrated to ...
USPS Shipping Rates Not Showing or Intermittent at Checkout
If USPS shipping rates are not appearing at checkout, appear inconsistent, or occasionally fail to load, this is typically related to how the United States Postal Service (USPS) API handles request limits. Why This Happens USPS provides real-time ...
Updating UPS Credentials to OAuth 2.0 in Spirit Sale
Who This Applies To This update only applies to stores currently using legacy UPS credentials (Access Key authentication). If your store is already using UPS OAuth credentials (Client ID and Client Secret), no action is required. Important Notice UPS ...
How to Get UPS API Credentials for Spirit Sale
Overview To use UPS shipping rates in Spirit Sale, you must create API credentials through UPS. You will generate: UPS Client ID UPS Client Secret These credentials are required to connect your UPS account and display shipping rates at checkout. ...
How to Set Up Your Stripe API Keys With Spirit Sale
Overview Spirit Sale integrates directly with Stripe to process payments. To connect your store, you’ll need your live publishable key and live secret key from Stripe. Important Notes: Only standard live keys are supported. Restricted keys will not ...