How to Get FedEx API Access: from Sandbox to Production
To get FedEx API access, create a project in the FedEx Developer Portal, add the APIs your application needs, and use the project’s sandbox credentials to build and test your integration. When your tests are complete, follow the portal’s production setup process to obtain production credentials, then switch your application to the production endpoints. Sandbox credentials and test responses are not a substitute for production access.

The developer or integration team usually owns the technical work, but an account administrator or business owner may need to supply FedEx account information and authorize the intended use. Check the requirements shown in your project before planning a launch date; the steps can differ according to the APIs and account arrangement involved.
Before you create a project: define what the integration must do
“FedEx API access” is not a single feature. A tracking integration needs different API operations and test cases from an application that creates shipping labels. Start with the workflow your users will actually perform. This keeps the project configuration, permissions, and production review focused on the right capabilities.
- Tracking: Retrieve shipment events or status for a tracking number. Decide how your application will handle unknown numbers, missing events, and repeated requests.
- Shipping: Create shipments and process labels. Document the shipper, recipient, service, package, customs, and account information your workflow may require.
- Rates or other services: Identify the specific operation and its required inputs before adding an API to the project. Do not assume access to one operation grants access to every FedEx service.
Use the applicable API documentation in the FedEx Developer Portal to confirm request fields, responses, supported scenarios, and current requirements. If you are replacing an older integration, first identify its existing API family and credentials. A new project should be planned against the current documentation rather than assuming that an older request format can be reused unchanged.
Step 1: Set up the right portal and account access
Sign in to the FedEx Developer Portal and follow its instructions for creating or joining an organization and project. Make sure the person setting up the project can access the relevant FedEx account details and coordinate with whoever controls account permissions. A developer may be able to write code but still be unable to finish production setup without the business-side information requested in the portal.
Before continuing, record who owns the portal project, who can manage its credentials, and which application will use them. For a team integration, avoid placing the only project access under an individual’s personal workflow. Establish how another authorized team member will maintain the integration if the original developer leaves or changes roles.
If your application will act for multiple shipping accounts or customers, do not assume that one project and one account authorization cover every arrangement. Check the relevant FedEx documentation and your account setup before designing a multi-account workflow. Clarifying this early is easier than changing an authentication model after the application is built.
Step 2: Create a project and select the APIs you need
Within the portal, create a project for the application and add the APIs that match its intended workflow. Use a project name that your operations and engineering teams can recognize. Select the smallest practical set of APIs for the first release; additional capabilities can be evaluated when there is a real use case for them.
Review each selected API’s documentation before implementation. The Track API documentation, for example, is the relevant starting point for a tracking workflow, while the Ship API documentation applies to shipment creation. Confirm the operations your project exposes rather than inferring them from an API’s name alone.
The project view should be your source of truth for the credentials and environments available to you. Copy credentials into an approved secrets manager, not a shared document, client-side application, or source repository. Keep sandbox and production values separate, and limit access to people and services that need them.
Step 3: Authenticate in the sandbox
FedEx APIs use an OAuth token flow. Your application sends its project credentials to the appropriate authorization endpoint and then includes the resulting bearer token in calls to the selected API. Consult the portal’s authentication instructions for the exact fields required by your project and use the sandbox endpoint while testing. Do not send production credentials to the sandbox or assume a token issued for one environment will work in the other.
Build authentication as a reusable application component rather than requesting a new token for every business operation. Handle token expiration based on the token response and FedEx documentation, and prevent simultaneous workers from repeatedly refreshing the same credentials. Log enough information to troubleshoot an authorization failure, but never log the client secret, full bearer token, or other sensitive account data.
For the first request, use a documented sample for an API included in your project. A successful token request confirms only that authentication worked. You still need to verify that the application can call the intended operation and interpret its response. If an API call fails, separate authentication problems from request-validation errors: a valid token will not repair a missing field or an unsupported business scenario.
Step 4: Test the workflow, not just the connection
Sandbox testing should establish that your application sends valid requests and handles the documented range of responses. It should not be treated as proof that every real-world shipment, account configuration, or delivery event will behave the same way. Test fixtures and sandbox behavior may not reproduce the timing and variability of live operations.
For a tracking integration, check how your system handles a valid test response, an invalid or unavailable tracking number, an empty or incomplete event history, and a later status update. Confirm that your database does not create duplicate events when the same response is processed twice. If your user interface displays an estimated delivery date or delivery confirmation, show it only when the response supplies information that supports it.
For a shipping integration, validate the full path from form input to the returned shipment data and label. Check required addresses, package details, service selection, international fields where applicable, and error messages that an operator can act on. Treat any label generated during testing according to FedEx’s stated sandbox guidance; do not assume that a test label is valid for a live package.
Across either workflow, include tests for timeouts, malformed responses, credential failures, and retries. Retry only when appropriate for the operation. In particular, a timed-out shipment-creation request deserves careful handling: blindly repeating a transaction without first checking its outcome can create operational confusion.
Step 5: Prepare and request production access
When the sandbox integration meets your acceptance criteria, return to the project in the developer portal and follow the production setup instructions presented there. Provide the account and application information the portal requests, and verify that the APIs needed in production are included. Do not assume that creating a sandbox project automatically enables live calls or that every API follows the same activation path.
Before switching environments, have the business owner and developer agree on a release checklist:
- Confirm the FedEx account and project belong to the intended organization and application.
- Confirm that the production project exposes the required API operations.
- Store production credentials separately from sandbox credentials and restrict their use.
- Configure production authorization and API base URLs from the current FedEx documentation.
- Set up monitoring for authentication failures, API errors, request latency, and failed business transactions.
- Define a rollback plan that stops live requests without deleting records needed for reconciliation.
Any production eligibility checks or additional account steps should be taken from the portal and the applicable API documentation, not from a generic integration checklist. If an option is unavailable or a requirement is unclear, resolve it through the official developer support path before deploying code that depends on it.
Step 6: Make a controlled production launch
Replace sandbox credentials and endpoints through environment configuration, not by editing request logic in multiple places. Make one authorized, low-risk production test that reflects your actual workflow. For tracking, use a shipment you are entitled to track and check that your application interprets the response correctly. For shipping, coordinate a real shipment test with the account owner so that labels, charges, and operational handling are intentional.
Compare the live result with the expected business outcome, not merely the HTTP status. A successful API response does not by itself prove that a recipient address, selected service, displayed tracking status, or stored label is correct. Have an operator verify the result in the system they use to fulfill or support the shipment.
After launch, monitor failures by operation and environment. Record request identifiers or other diagnostic information made available by FedEx, while keeping personal information and credentials out of routine logs. Review how your application handles rate limits or temporary failures according to the documentation for the API in use. Keep a documented process for credential changes and for restoring service if a secret is exposed.
Where FedEx API access fits—and where it does not
Direct FedEx API access is the appropriate route when your application needs to invoke FedEx operations under your own project and account arrangement, particularly for carrier-specific shipping workflows. A multi-carrier tracking service addresses a different problem: collecting tracking information across carriers through one integration. For example, 17TRACK’s Tracking API is relevant if the primary requirement is shipment visibility across carriers. It does not provide FedEx Developer Portal credentials or replace the FedEx production setup described above. Choose based on the action the application must perform, rather than treating the two approaches as interchangeable.
FAQ
Do I need a FedEx account to use the APIs?
Start with a FedEx Developer Portal login and check the requirements for your chosen project and API. Live shipping workflows may also require the appropriate FedEx account information and authorization. The person writing the integration should coordinate with the account owner rather than assuming a portal login alone completes production setup.
Can I use my sandbox credentials in production?
No. Treat sandbox and production as separate environments, each with its own applicable credentials and endpoints. Obtain and configure production access through your project’s portal workflow before making live requests.
Why does my API call fail when token generation succeeds?
Token generation tests authentication, not the validity of every subsequent request. Check that the selected API is in your project, that you are using the matching environment, and that the operation, headers, and request body follow its documentation. Inspect the error response without exposing credentials in logs or support tickets.
Does a successful sandbox test mean my integration is ready to launch?
Not on its own. Sandbox tests help validate request construction and error handling, but a production launch also requires the correct live access, account configuration, secure credential storage, operational checks, and a controlled real-world test.
Should I use the FedEx API or a tracking API?
Use FedEx’s APIs when your application needs the FedEx operations available to your project, especially carrier-specific shipping functions. If your requirement is to consolidate tracking across multiple carriers, evaluate a multi-carrier tracking API separately. Neither choice should be assumed to grant access to the other’s credentials or operations.
Sources
- FedEx Developer Portal — project setup, API catalog, authentication, and environment guidance.
- FedEx Track API documentation — tracking operations and request guidance.
- FedEx Ship API documentation — shipment creation and related integration guidance.
- 17TRACK Tracking API — product information for the separate multi-carrier tracking use case.


