Version 3 APIs will require the OAuthv3 endpoint.įirst review the published APIs through the API Catalog page on the USPS APIs Developer Portal. Note: The OAuthv1 endpoint is required for API versions 1 and 2. To retrieve your Bearer Token, you will need the consumer key (client_id) and consumer secret (client_secret) from the app you created. This step is required to access all Version 3 APIs.Īll USPS APIs require an OAuth 2.0 access token to be conveyed in the Authorization header, using the Bearer token scheme. This includes information resources such as payment accounts, permits, CRID's, MID's, and subscriptions. Navigate to the USPS Customer Onboarding Portal to authorize the client application you registered on the USPS APIs Developer Portal in order to access your information resources shared with the USPS. Authorize Application to Access Protected Information Resources These credentials are required for generating the OAuth token.ĥ. Select the application you just registered and retrieve your Consumer Key and Consumer Secret from the credentials section. Check the box to accept Terms and Conditions, and Privacy Policy.Enter "App Name" for your application (required).Create an App (Must be logged into USPS Developer Portal)Ĭlick the Apps button from the Menu Bar and complete the following steps to create an App: Log in to the USPS Developer Portal USPS Developer Portal (login using credentials from Step 1) using your USPS business account credentials once you have completed signing up.ģ. Sign Up for a Business Customer Gateway account using your USPS business account credentials (this will take you to the Business Customer Gateway signup page). Follow these steps and start using USPS APIs:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |