---
title: "Create shipping label"
method: POST
path: "/api/v3/easypost/shipping-label"
tags: ["easypost"]
---

# Create shipping label

`POST /api/v3/easypost/shipping-label`

## Request

- Base URL: `https://api.endless.health` (the document declares no server; this is the origin it was published from)
- URL: `https://api.endless.health/api/v3/easypost/shipping-label`
- Auth: API key in header `X-API-KEY`

Create a new shipping label with cheapest rate selection and automatic purchase

## Request body

- EasyPostShippingLabelSchema
  - `external_kit_order_id` integer, required

## Response `200`

Successful Response

- ShippingLabelResponseSchema: API response for a persisted shipping label row.
  - `id` integer, required
  - `external_kit_order_id` integer, required
  - `label_type` string, required
  - `carrier` string, required
  - `provider` string, required
  - `tracking_number` string, required
  - `tracking_url` string, nullable
  - `label_cost` number, nullable
  - `downloaded_at` string, date-time, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `404`: Not found
- `422`: Validation Error

---

[API](https://skmtc.dev/endless/apis/eh-core-v3-api-prod.md) - [All operations](https://skmtc.dev/endless/apis/eh-core-v3-api-prod/llms.txt) - [OpenAPI document](https://skmtc.dev/endless/apis/eh-core-v3-api-prod/revisions/9046a1eb2d0c?raw)
