GET /2026-05/cloud/label/print/{id}
Method: GET
URL:
Sandbox URL:
Description: Retrieves shipping label information, including the tracking number and printable label content.
Parameters required to be sent
| Parameter | Description | Type |
|---|---|---|
id | Label ID. | Long, Required |
Submit a "GET" request to above endpoint
The response data object contains:
| Parameter | Description | Type |
|---|---|---|
id | Label ID. | Long |
tracking_number | Carrier tracking number. | String |
carrier | Carrier code. | String |
base64 | Base64-encoded printable shipping label content. | String |
Response
json
{
"code": 200,
"message": "OK – The request was successful.",
"data": {
"id": 8050996080689152,
"tracking_number": "SF7444703944323",
"carrier": "sf-express",
"base64": "SFDWRWEfSDFSDFDFDS....."
}
}Notes
- id is the label ID returned by the Create Label API.
- carrier is the carrier code used to create the shipment.
base64contains the printable shipping label encoded as a Base64 string.- The Base64 content can be decoded into PDF, PNG, ZPL, or other carrier-supported label formats depending on the carrier integration.
tracking_numberis the carrier-generated shipment tracking number.
