We-Connect

Account

Get account details

Get basic details about current We-Connect account.


https://api.we-connect.io/api/v1/account

Usage and SDK Samples

curl -X GET "https://api.we-connect.io/api/v1/account?api_key="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountApi;

import java.io.File;
import java.util.*;

public class AccountApiExample {

    public static void main(String[] args) {

        AccountApi apiInstance = new AccountApi();
        String apiKey = apiKey_example; // String | your We-Connect API key
        try {
            inline_response_200 result = apiInstance.accountGet(apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#accountGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AccountApi;

public class AccountApiExample {

    public static void main(String[] args) {
        AccountApi apiInstance = new AccountApi();
        String apiKey = apiKey_example; // String | your We-Connect API key
        try {
            inline_response_200 result = apiInstance.accountGet(apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#accountGet");
            e.printStackTrace();
        }
    }
}
String *apiKey = apiKey_example; // your We-Connect API key

AccountApi *apiInstance = [[AccountApi alloc] init];

// gets personal account details
[apiInstance accountGetWith:apiKey
              completionHandler: ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WeConnectApi = require('we_connect_api');

var api = new WeConnectApi.AccountApi()
var apiKey = apiKey_example; // {{String}} your We-Connect API key

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.accountGet(apiKey, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class accountGetExample
    {
        public void main()
        {

            var apiInstance = new AccountApi();
            var apiKey = apiKey_example;  // String | your We-Connect API key

            try
            {
                // gets personal account details
                inline_response_200 result = apiInstance.accountGet(apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountApi.accountGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAccountApi();
$apiKey = apiKey_example; // String | your We-Connect API key

try {
    $result = $api_instance->accountGet($apiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountApi->accountGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AccountApi;

my $api_instance = WWW::SwaggerClient::AccountApi->new();
my $apiKey = apiKey_example; # String | your We-Connect API key

eval {
    my $result = $api_instance->accountGet(apiKey => $apiKey);
    print Dumper($result);
};
if ([email protected]) {
    warn "Exception when calling AccountApi->accountGet: [email protected]\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.AccountApi()
apiKey = apiKey_example # String | your We-Connect API key

try:
    # gets personal account details
    api_response = api_instance.account_get(apiKey)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AccountApi->accountGet: %s\n" % e)

Parameters

Query parameters
Name Description
api_key*
String
your We-Connect API key
Required

Responses

Status: 200 - basic details about account


Campaigns

Import contacts into campaign

Imports contacts into the campaign. New contacts will have "pending" status.


https://api.we-connect.io/api/v1/campaign/contacts

Usage and SDK Samples

curl -X POST "https://api.we-connect.io/api/v1/campaign/contacts"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CampaignsApi;

import java.io.File;
import java.util.*;

public class CampaignsApiExample {

    public static void main(String[] args) {

        CampaignsApi apiInstance = new CampaignsApi();
        Body body = ; // Body | Inventory item to add
        try {
            apiInstance.campaignContactsPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling CampaignsApi#campaignContactsPost");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CampaignsApi;

public class CampaignsApiExample {

    public static void main(String[] args) {
        CampaignsApi apiInstance = new CampaignsApi();
        Body body = ; // Body | Inventory item to add
        try {
            apiInstance.campaignContactsPost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling CampaignsApi#campaignContactsPost");
            e.printStackTrace();
        }
    }
}
Body *body = ; // Inventory item to add (optional)

CampaignsApi *apiInstance = [[CampaignsApi alloc] init];

// imports contacts into campaign
[apiInstance campaignContactsPostWith:body
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WeConnectApi = require('we_connect_api');

var api = new WeConnectApi.CampaignsApi()

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.campaignContactsPost(, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class campaignContactsPostExample
    {
        public void main()
        {

            var apiInstance = new CampaignsApi();
            var body = new Body(); // Body | Inventory item to add (optional)

            try
            {
                // imports contacts into campaign
                apiInstance.campaignContactsPost(body);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CampaignsApi.campaignContactsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiCampaignsApi();
$body = ; // Body | Inventory item to add

try {
    $api_instance->campaignContactsPost($body);
} catch (Exception $e) {
    echo 'Exception when calling CampaignsApi->campaignContactsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CampaignsApi;

my $api_instance = WWW::SwaggerClient::CampaignsApi->new();
my $body = WWW::SwaggerClient::Object::Body->new(); # Body | Inventory item to add

eval {
    $api_instance->campaignContactsPost(body => $body);
};
if ([email protected]) {
    warn "Exception when calling CampaignsApi->campaignContactsPost: [email protected]\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CampaignsApi()
body =  # Body | Inventory item to add (optional)

try:
    # imports contacts into campaign
    api_instance.campaign_contacts_post(body=body)
except ApiException as e:
    print("Exception when calling CampaignsApi->campaignContactsPost: %s\n" % e)

Parameters

Body parameters
Name Description
body

Responses

Status: 200 - items added


Get campaigns

Get the campaigns data (3 campaigns per page).


https://api.we-connect.io/api/v1/campaigns

Usage and SDK Samples

curl -X GET "https://api.we-connect.io/api/v1/campaigns?api_key=&page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.CampaignsApi;

import java.io.File;
import java.util.*;

public class CampaignsApiExample {

    public static void main(String[] args) {

        CampaignsApi apiInstance = new CampaignsApi();
        String apiKey = apiKey_example; // String | your We-Connect API key
        Integer page = 56; // Integer | page number for pagination (starts from 0)
        try {
            array[CampaignItem] result = apiInstance.campaignsGet(apiKey, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CampaignsApi#campaignsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.CampaignsApi;

public class CampaignsApiExample {

    public static void main(String[] args) {
        CampaignsApi apiInstance = new CampaignsApi();
        String apiKey = apiKey_example; // String | your We-Connect API key
        Integer page = 56; // Integer | page number for pagination (starts from 0)
        try {
            array[CampaignItem] result = apiInstance.campaignsGet(apiKey, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling CampaignsApi#campaignsGet");
            e.printStackTrace();
        }
    }
}
String *apiKey = apiKey_example; // your We-Connect API key
Integer *page = 56; // page number for pagination (starts from 0) (optional)

CampaignsApi *apiInstance = [[CampaignsApi alloc] init];

// gets campaigns
[apiInstance campaignsGetWith:apiKey
    page:page
              completionHandler: ^(array[CampaignItem] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WeConnectApi = require('we_connect_api');

var api = new WeConnectApi.CampaignsApi()
var apiKey = apiKey_example; // {{String}} your We-Connect API key
var opts = {
  'page': 56 // {{Integer}} page number for pagination (starts from 0)
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.campaignsGet(apiKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class campaignsGetExample
    {
        public void main()
        {

            var apiInstance = new CampaignsApi();
            var apiKey = apiKey_example;  // String | your We-Connect API key
            var page = 56;  // Integer | page number for pagination (starts from 0) (optional)

            try
            {
                // gets campaigns
                array[CampaignItem] result = apiInstance.campaignsGet(apiKey, page);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling CampaignsApi.campaignsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiCampaignsApi();
$apiKey = apiKey_example; // String | your We-Connect API key
$page = 56; // Integer | page number for pagination (starts from 0)

try {
    $result = $api_instance->campaignsGet($apiKey, $page);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling CampaignsApi->campaignsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::CampaignsApi;

my $api_instance = WWW::SwaggerClient::CampaignsApi->new();
my $apiKey = apiKey_example; # String | your We-Connect API key
my $page = 56; # Integer | page number for pagination (starts from 0)

eval {
    my $result = $api_instance->campaignsGet(apiKey => $apiKey, page => $page);
    print Dumper($result);
};
if ([email protected]) {
    warn "Exception when calling CampaignsApi->campaignsGet: [email protected]\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.CampaignsApi()
apiKey = apiKey_example # String | your We-Connect API key
page = 56 # Integer | page number for pagination (starts from 0) (optional)

try:
    # gets campaigns
    api_response = api_instance.campaigns_get(apiKey, page=page)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling CampaignsApi->campaignsGet: %s\n" % e)

Parameters

Query parameters
Name Description
api_key*
String
your We-Connect API key
Required
page
Integer (int32)
page number for pagination (starts from 0)

Responses

Status: 200 - list of campaigns with details, stats and contacts


Contacts

Get connections

Get LinkedIn connected contacts (100 contacts per page).


https://api.we-connect.io/api/v1/connections

Usage and SDK Samples

curl -X GET "https://api.we-connect.io/api/v1/connections?api_key=&page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ContactsApi;

import java.io.File;
import java.util.*;

public class ContactsApiExample {

    public static void main(String[] args) {

        ContactsApi apiInstance = new ContactsApi();
        String apiKey = apiKey_example; // String | your We-Connect API key
        Integer page = 56; // Integer | page number for pagination (starts from 0)
        try {
            array[ConnectionItem] result = apiInstance.connectionsGet(apiKey, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ContactsApi#connectionsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ContactsApi;

public class ContactsApiExample {

    public static void main(String[] args) {
        ContactsApi apiInstance = new ContactsApi();
        String apiKey = apiKey_example; // String | your We-Connect API key
        Integer page = 56; // Integer | page number for pagination (starts from 0)
        try {
            array[ConnectionItem] result = apiInstance.connectionsGet(apiKey, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ContactsApi#connectionsGet");
            e.printStackTrace();
        }
    }
}
String *apiKey = apiKey_example; // your We-Connect API key
Integer *page = 56; // page number for pagination (starts from 0) (optional)

ContactsApi *apiInstance = [[ContactsApi alloc] init];

// gets connected contacts
[apiInstance connectionsGetWith:apiKey
    page:page
              completionHandler: ^(array[ConnectionItem] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WeConnectApi = require('we_connect_api');

var api = new WeConnectApi.ContactsApi()
var apiKey = apiKey_example; // {{String}} your We-Connect API key
var opts = {
  'page': 56 // {{Integer}} page number for pagination (starts from 0)
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.connectionsGet(apiKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class connectionsGetExample
    {
        public void main()
        {

            var apiInstance = new ContactsApi();
            var apiKey = apiKey_example;  // String | your We-Connect API key
            var page = 56;  // Integer | page number for pagination (starts from 0) (optional)

            try
            {
                // gets connected contacts
                array[ConnectionItem] result = apiInstance.connectionsGet(apiKey, page);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ContactsApi.connectionsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiContactsApi();
$apiKey = apiKey_example; // String | your We-Connect API key
$page = 56; // Integer | page number for pagination (starts from 0)

try {
    $result = $api_instance->connectionsGet($apiKey, $page);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ContactsApi->connectionsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ContactsApi;

my $api_instance = WWW::SwaggerClient::ContactsApi->new();
my $apiKey = apiKey_example; # String | your We-Connect API key
my $page = 56; # Integer | page number for pagination (starts from 0)

eval {
    my $result = $api_instance->connectionsGet(apiKey => $apiKey, page => $page);
    print Dumper($result);
};
if ([email protected]) {
    warn "Exception when calling ContactsApi->connectionsGet: [email protected]\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ContactsApi()
apiKey = apiKey_example # String | your We-Connect API key
page = 56 # Integer | page number for pagination (starts from 0) (optional)

try:
    # gets connected contacts
    api_response = api_instance.connections_get(apiKey, page=page)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ContactsApi->connectionsGet: %s\n" % e)

Parameters

Query parameters
Name Description
api_key*
String
your We-Connect API key
Required
page
Integer (int32)
page number for pagination (starts from 0)

Responses

Status: 200 - list of contacts connected at LinkedIn


Get contacts with email

Get LinkedIn contacts with known email address (100 contacts per page).


https://api.we-connect.io/api/v1/contacts_with_email

Usage and SDK Samples

curl -X GET "https://api.we-connect.io/api/v1/contacts_with_email?api_key=&page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ContactsApi;

import java.io.File;
import java.util.*;

public class ContactsApiExample {

  public static void main(String[] args) {

      ContactsApi apiInstance = new ContactsApi();
      String apiKey = apiKey_example; // String | your We-Connect API key
      Integer page = 56; // Integer | page number for pagination (starts from 0)
      try {
          array[ConnectionItem] result = apiInstance.contactsWithEmailGet(apiKey, page);
          System.out.println(result);
      } catch (ApiException e) {
          System.err.println("Exception when calling ContactsApi#contactsWithEmailGet");
          e.printStackTrace();
      }
  }
}
import io.swagger.client.api.ContactsApi;

public class ContactsApiExample {

  public static void main(String[] args) {
      ContactsApi apiInstance = new ContactsApi();
      String apiKey = apiKey_example; // String | your We-Connect API key
      Integer page = 56; // Integer | page number for pagination (starts from 0)
      try {
          array[ConnectionItem] result = apiInstance.contactsWithEmailGet(apiKey, page);
          System.out.println(result);
      } catch (ApiException e) {
          System.err.println("Exception when calling ContactsApi#contactsWithEmailGet");
          e.printStackTrace();
      }
  }
}
String *apiKey = apiKey_example; // your We-Connect API key
Integer *page = 56; // page number for pagination (starts from 0) (optional)

ContactsApi *apiInstance = [[ContactsApi alloc] init];

// gets connected contacts
[apiInstance contactsWithEmailGetWith:apiKey
  page:page
            completionHandler: ^(array[ConnectionItem] output, NSError* error) {
                          if (output) {
                              NSLog(@"%@", output);
                          }
                          if (error) {
                              NSLog(@"Error: %@", error);
                          }
                      }];
var WeConnectApi = require('we_connect_api');

var api = new WeConnectApi.ContactsApi()
var apiKey = apiKey_example; // {{String}} your We-Connect API key
var opts = {
'page': 56 // {{Integer}} page number for pagination (starts from 0)
};
var callback = function(error, data, response) {
if (error) {
  console.error(error);
} else {
  console.log('API called successfully. Returned data: ' + data);
}
};
api.contactsWithEmailGet(apiKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
  public class contactsWithEmailGetExample
  {
      public void main()
      {

          var apiInstance = new ContactsApi();
          var apiKey = apiKey_example;  // String | your We-Connect API key
          var page = 56;  // Integer | page number for pagination (starts from 0) (optional)

          try
          {
              // gets connected contacts
              array[ConnectionItem] result = apiInstance.contactsWithEmailGet(apiKey, page);
              Debug.WriteLine(result);
          }
          catch (Exception e)
          {
              Debug.Print("Exception when calling ContactsApi.contactsWithEmailGet: " + e.Message );
          }
      }
  }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiContactsApi();
$apiKey = apiKey_example; // String | your We-Connect API key
$page = 56; // Integer | page number for pagination (starts from 0)

try {
  $result = $api_instance->contactsWithEmailGet($apiKey, $page);
  print_r($result);
} catch (Exception $e) {
  echo 'Exception when calling ContactsApi->contactsWithEmailGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ContactsApi;

my $api_instance = WWW::SwaggerClient::ContactsApi->new();
my $apiKey = apiKey_example; # String | your We-Connect API key
my $page = 56; # Integer | page number for pagination (starts from 0)

eval {
  my $result = $api_instance->contactsWithEmailGet(apiKey => $apiKey, page => $page);
  print Dumper($result);
};
if ([email protected]) {
  warn "Exception when calling ContactsApi->contactsWithEmailGet: [email protected]\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ContactsApi()
apiKey = apiKey_example # String | your We-Connect API key
page = 56 # Integer | page number for pagination (starts from 0) (optional)

try:
  # gets connected contacts
  api_response = api_instance.connections_get(apiKey, page=page)
  pprint(api_response)
except ApiException as e:
  print("Exception when calling ContactsApi->contactsWithEmailGet: %s\n" % e)

Parameters

Query parameters
Name Description
api_key*
String
your We-Connect API key
Required
page
Integer (int32)
page number for pagination (starts from 0)

Responses

Status: 200 - list of contacts connected at LinkedIn


Get follow-ups

Get contacts marked as follow-ups (100 contacts per page).


https://api.we-connect.io/api/v1/followups

Usage and SDK Samples

curl -X GET "https://api.we-connect.io/api/v1/followups?api_key=&page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ContactsApi;

import java.io.File;
import java.util.*;

public class ContactsApiExample {

    public static void main(String[] args) {

        ContactsApi apiInstance = new ContactsApi();
        String apiKey = apiKey_example; // String | your We-Connect API key
        Integer page = 56; // Integer | page number for pagination (starts from 0)
        try {
            array[FollowupItem] result = apiInstance.followupsGet(apiKey, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ContactsApi#followupsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ContactsApi;

public class ContactsApiExample {

    public static void main(String[] args) {
        ContactsApi apiInstance = new ContactsApi();
        String apiKey = apiKey_example; // String | your We-Connect API key
        Integer page = 56; // Integer | page number for pagination (starts from 0)
        try {
            array[FollowupItem] result = apiInstance.followupsGet(apiKey, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ContactsApi#followupsGet");
            e.printStackTrace();
        }
    }
}
String *apiKey = apiKey_example; // your We-Connect API key
Integer *page = 56; // page number for pagination (starts from 0) (optional)

ContactsApi *apiInstance = [[ContactsApi alloc] init];

// gets contacts marked as follow-ups
[apiInstance followupsGetWith:apiKey
    page:page
              completionHandler: ^(array[FollowupItem] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WeConnectApi = require('we_connect_api');

var api = new WeConnectApi.ContactsApi()
var apiKey = apiKey_example; // {{String}} your We-Connect API key
var opts = {
  'page': 56 // {{Integer}} page number for pagination (starts from 0)
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.followupsGet(apiKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class followupsGetExample
    {
        public void main()
        {

            var apiInstance = new ContactsApi();
            var apiKey = apiKey_example;  // String | your We-Connect API key
            var page = 56;  // Integer | page number for pagination (starts from 0) (optional)

            try
            {
                // gets contacts marked as follow-ups
                array[FollowupItem] result = apiInstance.followupsGet(apiKey, page);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ContactsApi.followupsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiContactsApi();
$apiKey = apiKey_example; // String | your We-Connect API key
$page = 56; // Integer | page number for pagination (starts from 0)

try {
    $result = $api_instance->followupsGet($apiKey, $page);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ContactsApi->followupsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ContactsApi;

my $api_instance = WWW::SwaggerClient::ContactsApi->new();
my $apiKey = apiKey_example; # String | your We-Connect API key
my $page = 56; # Integer | page number for pagination (starts from 0)

eval {
    my $result = $api_instance->followupsGet(apiKey => $apiKey, page => $page);
    print Dumper($result);
};
if ([email protected]) {
    warn "Exception when calling ContactsApi->followupsGet: [email protected]\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ContactsApi()
apiKey = apiKey_example # String | your We-Connect API key
page = 56 # Integer | page number for pagination (starts from 0) (optional)

try:
    # gets contacts marked as follow-ups
    api_response = api_instance.followups_get(apiKey, page=page)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ContactsApi->followupsGet: %s\n" % e)

Parameters

Query parameters
Name Description
api_key*
String
your We-Connect API key
Required
page
Integer (int32)
page number for pagination (starts from 0)

Responses

Status: 200 - list of contacts marked as follow-ups


Get leads

Get contacts marked as leads (100 contacts per page).


https://api.we-connect.io/api/v1/leads

Usage and SDK Samples

curl -X GET "https://api.we-connect.io/api/v1/leads?api_key=&page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ContactsApi;

import java.io.File;
import java.util.*;

public class ContactsApiExample {

    public static void main(String[] args) {

        ContactsApi apiInstance = new ContactsApi();
        String apiKey = apiKey_example; // String | your We-Connect API key
        Integer page = 56; // Integer | page number for pagination (starts from 0)
        try {
            array[LeadItem] result = apiInstance.leadsGet(apiKey, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ContactsApi#leadsGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ContactsApi;

public class ContactsApiExample {

    public static void main(String[] args) {
        ContactsApi apiInstance = new ContactsApi();
        String apiKey = apiKey_example; // String | your We-Connect API key
        Integer page = 56; // Integer | page number for pagination (starts from 0)
        try {
            array[LeadItem] result = apiInstance.leadsGet(apiKey, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ContactsApi#leadsGet");
            e.printStackTrace();
        }
    }
}
String *apiKey = apiKey_example; // your We-Connect API key
Integer *page = 56; // page number for pagination (starts from 0) (optional)

ContactsApi *apiInstance = [[ContactsApi alloc] init];

// gets contacts marked as leads
[apiInstance leadsGetWith:apiKey
    page:page
              completionHandler: ^(array[LeadItem] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WeConnectApi = require('we_connect_api');

var api = new WeConnectApi.ContactsApi()
var apiKey = apiKey_example; // {{String}} your We-Connect API key
var opts = {
  'page': 56 // {{Integer}} page number for pagination (starts from 0)
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.leadsGet(apiKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class leadsGetExample
    {
        public void main()
        {

            var apiInstance = new ContactsApi();
            var apiKey = apiKey_example;  // String | your We-Connect API key
            var page = 56;  // Integer | page number for pagination (starts from 0) (optional)

            try
            {
                // gets contacts marked as leads
                array[LeadItem] result = apiInstance.leadsGet(apiKey, page);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ContactsApi.leadsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiContactsApi();
$apiKey = apiKey_example; // String | your We-Connect API key
$page = 56; // Integer | page number for pagination (starts from 0)

try {
    $result = $api_instance->leadsGet($apiKey, $page);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ContactsApi->leadsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ContactsApi;

my $api_instance = WWW::SwaggerClient::ContactsApi->new();
my $apiKey = apiKey_example; # String | your We-Connect API key
my $page = 56; # Integer | page number for pagination (starts from 0)

eval {
    my $result = $api_instance->leadsGet(apiKey => $apiKey, page => $page);
    print Dumper($result);
};
if ([email protected]) {
    warn "Exception when calling ContactsApi->leadsGet: [email protected]\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ContactsApi()
apiKey = apiKey_example # String | your We-Connect API key
page = 56 # Integer | page number for pagination (starts from 0) (optional)

try:
    # gets contacts marked as leads
    api_response = api_instance.leads_get(apiKey, page=page)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ContactsApi->leadsGet: %s\n" % e)

Parameters

Query parameters
Name Description
api_key*
String
your We-Connect API key
Required
page
Integer (int32)
page number for pagination (starts from 0)

Responses

Status: 200 - list of contacts marked as leads


Get notes

Get contacts with notes (100 contacts per page).


https://api.we-connect.io/api/v1/notes

Usage and SDK Samples

curl -X GET "https://api.we-connect.io/api/v1/notes?api_key=&page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ContactsApi;

import java.io.File;
import java.util.*;

public class ContactsApiExample {

    public static void main(String[] args) {

        ContactsApi apiInstance = new ContactsApi();
        String apiKey = apiKey_example; // String | your We-Connect API key
        Integer page = 56; // Integer | page number for pagination (starts from 0)
        try {
            array[NoteItem] result = apiInstance.notesGet(apiKey, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ContactsApi#notesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ContactsApi;

public class ContactsApiExample {

    public static void main(String[] args) {
        ContactsApi apiInstance = new ContactsApi();
        String apiKey = apiKey_example; // String | your We-Connect API key
        Integer page = 56; // Integer | page number for pagination (starts from 0)
        try {
            array[NoteItem] result = apiInstance.notesGet(apiKey, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ContactsApi#notesGet");
            e.printStackTrace();
        }
    }
}
String *apiKey = apiKey_example; // your We-Connect API key
Integer *page = 56; // page number for pagination (starts from 0) (optional)

ContactsApi *apiInstance = [[ContactsApi alloc] init];

// gets contacts with notes
[apiInstance notesGetWith:apiKey
    page:page
              completionHandler: ^(array[NoteItem] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WeConnectApi = require('we_connect_api');

var api = new WeConnectApi.ContactsApi()
var apiKey = apiKey_example; // {{String}} your We-Connect API key
var opts = {
  'page': 56 // {{Integer}} page number for pagination (starts from 0)
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.notesGet(apiKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class notesGetExample
    {
        public void main()
        {

            var apiInstance = new ContactsApi();
            var apiKey = apiKey_example;  // String | your We-Connect API key
            var page = 56;  // Integer | page number for pagination (starts from 0) (optional)

            try
            {
                // gets contacts with notes
                array[NoteItem] result = apiInstance.notesGet(apiKey, page);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ContactsApi.notesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiContactsApi();
$apiKey = apiKey_example; // String | your We-Connect API key
$page = 56; // Integer | page number for pagination (starts from 0)

try {
    $result = $api_instance->notesGet($apiKey, $page);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ContactsApi->notesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ContactsApi;

my $api_instance = WWW::SwaggerClient::ContactsApi->new();
my $apiKey = apiKey_example; # String | your We-Connect API key
my $page = 56; # Integer | page number for pagination (starts from 0)

eval {
    my $result = $api_instance->notesGet(apiKey => $apiKey, page => $page);
    print Dumper($result);
};
if ([email protected]) {
    warn "Exception when calling ContactsApi->notesGet: [email protected]\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ContactsApi()
apiKey = apiKey_example # String | your We-Connect API key
page = 56 # Integer | page number for pagination (starts from 0) (optional)

try:
    # gets contacts with notes
    api_response = api_instance.notes_get(apiKey, page=page)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ContactsApi->notesGet: %s\n" % e)

Parameters

Query parameters
Name Description
api_key*
String
your We-Connect API key
Required
page
Integer (int32)
page number for pagination (starts from 0)

Responses

Status: 200 - list of contacts with notes


Get tagged

Get contacts with tags (100 contacts per page).


https://api.we-connect.io/api/v1/tagged

Usage and SDK Samples

curl -X GET "https://api.we-connect.io/api/v1/tagged?api_key=&page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ContactsApi;

import java.io.File;
import java.util.*;

public class ContactsApiExample {

    public static void main(String[] args) {

        ContactsApi apiInstance = new ContactsApi();
        String apiKey = apiKey_example; // String | your We-Connect API key
        Integer page = 56; // Integer | page number for pagination (starts from 0)
        try {
            array[TagItem] result = apiInstance.taggedGet(apiKey, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ContactsApi#taggedGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ContactsApi;

public class ContactsApiExample {

    public static void main(String[] args) {
        ContactsApi apiInstance = new ContactsApi();
        String apiKey = apiKey_example; // String | your We-Connect API key
        Integer page = 56; // Integer | page number for pagination (starts from 0)
        try {
            array[TagItem] result = apiInstance.taggedGet(apiKey, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ContactsApi#taggedGet");
            e.printStackTrace();
        }
    }
}
String *apiKey = apiKey_example; // your We-Connect API key
Integer *page = 56; // page number for pagination (starts from 0) (optional)

ContactsApi *apiInstance = [[ContactsApi alloc] init];

// gets contacts with tags
[apiInstance taggedGetWith:apiKey
    page:page
              completionHandler: ^(array[TagItem] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WeConnectApi = require('we_connect_api');

var api = new WeConnectApi.ContactsApi()
var apiKey = apiKey_example; // {{String}} your We-Connect API key
var opts = {
  'page': 56 // {{Integer}} page number for pagination (starts from 0)
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.taggedGet(apiKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class taggedGetExample
    {
        public void main()
        {

            var apiInstance = new ContactsApi();
            var apiKey = apiKey_example;  // String | your We-Connect API key
            var page = 56;  // Integer | page number for pagination (starts from 0) (optional)

            try
            {
                // gets contacts with tags
                array[TagItem] result = apiInstance.taggedGet(apiKey, page);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ContactsApi.taggedGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiContactsApi();
$apiKey = apiKey_example; // String | your We-Connect API key
$page = 56; // Integer | page number for pagination (starts from 0)

try {
    $result = $api_instance->taggedGet($apiKey, $page);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ContactsApi->taggedGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ContactsApi;

my $api_instance = WWW::SwaggerClient::ContactsApi->new();
my $apiKey = apiKey_example; # String | your We-Connect API key
my $page = 56; # Integer | page number for pagination (starts from 0)

eval {
    my $result = $api_instance->taggedGet(apiKey => $apiKey, page => $page);
    print Dumper($result);
};
if ([email protected]) {
    warn "Exception when calling ContactsApi->taggedGet: [email protected]\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.ContactsApi()
apiKey = apiKey_example # String | your We-Connect API key
page = 56 # Integer | page number for pagination (starts from 0) (optional)

try:
    # gets contacts with tags
    api_response = api_instance.tagged_get(apiKey, page=page)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ContactsApi->taggedGet: %s\n" % e)

Parameters

Query parameters
Name Description
api_key*
String
your We-Connect API key
Required
page
Integer (int32)
page number for pagination (starts from 0)

Responses

Status: 200 - list of contacts with tags


Messages

Get replies

Get recent LinkedIn messages (100 messages per page).


https://api.we-connect.io/api/v1/replies

Usage and SDK Samples

curl -X GET "https://api.we-connect.io/api/v1/replies?api_key=&page="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MessagesApi;

import java.io.File;
import java.util.*;

public class MessagesApiExample {

    public static void main(String[] args) {

        MessagesApi apiInstance = new MessagesApi();
        String apiKey = apiKey_example; // String | your We-Connect API key
        Integer page = 56; // Integer | page number for pagination (starts from 0)
        try {
            array[MessageItem] result = apiInstance.repliesGet(apiKey, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MessagesApi#repliesGet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MessagesApi;

public class MessagesApiExample {

    public static void main(String[] args) {
        MessagesApi apiInstance = new MessagesApi();
        String apiKey = apiKey_example; // String | your We-Connect API key
        Integer page = 56; // Integer | page number for pagination (starts from 0)
        try {
            array[MessageItem] result = apiInstance.repliesGet(apiKey, page);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MessagesApi#repliesGet");
            e.printStackTrace();
        }
    }
}
String *apiKey = apiKey_example; // your We-Connect API key
Integer *page = 56; // page number for pagination (starts from 0) (optional)

MessagesApi *apiInstance = [[MessagesApi alloc] init];

// gets messages
[apiInstance repliesGetWith:apiKey
    page:page
              completionHandler: ^(array[MessageItem] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var WeConnectApi = require('we_connect_api');

var api = new WeConnectApi.MessagesApi()
var apiKey = apiKey_example; // {{String}} your We-Connect API key
var opts = {
  'page': 56 // {{Integer}} page number for pagination (starts from 0)
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.repliesGet(apiKey, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class repliesGetExample
    {
        public void main()
        {

            var apiInstance = new MessagesApi();
            var apiKey = apiKey_example;  // String | your We-Connect API key
            var page = 56;  // Integer | page number for pagination (starts from 0) (optional)

            try
            {
                // gets messages
                array[MessageItem] result = apiInstance.repliesGet(apiKey, page);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MessagesApi.repliesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiMessagesApi();
$apiKey = apiKey_example; // String | your We-Connect API key
$page = 56; // Integer | page number for pagination (starts from 0)

try {
    $result = $api_instance->repliesGet($apiKey, $page);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MessagesApi->repliesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MessagesApi;

my $api_instance = WWW::SwaggerClient::MessagesApi->new();
my $apiKey = apiKey_example; # String | your We-Connect API key
my $page = 56; # Integer | page number for pagination (starts from 0)

eval {
    my $result = $api_instance->repliesGet(apiKey => $apiKey, page => $page);
    print Dumper($result);
};
if ([email protected]) {
    warn "Exception when calling MessagesApi->repliesGet: [email protected]\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.MessagesApi()
apiKey = apiKey_example # String | your We-Connect API key
page = 56 # Integer | page number for pagination (starts from 0) (optional)

try:
    # gets messages
    api_response = api_instance.replies_get(apiKey, page=page)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MessagesApi->repliesGet: %s\n" % e)

Parameters

Query parameters
Name Description
api_key*
String
your We-Connect API key
Required
page
Integer (int32)
page number for pagination (starts from 0)

Responses

Status: 200 - list of messages from LinkedIn