Skip to Content

Email

Choose which emails to keep

Off, the default, keeps only campaign emails and their replies. On also imports the other email threads of the workspace’s inboxes, the last 30 days first and then each new one, in the background. Turning it off deletes those other conversations from Bavlio; nothing changes in the inboxes.

PUT
/mail/all-messages

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
all_messagesbooleanrequired

true: the inbox also keeps the account's conversations outside campaigns (scope other), its recent ones first, then every new message. false: it keeps only campaign conversations and deletes the account's other conversations from Bavlio; nothing changes on LinkedIn or in the mailbox.

Response

application/json

Success

accountobject | nullrequired

The workspace's email account, which Bavlio sets up on its own when the workspace is created; null for the minute until it is set up.