How can I tell that a shipment has been released by customs?
If Flexport handles your customs entries, you can listen for the /shipment#customs_entry_release_status_released milestone in the webhook. Alternatively, you can query the /customs_entry endpoint for more detailed information.