Updating a contact's timeline via API

Updating a contact's timeline via API

Is it possible to update a contact's timeline via the API? For example, if we use a third-party email marketing platform, and a contact opens/clicks a campaign they are sent via that platform, can we update the contact record's timeline to show that they received a campaign, opened or clicked the campaign?

I can't find it in the documentation.

Thank you!