Saltar al contenido
SendIt está en desarrollo y todavía no opera comercialmente · SendIt is in development and not yet commercially available.
SendItdocs
English
Esc
↑↓navigate↵open⌘Jpreview
En esta página

Shipment incidents

Read the problems SendIt detects in your shipments and send the evidence for the claim.

SendIt reads the tracking of every shipment you buy through it. When a parcel is lost, arrives damaged, goes back to the origin, cannot be delivered, is held in customs or stops moving, we open an incident before you have to report it. The incident says what happened, who files the claim, which evidence is missing and until when the carrier accepts it.

What opens an incident

type Opens when Evidence we ask for
LOST The carrier reports the parcel lost content_invoice
DAMAGED The carrier reports damage package_photos, damage_photos, content_invoice
RETURNED The parcel goes back to the origin address None
DELIVERY_EXCEPTION A delivery exception, or two failed delivery attempts address_confirmation
CUSTOMS The parcel is held in customs customs_documents
DELAYED Tracking does not move for 3 business days, or 2 business days pass after the estimated date None

There is one incident per shipment and type. If the parcel is delivered later, a DELAYED, LOST, DELIVERY_EXCEPTION or CUSTOMS incident closes by itself as RESOLVED_DELIVERED.

Who files the claim

  • handledBy: "SENDIT": the label was bought at SendIt rates. We file the claim and follow it up; you only send the missing evidence.
  • handledBy: "YOU": the label used your own carrier account, so you file the claim. The incident keeps the evidence, the deadline and the next step.

deadlineAt is the last moment the carrier accepts the claim or the action. Damage claims close fast, so send the evidence as soon as the email arrives.

We credit money to your wallet only when the carrier approves the claim. Without declared value, the carrier pays up to its contract limit. The credited amount appears in outcomeAmount.

List your incidents

GET /v1/incidents returns the incidents in your key’s mode, newest first. It requires the shipments:read scope.

Parameter Type Description
status string Filter by status: DETECTED, EVIDENCE_REQUESTED, FILED, APPROVED, RESOLVED_PAID, RESOLVED_DELIVERED, REJECTED or CLOSED
type string Filter by type
shipmentId string Only the incidents of one shipment
limit integer 1 to 100. Default: 50
curl "https://api.sendit.mx/v1/incidents?status=EVIDENCE_REQUESTED" \
  -H "X-API-Key: sk_test_..."
{
  "success": true,
  "data": [
    {
      "id": "inc_2b0e8f5c-7d1a-4c55-9f0e-3a2b1c4d5e6f",
      "shipmentId": "clxq1w2e3r4t5y6u7i8o9p0a",
      "type": "DAMAGED",
      "status": "EVIDENCE_REQUESTED",
      "handledBy": "SENDIT",
      "nextStep": "UPLOAD_EVIDENCE",
      "detectedAt": "2026-11-30T18:00:00.000Z",
      "deadlineAt": "2026-12-02T18:00:00.000Z",
      "evidenceRequired": ["package_photos", "damage_photos", "content_invoice"],
      "missingEvidence": ["damage_photos", "content_invoice"],
      "evidence": [
        {
          "id": "evd_9a1c3e5f",
          "kind": "package_photos",
          "filename": "caja.jpg",
          "note": null,
          "uploadedAt": "2026-11-30T18:20:00.000Z"
        }
      ],
      "outcomeAmount": null,
      "currency": "MXN",
      "resolvedAt": null
    }
  ]
}

nextStep says what happens next: UPLOAD_EVIDENCE, FILE_WITH_CARRIER (you file), SENDIT_FILING, WAITING_FOR_CARRIER or NONE. GET /v1/incidents/:id returns one incident in the same format.

Send the evidence

POST /v1/incidents/:id/evidence takes multipart/form-data. It requires the shipments:write scope and, in the dashboard, the OPERATOR role or higher.

Field Type Description
kind string, required package_photos, damage_photos, content_invoice, address_confirmation, customs_documents or other
note string Up to 2,000 characters. For example, the correct address and a phone
file file PNG, JPEG, WebP or PDF, up to 10 MB

Send a file, a note or both. When the last missing kind arrives, an EVIDENCE_REQUESTED incident moves to DETECTED.

curl -X POST https://api.sendit.mx/v1/incidents/inc_2b0e8f5c-7d1a-4c55-9f0e-3a2b1c4d5e6f/evidence \
  -H "X-API-Key: sk_test_..." \
  -F "kind=damage_photos" \
  -F "note=La caja llegó aplastada por una esquina" \
  -F "file=@dano.jpg"

The response is the updated incident, in the same format as GET /v1/incidents/:id.

Code When it happens How to resolve it
INVALID_INPUT (400) Unknown kind, no file and no note, or a file of another type or over 10 MB Fix the field it names and send again
RESOURCE_NOT_FOUND (404) The incident is not yours, is in the other mode, or is no longer open Check the id and your key’s mode
RESOURCE_CONFLICT (409) The incident closed while you were sending Read the incident again

Get the changes by webhook

Subscribe to incident.created and incident.updated in your webhooks. data.object carries the incident with the same fields as the API. The organization owner also gets an email when an incident opens, is paid, is rejected or when the parcel is delivered. In test mode you get the webhooks but no emails. SendIt never writes to your customers about an incident.

¿Te ha resultado útil esta página?