Skip to content

Register Label Document

Use the /v1/labels/{label_id}/documents endpoint to register a carrier document (such as a USMCA certification of origin or certificate of origin) against a label. Carrier details are resolved automatically from the label.

The response returns a document_id and an upload target. Upload the document file to that target, then send the documents to the carrier.

If you are new to this feature, read the Carrier Document Upload guide first.

Example Request & Response

curl -i -X POST \
  https://api.shipengine.com/v1/labels/se-28529731/documents \
  -H 'API-Key: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "type": "usmca_commercial_invoice_certification_of_origin",
    "format": "PDF",
    "file_name": "usmca-certification-of-origin.pdf"
  }'