Contacts
Use your AccountSID as the username and AuthToken as the password.
Filter by a contact's partner account ID.
Filter by a contact's title (must be URL-encoded).
A paginated list of contact objects.
curl -L \
--url 'https://api.impact.com/Advertisers/{AccountSID}/Campaigns/{CampaignId}/Contacts' \
--user '{AccountSID}:{AuthToken}' \
--header 'Accept: */*'A paginated list of contact objects.
{
"Contacts": [
{
"Id": "2750",
"FirstName": "Wile",
"LastName": "Coyote",
"EmailAddress": "wile.coyote@example.com",
"Title": "",
"ProfileImage": "/Advertisers/<AccountSID>/Campaigns/1000/Contacts/2750/ProfileImage",
"WorkPhoneNumberCountry": "US",
"WorkPhoneNumber": "8051234567",
"CellphoneNumberCountry": "US",
"CellphoneNumber": "8059876543",
"Editable": false,
"Labels": [
"text"
],
"Accounts": [
{
"Id": "text",
"Name": "text"
}
],
"Uri": "/Advertisers/<AccountSID>/Campaigns/1000/Contacts/2750"
}
]
}Use your AccountSID as the username and AuthToken as the password.
WileCoyotewile.coyote@example.comA comma-separated string of partner account IDs.
12345,67890Marketing ManagerURL of an image file. Cannot be used with ProfileImageFile.
https://example.com/profile.jpgAn image file to upload. Use multipart/form-data.
Requires WorkPhoneNumberCountry.
8051234567USRequires CellphoneNumberCountry.
8059876543USA comma-separated string of labels.
VIP,Tier1The contact was created successfully.
OK/Advertisers/<AccountSID>/Campaigns/1000/Contacts/2750curl -L \
--request POST \
--url 'https://api.impact.com/Advertisers/{AccountSID}/Campaigns/{CampaignId}/Contacts' \
--user '{AccountSID}:{AuthToken}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Accept: */*'The contact was created successfully.
{
"Status": "OK",
"Uri": "/Advertisers/<AccountSID>/Campaigns/1000/Contacts/2750"
}Use your AccountSID as the username and AuthToken as the password.
The unique identifier for the contact (e.g., '2750' or 'M1369520').
A single contact object.
Unique Contact ID. System-created contacts are prefixed with 'M'.
2750WileCoyotewile.coyote@example.com/Advertisers/<AccountSID>/Campaigns/1000/Contacts/2750/ProfileImageUS8051234567US8059876543Indicates if the contact is user-created and fully editable (true) or system-created and partially editable (false).
false/Advertisers/<AccountSID>/Campaigns/1000/Contacts/2750curl -L \
--url 'https://api.impact.com/Advertisers/{AccountSID}/Campaigns/{CampaignId}/Contacts/{ContactId}' \
--user '{AccountSID}:{AuthToken}' \
--header 'Accept: */*'A single contact object.
{
"Id": "2750",
"FirstName": "Wile",
"LastName": "Coyote",
"EmailAddress": "wile.coyote@example.com",
"Title": "",
"ProfileImage": "/Advertisers/<AccountSID>/Campaigns/1000/Contacts/2750/ProfileImage",
"WorkPhoneNumberCountry": "US",
"WorkPhoneNumber": "8051234567",
"CellphoneNumberCountry": "US",
"CellphoneNumber": "8059876543",
"Editable": false,
"Labels": [
"text"
],
"Accounts": [
{
"Id": "text",
"Name": "text"
}
],
"Uri": "/Advertisers/<AccountSID>/Campaigns/1000/Contacts/2750"
}Use your AccountSID as the username and AuthToken as the password.
WileCoyotewile.coyote@example.comMarketing Managerhttps://example.com/profile.jpgThe contact's work phone number. Requires WorkPhoneNumberCountry if updated.
8051234567Two-letter ISO 3166-1 alpha-2 country code. Required when WorkPhoneNumber is updated.
USThe contact's cellphone number. Requires CellphoneNumberCountry if updated.
8059876543Two-letter ISO 3166-1 alpha-2 country code. Required when CellphoneNumber is updated.
USA comma-separated string of labels to add.
VIPA comma-separated string of labels to remove.
Tier2A comma-separated string of partner account IDs to add.
12345A comma-separated string of partner account IDs to remove.
67890The contact was updated successfully.
OK/Advertisers/<AccountSID>/Campaigns/1000/Contacts/2750curl -L \
--request PUT \
--url 'https://api.impact.com/Advertisers/{AccountSID}/Campaigns/{CampaignId}/Contacts/{ContactId}' \
--user '{AccountSID}:{AuthToken}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Accept: */*'The contact was updated successfully.
{
"Status": "OK",
"Uri": "/Advertisers/<AccountSID>/Campaigns/1000/Contacts/2750"
}Use your AccountSID as the username and AuthToken as the password.
The contact was deleted successfully.
DELETEDcurl -L \
--request DELETE \
--url 'https://api.impact.com/Advertisers/{AccountSID}/Campaigns/{CampaignId}/Contacts/{ContactId}' \
--user '{AccountSID}:{AuthToken}' \
--header 'Accept: */*'The contact was deleted successfully.
{
"Status": "DELETED"
}Last updated
