Skip to main content

Authentication

APC's APIs use three authentication schemes — pick the one that matches the endpoint you're calling.

JSON body credentials (Label only)

The Label endpoint accepts credentials in the request JSON body:

FieldDescription
userIDYour APC user ID
accountNumberYour APC account number (e.g., 15255)
passcodeYour API passcode

See the Label reference for the full request body.

HTTP Basic Auth

The Rate, Track, Services, Update, and Void endpoints use HTTP Basic Auth:

  • Username: your account number (e.g., 15255)
  • Password: your API passcode

Most HTTP clients accept these as separate inputs; the wire-format header is Authorization: Basic <base64(accountNumber:passcode)>.

dtKey header (LandIT™)

The LandIT™ duties & taxes endpoint uses a separate API key:

  • Provide the API key issued to you by APC in the dtKey request header.
dtKey: your-base64-encoded-key