List a shipment's customer tracking links
list_share_linksThe customer tracking links of one shipment, active and revoked, newest first. Each has an id such as "shl_41", the customer_reference and label it was made for, its url (the public tracking page for that customer; a revoked link has none), whether it is active, the automation that made it (id and name, null for one a person made), and when it was created or revoked. Anyone who holds an active url can open the shipment's public tracking page. Use it for "which links did we give Acme" and before revoke_share_link, which needs the id.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"shipment_id": "<shipment_id>"
},
"name": "list_share_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many results to return, 1 to 100. | |
| shipment_id | Yes | A shipment id such as "shp_123", as returned by search_shipments. | |
| starting_after | No | Paging cursor: the id of the last result of the previous page. Only when has_more was true. |