Connect a carrier account to EasyPost using the CarrierAccount API

domain: easypost.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. GET /v2/carrier_types to retrieve the list of supported carrier types and their required credential fields; each carrier type has a 'fields' object describing 'credentials' and optional 'test_credentials' with their field names and labels.
  2. POST /v2/carrier_accounts with a JSON body containing 'type' (the carrier type string, e.g., 'UpsAccount', 'FedexAccount'), 'description' (a human-readable label), and 'credentials' object with the carrier-specific fields identified in step 1.
  3. The response returns a CarrierAccount object with an 'id' that you can reference in shipment creation to restrict rate shopping to specific accounts.
  4. To use a connected carrier account for rates, include 'carrier_accounts' array (with objects containing the account 'id') in your shipment POST body; omitting this uses all connected accounts.
  5. To update credentials (e.g., after a carrier password change), PUT /v2/carrier_accounts/{carrier_account_id} with just the changed 'credentials' fields.

Known gotchas

Related routes

Create and manage EasyPost Carrier Accounts for multiple carriers using the CarrierAccount API
www.easypost.com · 5 steps · unrated
Connect your own UPS negotiated-rate account to EasyPost via the CarrierAccount API using the OAuth 2.0 MFA flow
docs.easypost.com · 5 steps · unrated
Shop and compare carrier rates programmatically using the EasyPost Rate Shopping API
easypost.com · 6 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans