addToCampaign

addToCampaign

Description:

Adds a contact to a follow-up sequence (campaigns were the original name of follow-up sequences)

Parameters:

boolean addToCampaign(
    string  key,
    int     contactId,
    int     campaignId
)

Parameter Definitions:

key - Your Infusionsoft API key

contactId - the contact Id number you would like to start the follow-up sequence for

campaignId - the Id number of the follow-up sequence you would like to start

Returns:

Return: (boolean) True/False

iSDK Method Name:

campAssign( [int] ContactId, [int] FollowUpSequenceId )

iSDK Parameters:

ContactId - the contact Id number you would like to start the follow-up sequence for

FollowUpSequenceId - the Id number of the follow-up sequence you would like to start

iSDK Code Example:

$contactId = 123;
$campId = 456;
$result = $myApp->campAssign($contactId, $campId)