Obtain a FedEx OAuth 2.0 access token using your client credentials.
POST /track/v1/trackingdocuments with a JSON body containing 'trackDocumentDetail' with 'documentType' set to 'SIGNATURE_PROOF_OF_DELIVERY' and 'trackingInfo' array of objects each with 'trackingNumberInfo' (containing 'trackingNumber').
The response includes 'output.localization' and a list of document results; each result contains 'pod.encodedLabel' as a Base64-encoded PDF of the POD document.
Decode the Base64 string and write it to a PDF file; the document contains the recipient signature image, delivery timestamp, and delivery address.
POD documents are only available for delivered shipments — check 'trackResponse' event status before requesting the document to avoid unnecessary API calls.
Known gotchas
POD documents may not be available immediately after a delivery scan; there can be a delay of up to several hours before the signed POD is processed and available via API.
This endpoint requires a FedEx account with POD retrieval entitlements; not all account types include programmatic POD access by default.
Base64-encoded POD content can be large for multi-page documents; ensure your response parsing handles large payloads without truncation.
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp