Connect in 5 minutes

One path from key to first label: five steps, ready-made snippets with a copy button. Detailed guide sections remain below in the menu.

1. Get a key

Log in to your dashboard, open the “API” section, and create a test key sk_test_…. The key is shown once. Save it in an environment variable; do not embed it in code.

Open API keys

shell
export SHIPPICKUP_API_KEY=sk_test_your_key_here

2. Check connection and get the client

The ping method is open and requires no key. If you prefer a ready client, download a single file with no dependencies: rates, purchase, cancellation, tracking, and webhook verification are all included.

curl https://api.shippickup.com/v1/ping \
  -H "Authorization: Bearer $SHIPPICKUP_API_KEY"

Ready-made solutions for CRM and services →

3. Get rates

Specify origin, destination, and parcel (weight in grams, dimensions in millimeters). The response offers options sorted by ascending price, each with a rate_id valid for 15 minutes.

curl -X POST https://api.shippickup.com/v1/rates \
  -H "Authorization: Bearer $SHIPPICKUP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "from": {
        "country": "US",
        "postal_code": "10001",
        "city": "New York"
    },
    "to": {
        "country": "DE",
        "postal_code": "10117",
        "city": "Berlin"
    },
    "parcel": {
        "weight_g": 800,
        "length_mm": 250,
        "width_mm": 180,
        "height_mm": 80
    },
    "declared_value_cents": 5000
}'

4. Buy a label

Purchasing spends funds and works only with a live key sk_live_… with a positive balance. A test key sk_test_… cannot buy a label: it will return test_key_cannot_buy, which is normal. The Idempotency-Key header is mandatory: repeating a request with the same value will not buy a second label.
curl -X POST https://api.shippickup.com/v1/shipments \
  -H "Authorization: Bearer $SHIPPICKUP_API_KEY" \
  -H "Idempotency-Key: order-10452-label-v1" \
  -H "Content-Type: application/json" \
  -d '{
    "rate_id": "<rate_id>",
    "from": {
        "name": "Acme Store",
        "company": "Acme Inc",
        "line1": "350 5th Ave",
        "city": "New York",
        "state": "NY",
        "postal_code": "10001",
        "country": "US",
        "phone": "+12125550100",
        "email": "shipping@example.com"
    },
    "to": {
        "name": "Anna Schmidt",
        "line1": "Unter den Linden 1",
        "city": "Berlin",
        "postal_code": "10117",
        "country": "DE",
        "phone": "+493012345678",
        "email": "anna@example.com"
    },
    "parcel": {
        "weight_g": 800,
        "length_mm": 250,
        "width_mm": 180,
        "height_mm": 80
    },
    "items": [
        {
            "description": "T-shirts",
            "quantity": 2,
            "unit_value_cents": 2500,
            "origin_country": "US"
        }
    ],
    "declared_value_cents": 5000,
    "reference": "ORDER-10452"
}'

The response includes the order number id, carrier, tracking_number, and price. The label file can be downloaded in the dashboard under orders.

5. Get status

Either query the status by request (insert order number or tracking number), or set up a webhook in the dashboard: we will notify you of every status change.

curl https://api.shippickup.com/v1/shipments/4f2a9c1e7b3d48a6c5e0f1d2b3/tracking \
  -H "Authorization: Bearer $SHIPPICKUP_API_KEY"

Webhooks →

What’s next