Skip to main content

Postman Collection

A ready-to-import Postman collection covers every endpoint documented here, pre-configured with variables for your account credentials.

Postman

Download the APC Postman collection

How to use

  1. Download the file linked above.
  2. In Postman, choose Import → drop in the JSON file.
  3. Open the collection's Variables tab and fill in your credentials:
    • username and password — your account number and passcode. Used as HTTP Basic Auth for the Rate, Track, Services, Update, and Void requests (Postman builds the Authorization header for you).
    • userID, accountNumber, passcode — used in the Label request body.
    • dtKey — the LandIT key issued to you by APC (for the Duties & Taxes requests). This is an opaque key, not built from your account number and passcode.
    • packageId — a package ID or full tracking number (for the Track, Update, and Void requests).
  4. Send any request — the variables are referenced via {{username}}, {{userID}}, {{dtKey}}, {{packageId}}, etc.

If you don't use Postman, every endpoint in this site also shows equivalent cURL, Node.js, and Python snippets.