API referenceDocuments
List shipment documents
Generates URLs for a shipment's documents, such as the bill of lading and proof of delivery, when they are available.
GET
/ documents/{shipmentId}https:/ / sandbox.api.mothership.com/ betaReads your token from
$MOTHERSHIP_API_TOKENResponse
Hover a key to see what it means. Click it to jump to the field.
Document URLs expire at expiresAt. Call this endpoint again for a fresh URL rather than storing one. To hear when a document is first attached or replaced, subscribe to the document webhook events.