Skip to main content
Parcel Events Sandbox Docs

Search documentation

Type to search this documentation.

Retrieve label metadata and download URL

GET/v1/labels/{label_id}Retrieve label metadata and download URL

Parameters

label_idstringpathrequired

pattern ^lbl_[a-z0-9]{20}$

Responses

200Label metadataapplication/json
objectLabel
download_urlstring · urirequired
expires_atstring · date-timerequired
formatstringrequired

one of "pdf", "png", "zpl"

idstringrequired
objectvaluerequired

const "label"

priceobjectrequired
Show child attributes
amountstringrequired

pattern ^[0-9]+(\.[0-9]{2})$

currencystringrequired

pattern ^[A-Z]{3}$

shipment_idstringrequired
Example response
{
  "download_url": "https://downloads.parcel-events.example/labels/synthetic-label.pdf",
  "expires_at": "2026-06-09T00:00:00Z",
  "format": "pdf",
  "id": "lbl_00000000000000000001",
  "object": "label",
  "price": {
    "amount": "12.50",
    "currency": "XTS"
  },
  "shipment_id": "shp_00000000000000000001"
}
404The requested synthetic resource does not existapplication/problem+json
objectProblem
detailstring
errorsarray of object
Show child attributes
Show array items
messagestringrequired
pathstringrequired
request_idstringrequired
statusintegerrequired

maximum 599 · minimum 400

titlestringrequired
typestring · urirequired
Example response
{
  "request_id": "req_00000000000000000004",
  "status": 404,
  "title": "Synthetic resource was not found",
  "type": "https://parcel-events.example/problems/not-found"
}

Documentation menu