QUESTIONS AND ANSWERS
SOAP API - ANS - Core functionality with Email, Tracking and Data Extensions
- Most comprehensive API functionality
REST API - ANS - New functionality with Mobile, Journey Builder, and Content Builder
- Selective support for core functionality including Email and Data Extensions
SOAP API for transactional message - ANS Available via the TriggeredSend object using the
Create method
REST API for transactional messaget - ANS Route for sending: /messageDefinitionSends
AMPScript for transactional message - ANS - Available via the TriggeredSend object using the
InvokeCreate function
- Used for landing pages on the Marketing Cloud
Components of a triggered send - ANS Definition + API Request
Where is the triggered send definition? - ANS In the UI under Email Studio > Interactions >
Triggered Emails
or via API (uncommon)
1 COPYRIGHT © 2025 SIRJOEL ALL RIGHTS RESERVED
,What does the triggered send definition do? - ANS - Provides common data for sending:
- Form Details
- Email Template
- Subscriber Management
- Differentiates sends for tracking purposes
- Allow for pausing/queuing messages (can pause triggered send, update email and then
resume)
Creating a Triggered Send Definition - ANS Fields:
- Name
- Key Identifier (CustomerKey = ExternalKey)
- Classification
- List for Subscriber Management
- Misc Options
- CC/BCC
- Multipart MIME
- Send Loggins
Triggered Send Def best practices - ANS - Create new definition for unique send types
- Password reset versus Receipt
- Make sure you start your definition
2 COPYRIGHT © 2025 SIRJOEL ALL RIGHTS RESERVED
,- Publish anytime you make changes
- Pause + Start != Publish
- Always select a list under subscriber management
- Provides better visibility into subscriber status
SOAP/REST API - which supports username and password? - ANS SOAP API
- Also supports OATH for a short-lived token
Web App - ANS Web Apps make API requests in the context of an end user. These
integrations are issued a client ID and client secret because they can maintain the
confidentiality of a client secret.
Public App - ANS Public Apps, such as single-page or mobile applications, make API requests
in the context of an end user. These integrations are issued only a client ID because they cannot
maintain the confidentiality of a client secret.
Server-Server - ANS A server-to-server integration performs tasks on behalf of the
integration, without an end-user context, user interaction, or user interface.They make API
requests in the context of a service account instead of a user account. These integrations are
issued a client ID and client secret to use with the Client Credentials grant type.
Access Tokens for Server-to-Server Integrations - ANS In the client credentials flow, your
client application uses this client ID and client secret to request an access token from the
Marketing Cloud authorization server. The access token gives your application access to
Marketing Cloud's REST and SOAP services. (The client credentials grant type doesn't have
refresh tokens.)
3 COPYRIGHT © 2025 SIRJOEL ALL RIGHTS RESERVED
, Access Tokens for Server-to-Server Integrations- how it works - ANS 1. Your application
requests an access token by providing the client ID and secret that was generated for the
package you created in Marketing Cloud.
2. The Marketing Cloud authorization server returns an access token for your application to
extract.
3. Your application uses the access token to access Marketing Cloud resources and the REST or
SOAP base URLs returned as part of the token response.
how does your application request the access token for the server-to-server integration? -
ANS Construct a static endpoint for your request by appending v2/token to the Authorization
Base URI provided to you when you created the API integration in Installed Packages. Request
an access token by providing the client ID and secret that you received when you created the
API integration in Installed Packages.
How long is the lifetime of an access token? - ANS 20 minutes
Here's an example request:
Host: https://YOUR_SUBDOMAIN.auth.marketingcloudapis.com
POST /v2/token
Content-Type: application/json
{
"grant_type": "client_credentials",
"client_id": "7a9j47upktedde30uedl822p",
"client_secret": "1955278925675241571",
"scope": "list_and_subscribers_write audiences_write",
"account_id": "12345"
}
the scope - ANS reflects the enabled permissions for the API request
4 COPYRIGHT © 2025 SIRJOEL ALL RIGHTS RESERVED