List all contacts

Returns a list of your contacts.

Parameters


AccountId optional

A contact's account Id number.


Title optional

A title for this contact. Must be UTF-8 URL-encoded.

Returns


Returns an array of contacts up to a limit dictated by @pagesize. Each entry in the array is a separate contact. If no contacts meet the criteria, the resulting array will be empty. This request should never return an error.

Example Request


curl 'https://api.impact.com/Advertisers/<AccountSID>/Campaigns/1000/Contacts' \
  -X GET \
  -u '<AccountSID>:<AuthToken>' \
  -H 'Accept: application/json' \
  -H 'Title=Acme%20Partner%20Manager'

Example Response


{
  "@page": "1",
    ...
  "Contacts": [
    {
      "Id": "2750",
      "FirstName": "Wile",
      "LastName": "Coyote",
      "EmailAddress": "[email protected]",
      "Title": "Acme Partner Manager",
      "ProfileImage":                                                                                                               "/Advertisers/<AccountSID>/Campaigns/1000/Contacts/2750/ProfileImage",
      "WorkPhoneNumberCountry": "US",
      "WorkPhoneNumber": "8051231234",
      "CellphoneNumberCountry": "US",
      "CellphoneNumber": "8055555555",
      "Editable": "true",
      "Labels": [
        "Primary Contact",
        "Partner"
      ],
      "Accounts": {
        "Account": {
          "Id": "10000",
          "Name": "Acme Partner"
        }
      },
      "Uri": "/Advertisers/<AccountSID>/Campaigns/1000/Contacts/2750"
    },
    ...
  ]
}