The Salesforce Developers website will undergo maintenance on May 29, 2024 from 3:00 a.m. UTC to 10:00 a.m. UTC. The maintenance process may affect the availability of our documentation. Please plan accordingly.

Create a Triggered Send for an On-Your-Behalf Account

This page contains conceptual and procedural information about creating a triggered send for an On-Your-Behalf account via the SOAP API.

By creating a triggered send tied to an On-Your-Behalf account, you can take advantage of the personalization capabilities of the account while utilizing the immediacy and availability of a triggered send.

Use the sample code below to create a triggered send for an On-Your-Behalf account. Use the ID of the specific On-Your-Behalf account as the value of OwnerID to create the send for an On-Your-Behalf account from the top level admin account.