Skip to main content

sendImmediateByCampaignToSubscriber

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.

Subscriber data must be sent by the requester. It is then used to parse the message model associated with the delivery.

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.
subscriberSubscriberSubscriber custom data. IMPORTANT: The subscriber MUST include at least the RECIPIENT SubscriberAttribute (For example: Name=RECIPIENT,Value=someone@example.com).
sendImmediateOptionsSendImmediateOptionsSend immediate options.
OutputTypeDescription
xs:stringAn ID that can be used to check the state using getDeliveryStatus method or getDeliveryMailQ.