Social

GET social network connections

Changed on

Retrieves all social network accounts connected to the Constant Contact account, with support for multiple accounts per social network.

A connection represents the authorization link between a Constant Contact account and a single account on a social network (Facebook, Instagram, LinkedIn, TikTok, etc.). Each connection includes account information about the connected user on that network (display name, username, image, etc.) and the current status of the connection (whether it's active, rate-limited, or has any errors).

Note that a single connection may have multiple profiles (pages) associated with it — use GET /social/profiles to retrieve the individual profiles.

get/social/connections

Request

  • Base URL
    https://api.cc.email/v3
  • URL
    https://api.cc.email/v3/social/connections
  • Auth
    • OAuth 2
      Implicit: https://authz.constantcontact.com/oauth2/default/v1/authorize
      Scopes: campaign_data
    • or OAuth 2
      Authorization code: https://authz.constantcontact.com/oauth2/default/v1/authorize
      Token URL: https://authz.constantcontact.com/oauth2/default/v1/token scopes: campaign_data

Response

Request successful

Example response

{
  "connections": [
    {
      "account_info": {
        "display_name": "John Doe",
        "image_url": "https://example.com/avatar.jpg",
        "network": "facebook",
        "username": "johndoe"
      },
      "connection_status": {
        "has_token": true,
        "is_active_user": true,
        "token_has_scopes": true,
        "token_is_valid": true
      }
    }
  ]
}

Changes