Settings

Update sync settings for Gmail account.

put/api/v1/settings/gmail

Request

  • Base URL
    https://api.intheloop.io
  • Auth
    API key in header Authorization

Headers

Authorizationstring

Authorization header

Request body

idstring

Resource id

namestring

Resource name or title

revisionstring

Resource revision

clientIdstring

Resource client id

$typestring required
isEnabledboolean

Sync is enabled

isPausedboolean

Sync is paused (only contact sync is performed, no emails are imported)

importDayRangeinteger

Email import day range for the past

threadingMode'Recipient' | 'Standard'

Threading mode for syncing

authCodestring

Google authentication code

refreshTokenstring

Google refresh token

emailstring

User's email address

Response

OK

idstring

Resource id

namestring

Resource name or title

revisionstring

Resource revision

clientIdstring

Resource client id

$typestring required
isEnabledboolean

Sync is enabled

isPausedboolean

Sync is paused (only contact sync is performed, no emails are imported)

importDayRangeinteger

Email import day range for the past

threadingMode'Recipient' | 'Standard'

Threading mode for syncing

authCodestring

Google authentication code

refreshTokenstring

Google refresh token

emailstring

User's email address

Changes

No recorded changes to this operation across all 1 revision of this API.