It's not currently possible to pin an engagement via the API, since the pinning of an engagement is all handled in-app. I can totally see the use case for that, though; If you have the inclination, I would encourage you to check out the Ideas Forum on the HubSpot Community. There, you can create a post including your use case that product and other customers can see.