Skip to main content

sendImmediateByCampaignToSubscriberId

Sends a single, one-shot message using the template associated with the IMMEDIATE campaign selected by the campaign identifier/alias, passed by the campaign object and overriding the default template associated with the existing campaign.

The subscriber data is retrieved using the sourceId/subscriberId pair.

InputTypeDescription
apiKeyxs:stringAlphanumeric hash identifying a Contactsend customer.
userKeyxs:stringAlphanumeric hash identifying a Contactsend user.
campaignCampaignIMPORTANT: The campaign identifier or campaign alias CANNOT be null. The message object in the campaign object must be correctly populated.
sourceIdXs:int Subscriber source identifier.
subscriberIdXs:intSubscriber identifier.
sendImmediateOptionsSendImmediateOptionsSend immediate options.
OutputTypeDescription
xs:stringAn ID that can be used to check the state using getDeliveryStatus method or getDeliveryMailQ.