Google

Google Documentation

Google Import [CREATE]

Creates a new Google Import associated with the Account List. Unless otherwise specified, the Import will be created with "in_preview" set to false, which will cause the import to begin after being created (the import runs asynchronously as a background job).

Request

Endpoint

POST /api/v2/account_lists/7027793a-6ad4-4151-aee5-1343f52c7183/imports/google
Content-Type: application/vnd.api+json

Body

{
  "data": {
    "type": "imports",
    "attributes": {
      "group_tags": {
        "http://www.google.com/m8/feeds/groups/test%40gmail.com/base/6": "my-contacts",
        "http://www.google.com/m8/feeds/groups/test%40gmail.com/base/d": "friends"
      },
      "groups": [
        "http://www.google.com/m8/feeds/groups/test%40gmail.com/base/d",
        "http://www.google.com/m8/feeds/groups/test%40gmail.com/base/f"
      ],
      "import_by_group": "true",
      "in_preview": false,
      "override": "true",
      "source": "google",
      "tag_list": "test,poster"
    },
    "relationships": {
      "source_account": {
        "data": {
          "type": "google_accounts",
          "id": "e6202e73-a6ee-497a-90a5-f03ed3c27486"
        }
      }
    }
  }
}

Response

Headers

Body

Last updated