eApp optionally uses the United States Postal Service (USPS) Web Tools APIs to verify address information.
To enable address validation:
-
@gsa.govemail servers block the registration email sent byregistration@shippingapis.com. It looks too much like spam and doesn't even make it to the spam folder. Try registering with an alternative email address if the registration email does not arrive within a few minutes.
-
Configure the Web Tools username
- In the
.envfile used to build eApp (or at runtime in the eApp API backend process environment), set theUSPS_API_API_KEYenvironment variable to the value of the username (e.g.,USPS_API_API_KEY=123ABCDE4567).
- In the
-
The registration email will provide a username and a password. Only the username is required for the API used by eApp.
-
The Development Guide indicates that each website where eApp is deployed should have a unique API username. If username reuse is detected, the application could be subject to immediate loss of access to the USPS server.