List all carrier accounts

Returns a list of all carrier accounts connected to your Shippo account. These carrier accounts include both Shippo carrier accounts and your own carrier accounts that you have connected to your Shippo account.

Additionally, you can get information about the service levels associated with each carrier account by passing in the ?service_levels=true query parameter.
Using it appends the property service_levels to each carrier account.
By default, if the query parameter is omitted, the service_levels property will not be included in the response.

SecurityAPIKeyHeader
Request
query Parameters
service_levels
boolean

Appends the property service_levels to each returned carrier account

carrier
string (CarriersEnum)

Filter the response by the specified carrier

Enum: "airterra" "apc_postal" "apg" "aramex" "asendia_us" "australia_post" "axlehire" "better_trucks" "borderguru" "boxberry" "bring" "canada_post" "cdl" "chronopost" "collect_plus" "correios_br" "correos_espana" "colissimo" "deutsche_post" "dhl_benelux" "dhl_ecommerce" "dhl_express" "dhl_germany_c2c" "dhl_germany" "dpd_de" "dpd_uk" "estafeta" "fastway_australia" "fedex" "globegistics" "gls_us" "gophr" "gso" "hermes_germany_b2c" "hermes_uk" "hongkong_post" "lasership" "lso" "mondial_relay" "new_zealand_post" "nippon_express" "ontrac" "parcelforce" "passport" "pcf" "poste_italiane" "posti" "purolator" "royal_mail" "rr_donnelley" "russian_post" "sendle" "skypostal" "stuart" "swyft" "uds" "ups" "usps" "veho"
account_id
string

Filter the response by the specified carrier account Id

page
integer <int64>
Default: 1

The page number you want to select

results
integer <int64> <= 100
Default: 5

The number of results to return per page (max 100, default 5)

header Parameters
SHIPPO-API-VERSION
string

String used to pick a non-default API version to use

Example: 2018-02-08
Responses
200
400
get/carrier_accounts
Request samples
curl https://api.goshippo.com/carrier_accounts?service_levels=true \
-H "Authorization: ShippoToken shippo_test_3a47d23c032ca626fce863c48d0f93d63a394396"
Response samples
application/json
{
  • "next": "baseurl?page=3&results=10",
  • "previous": "baseurl?page=1&results=10",
  • "results": [
    ]
}