How can I find the history of an object?

You wish to view the changes over time for an object, Nylas does not have an audit trial of objects or their history.

 

Object type:

Accounts: The https://developer.nylas.com/docs/api/v2/#get/a/client_id/accounts endpoint will return all the accounts created / deleted in the last 60 days.

 

Any other object (events, messages ...): it is down to the developer to record all the changes as represented by an incoming webhook for the object.

 

Best practice:

As a developer ensure that you track the last 7 updates to an object.

  • When you receive a .updated webhook GET the object and record the response

Nylas does not store these changes.

 

Resources

Setting up webhooks

Available Webhooks

Can you help us find which objects were deleted?

 

Updated

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.