Skip to content
SendIt está en desarrollo y todavía no opera comercialmente · SendIt is in development and not yet commercially available.
SendItdocs
Esc
↑↓navigate↵open⌘Jpreview
On this page

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. The incident opens at the moment SendIt receives the carrier event.

What SendIt does without being asked

  • A more specific problem replaces a more general one. If the carrier declares a parcel lost, its DELAYED incident closes with resolution: "SUPERSEDED".
  • A DELAYED parcel with no movement for 10 business days becomes a LOST incident, while the carrier still accepts the claim.
  • If the parcel is delivered later, a DELAYED, LOST, DELIVERY_EXCEPTION or CUSTOMS incident moves to RESOLVED_DELIVERED.
  • If evidence is missing, the organization owner gets a reminder halfway to the deadline. A claim with no evidence 72 hours after the deadline closes with resolution: "DEADLINE_MISSED".
  • A finished incident closes after 7 days. A return with no answer closes after 14 days. Other open notices close after 30 days without activity. A claim that SendIt still has to file is never closed by time.

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
state string open for the ones still in progress, closed for the resolved, rejected or closed ones
shipmentId string Only the incidents of one shipment
limit integer 1 to 100. Default: 50
after string The id of the last incident you received. Returns the next page
curl "https://api.sendit.mx/v1/incidents?state=open" \
  -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"
        }
      ],
      "reference": null,
      "resolution": null,
      "canFile": false,
      "canClose": true,
      "outcomeAmount": null,
      "currency": "MXN",
      "resolvedAt": null
    }
  ]
}

GET /v1/incidents/:id returns one incident in the same format. nextStep says what happens next:

nextStep What it means
UPLOAD_EVIDENCE The evidence in missingEvidence is missing
SENDIT_FILING SendIt is filing the claim
SENDIT_TRACING SendIt asked the carrier to locate a delayed parcel
SENDIT_COORDINATING SendIt is arranging the delivery or the customs release
FILE_WITH_CARRIER The label used your carrier account: file the claim with your carrier
CONTACT_CARRIER The label used your carrier account: ask your carrier to check the parcel
REVIEW_RETURN The parcel is coming back. Decide whether to ship it again
WAITING_FOR_CARRIER The claim is filed or approved
NONE Nothing is pending

resolution says why an incident ended: PAID, DELIVERED, REJECTED, DEADLINE_MISSED, SUPERSEDED, MERCHANT_RESOLVED, NOT_A_PROBLEM, NO_ACTION or STAFF. It is null while the incident is open. reference is your claim number when you filed with your carrier. canFile and canClose say whether you can use the two actions below.

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

Record your claim or close an incident

These routes require the shipments:write scope and, in the dashboard, the OPERATOR role or above. Both return the updated incident.

POST /v1/incidents/:id/file records that you filed the claim with your carrier. It applies only to labels bought on your own carrier account (canFile: true). The body is optional:

curl -X POST https://api.sendit.mx/v1/incidents/inc_2b0e8f5c-7d1a-4c55-9f0e-3a2b1c4d5e6f/file \
  -H "X-API-Key: sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{ "reference": "EST-RS-48213" }'

POST /v1/incidents/:id/close closes an incident you no longer need (canClose: true). Send reason as RESOLVED if the problem is solved, or as NOT_A_PROBLEM if it never needed action:

curl -X POST https://api.sendit.mx/v1/incidents/inc_2b0e8f5c-7d1a-4c55-9f0e-3a2b1c4d5e6f/close \
  -H "X-API-Key: sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{ "reason": "RESOLVED" }'
Code When it happens How to resolve it
INVALID_INPUT (400) reason is not RESOLVED or NOT_A_PROBLEM, or reference is over 120 characters Fix the field and send again
RESOURCE_NOT_FOUND (404) The incident is not yours or is in the other mode Check the id and your key’s mode
RESOURCE_CONFLICT (409) SendIt files the claim, it is already filed, or it is already with the carrier Read the incident and check canFile and canClose

Download the claim letter draft

GET /v1/incidents/:id/claim-letter returns a draft in Spanish with the details carriers ask for in a loss or damage claim. It requires the shipments:read scope. For the other types, letter is null.

curl https://api.sendit.mx/v1/incidents/inc_2b0e8f5c-7d1a-4c55-9f0e-3a2b1c4d5e6f/claim-letter \
  -H "X-API-Key: sk_test_..."
{
  "success": true,
  "data": {
    "letter": "Lugar y fecha: ______________________, 30 de noviembre de 2026\n\nESTAFETA\nAtención a Clientes / Indemnizaciones\n\n..."
  }
}

Test the flow in test mode

In test mode, incidents come from the events you simulate in the sandbox. A test claim files itself when its evidence is complete, and then 100.00 is credited to the test balance. You can step through every status and webhook this way. Detection of parcels with no movement runs only in live mode.

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, when evidence is missing halfway to the deadline, when it is paid, when it is rejected, when it closes for lack of evidence 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.

Was this page helpful?