From a Shipment you can retrieve the Contacts involved in that Shipment.
This API gives you the detailed information about a Contact.

The id can be retrieved from /shipments/id/contacts.
 

OpenAPI Specification: