Create shipment share link

Create a public tracking link for a shipment, which anyone with the URL can open without signing in. Requires the accounts/shipments/shareLink/write permission. A request body is required; send {} to use the defaults (90-day lifetime, all sections hidden). Each call creates a new link; links created earlier stay valid until they expire. Expiry: a ttl under 4 hours expires exactly ttl seconds from now; a ttl of 4 hours or more expires at the first UTC midnight after now + ttl. Once a link has expired, the public tracking page returns 403.

Path Params
Body Params

Link settings. Send {} for the defaults.

Settings for a public shipment tracking link. Send {} to use the defaults.

Responses

401

Missing, invalid or expired access token. Returned by the gateway with an empty body.

403

The token lacks the required permission, the account is not accessible to it, or the tenant is inactive. Returned by the gateway with an empty body.

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json