---
title: "SendIt documentation"
description: "One REST API to quote, buy labels, and track shipments with Mexico's major carriers."
---

:::warning
**SendIt is in development and not yet commercially available.**

We publish this documentation now so you can see exactly how the API works, and how we handle your shipments, your money, and your data, before you decide to integrate.

Read it as a description of the product, not as an invitation to move real shipments. The contracts described here are the ones we are building, and they can change before commercial launch. We will announce changes in advance.
:::

With one REST API you get rates from Mexico's major carriers (paqueterías), buy the label, and track the parcel with normalized statuses. Every price is in Mexican pesos and already includes IVA. You pay from your balance, which you fund by SPEI transfer.

Every request goes to the same base URL:

```text
https://api.sendit.mx/v1
```

And every response uses the same envelope:

```json
{
  "success": true,
  "data": { "...": "..." },
  "meta": { "...": "..." }
}
```

## Start here

**[Your first label](/en/getting-started/quickstart)**

From zero to a PDF label (guía) in minutes. In test mode, no card required.

**[Authentication](/en/getting-started/authentication)**

Create API keys, understand the sk_test_ and sk_live_ prefixes, and protect your credentials.

**[Test mode](/en/getting-started/test-mode)**

A complete sandbox. Simulated carriers and a $10,000 MXN virtual balance.

**[Webhooks](/en/webhooks-and-events/webhooks)**

Receive every status change on your server, with verifiable signatures.

## The essential flow

Your integration reaches its first label in three steps:

1. **Create a shipment.** `POST /v1/shipments` returns the shipment and `rates[]` in one response. `rates[]` holds quotes from every available carrier.
2. **Pick a rate.** Each rate carries an `id`, a tax-inclusive breakdown, and the estimated delivery time. The total you see is what your wallet is charged.
3. **Buy the label.** `POST /v1/shipments/:id/label` with the chosen `rateId` returns the PDF label and the tracking number.

If you already know your carrier, or want the cheapest, buy the label in one call with the `purchase` object. See [One-call buy](/en/shipping/shipments#one-call-buy).

```bash
curl -X POST https://api.sendit.mx/v1/shipments \
  -H "X-API-Key: sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{
    "fromAddress": { "contactName": "Almacén CDMX", "contactPhone": "+5215512345678",
              "street": "Av. Insurgentes Sur", "exteriorNumber": "1602",
              "neighborhood": "Crédito Constructor", "city": "Ciudad de México",
              "state": "CDMX", "postalCode": "03940", "country": "MX" },
    "toAddress":   { "contactName": "María López", "contactPhone": "+5213312345678",
              "street": "Av. López Mateos", "exteriorNumber": "45",
              "neighborhood": "Jardines del Sol", "city": "Zapopan",
              "state": "JAL", "postalCode": "45050", "country": "MX" },
    "parcel": { "length": 30, "width": 20, "height": 15, "weight": 2.5 }
  }'
```

## Explore by topic

**[Shipments](/en/shipping/shipments)**

The shipment object and its full lifecycle.

**[Rates](/en/shipping/rates)**

Compare carrier rates in a single call.

**[Orders](/en/orders/orders)**

Store orders with line items and multiple shipments.

**[Wallet](/en/wallet-and-billing/wallet)**

Prepaid MXN balance, funded via SPEI or card.

**[CFDI](/en/wallet-and-billing/cfdi)**

Configure your fiscal profile and review invoice records (beta).

**[Conventions](/en/api-conventions/errors)**

Errors, pagination, idempotency, and versioning.

:::note
These docs are also machine-readable. Append `.md` to any page URL, or fetch [/llms.txt](/llms.txt).
:::
