Orders & shipments
Create, read, track; signed quotes and label purchase.
Developers
You access the API with an activated account; the TypeScript SDK downloads from the developer portal, with your keys.

Get started
You create it in the developer portal once your account is activated.
Versioned, downloaded from the portal, fingerprint shown.
Create a shipment, receive the tracking URL.
Webhooks
You create a subscription, test it with a ping, read the delivery history. Every event leaves from an outbox and is retried until delivered; what fails durably stays visible in the dead-letter.
Scope
Create, read, track; signed quotes and label purchase.
Carrier events, public tracking page.
References, SKU mapping, stock position.
Returns with photos and restocking.
Delivery slots, relay points, coupons.
EDI X12, PIVOT/EANCOM, AS2 receiving.
Partner keys
Your account keys are created and rotated from the developer portal. Partner-scoped keys — for a carrier or a warehouse of the network — are issued by a Ysend administrator, scoped to the account.
import { YsendClient } from "@ysend/sdk";
const ysend = new YsendClient({ apiKey: process.env.YSEND_API_KEY });
const shipment = await ysend.shipments.create({
orderRef: "SHIP-2026-0501",
parcels: [{ weightKg: 1.2 }],
to: { country: "FR", postalCode: "06700" },
});
console.log(shipment.trackingUrl);An activated account gives the API, the SDK and the webhooks.