Salesforce Marketing Cloud website screenshot

Salesforce Marketing Cloud

Salesforce Marketing Cloud is a comprehensive digital marketing platform that enables businesses to manage customer journeys, email marketing, mobile messaging, social media marketing, advertising, and data analytics.

15 APIs 8 Features
AutomationCustomer JourneyDigital MarketingEmailMarketingPersonalization

APIs

Marketing Cloud REST API

Core REST API for interacting with Marketing Cloud features including email, SMS, push notifications, and data extensions. REST API uses JSON request and response bodies and res...

SOAP API

Legacy SOAP-based API for Marketing Cloud operations, including email sends, subscriber management, and data extension operations.

Transactional Messaging API

Specialized API for sending triggered, transactional messages including order confirmations, password resets, and real-time notifications.

Journey Builder API

API for creating, managing, and automating customer journeys across multiple channels and touchpoints.

Data Extensions API

API for managing data extensions, which are database tables used to store and segment customer data in Marketing Cloud.

Email Send Definition API

API for creating and managing email send definitions, which define the configuration for sending emails to subscribers.

Mobile Push API

API for sending push notifications to mobile devices, managing device registrations, and tracking push message engagement.

SMS/MMS API

API for sending SMS and MMS messages, managing mobile numbers, and handling keyword-based subscriptions.

Asset API

API for managing marketing assets including images, documents, content blocks, and templates across Marketing Cloud.

Einstein Recommendations API

API for leveraging AI-powered product and content recommendations to personalize customer experiences.

Content Builder API

REST API for creating and manipulating marketing content in Content Builder, a single cross-channel repository for emails, images, text, content blocks, and other documents.

Contacts API

REST API for creating, reading, updating, and deleting contacts in Marketing Cloud.

Automation Studio API

API for initiating and managing marketing automations, including file upload, download, decryption, compression, and decompression operations within Automation Studio.

Campaign API

API for managing and performing marketing campaigns within Marketing Cloud.

Event Notification Service API

API for registering callbacks and subscriptions to receive real-time event notifications from Marketing Cloud.

Collections

GraphQL

Salesforce Marketing Cloud GraphQL API

Salesforce Marketing Cloud API covers email sends, automation, contacts, data extensions, journey builder, content builder, tracking events, and transactional messaging for digi...

GRAPHQL

Pricing Plans

Rate Limits

FinOps

Features

Email Marketing

Design, send, and track targeted email campaigns with dynamic content, personalization, and A/B testing capabilities.

Journey Builder

Create automated, multi-step customer journeys across email, SMS, push, and advertising channels with branching logic.

Contact Management

Centralized contact database with attribute sets, segmentation, and cross-channel identity resolution.

Transactional Messaging

Send real-time transactional messages like order confirmations and password resets with guaranteed delivery.

Einstein AI Personalization

Leverage AI-powered recommendations and predictive analytics to personalize content and optimize send times.

Automation Studio

Schedule and automate data imports, file transfers, SQL queries, and multi-step marketing workflows.

Content Builder

Centralized content management system for creating, organizing, and reusing marketing assets across channels.

Event Notifications

Subscribe to real-time webhook notifications for email tracking events, data changes, and audit activities.

Use Cases

Customer Onboarding Journeys

Automate multi-step welcome sequences across email and SMS to guide new customers through product adoption.

Abandoned Cart Recovery

Trigger personalized follow-up emails and push notifications when customers abandon shopping carts.

Cross-Channel Campaign Orchestration

Coordinate marketing messages across email, SMS, push, and advertising for unified campaign execution.

Subscriber Lifecycle Management

Manage subscriber preferences, segment audiences, and automate re-engagement campaigns for inactive contacts.

Real-Time Event-Driven Marketing

React to customer behaviors in real time with triggered messages based on website visits, purchases, or app activity.

Integrations

Salesforce CRM

Bi-directional sync with Sales Cloud and Service Cloud for unified customer profiles and campaign attribution.

Salesforce Data Cloud

Connect to unified customer data profiles for advanced segmentation and real-time personalization.

Google Analytics

Track email campaign performance and website conversions with Google Analytics integration.

Shopify

Sync e-commerce customer data, purchase history, and cart events for targeted marketing automation.

Salesforce Commerce Cloud

Integrate commerce data for personalized product recommendations and transactional messaging.

Semantic Vocabularies

Salesforce Marketing Cloud Context

0 classes · 0 properties

JSON-LD

API Governance Rules

Salesforce Marketing Cloud API Rules

7 rules · 7 errors

SPECTRAL

JSON Structure

Salesforce Marketing Cloud Asset Structure

14 properties

JSON STRUCTURE

Salesforce Marketing Cloud Contact Structure

6 properties

JSON STRUCTURE

Salesforce Marketing Cloud Journey Structure

14 properties

JSON STRUCTURE

Salesforce Marketing Cloud Structure

0 properties

JSON STRUCTURE

Example Payloads

Resources

🔗
LinkedIn
LinkedIn
🌐
DeveloperPortal
DeveloperPortal
🔗
Documentation
Documentation
🔑
Authentication
Authentication
🔗
APIReference
APIReference
💬
Support
Support
🟢
StatusPage
StatusPage
📦
SDKs
SDKs
📜
TermsOfService
TermsOfService
💰
Pricing
Pricing
📄
ChangeLog
ChangeLog
🔗
RateLimits
RateLimits
👥
GitHubRepository
GitHubRepository
🎓
Training
Training

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Salesforce Marketing Cloud REST API
  version: 1.0.0
request:
  auth:
    type: oauth2
    flow: client_credentials
    accessTokenUrl: https://YOUR_SUBDOMAIN.auth.marketingcloudapis.com/v2/token
    credentials:
      clientId: '{{clientId}}'
      clientSecret: '{{clientSecret}}'
items:
- info:
    name: Contacts
    type: folder
  items:
  - info:
      name: Salesforce Marketing Cloud Create Contacts
      type: http
    http:
      method: POST
      url: https://{subdomain}.rest.marketingcloudapis.com/contacts/v1/contacts
      body:
        type: json
        data: '{}'
    docs: Creates one or more contacts in Marketing Cloud. Each contact requires a contactKey as a unique identifier. You
      can include attribute values for any defined attribute sets such as Email Addresses, MobileConnect Demographics, or
      custom attribute sets.
  - info:
      name: Salesforce Marketing Cloud Search Contacts
      type: http
    http:
      method: POST
      url: https://{subdomain}.rest.marketingcloudapis.com/contacts/v1/contacts/actions/search
      body:
        type: json
        data: '{}'
    docs: Searches for contacts using filter criteria. Supports filtering by contactKey, email address, or other contact attributes.
      Returns matching contacts with their associated attribute values.
  - info:
      name: Salesforce Marketing Cloud Retrieve a Contact by Contact Key
      type: http
    http:
      method: GET
      url: https://{subdomain}.rest.marketingcloudapis.com/contacts/v1/contacts/:contactKey
      params:
      - name: contactKey
        value: ''
        type: path
        description: Unique identifier for the contact
    docs: Retrieves a single contact using the unique contactKey identifier. Returns the contact record with all associated
      attribute sets and values.
  - info:
      name: Salesforce Marketing Cloud Update a Contact
      type: http
    http:
      method: PATCH
      url: https://{subdomain}.rest.marketingcloudapis.com/contacts/v1/contacts/:contactKey
      params:
      - name: contactKey
        value: ''
        type: path
        description: Unique identifier for the contact
      body:
        type: json
        data: '{}'
    docs: Updates an existing contact's attributes. Provide only the attribute sets and values that need to be changed. Unspecified
      attributes remain unchanged.
  - info:
      name: Salesforce Marketing Cloud Delete a Contact
      type: http
    http:
      method: DELETE
      url: https://{subdomain}.rest.marketingcloudapis.com/contacts/v1/contacts/:contactKey
      params:
      - name: contactKey
        value: ''
        type: path
        description: Unique identifier for the contact to delete
    docs: Initiates an asynchronous delete operation for a contact identified by contactKey. This operation removes the contact
      and associated data from Marketing Cloud. The delete process runs asynchronously and may take time to complete.
  - info:
      name: Salesforce Marketing Cloud List Attribute Sets
      type: http
    http:
      method: GET
      url: https://{subdomain}.rest.marketingcloudapis.com/contacts/v1/attributeSets
    docs: Retrieves all attribute sets defined in Marketing Cloud. Attribute sets define the structure of contact data, including
      system attribute sets like Email Addresses and MobileConnect Demographics, as well as custom attribute sets.
- info:
    name: Journeys
    type: folder
  items:
  - info:
      name: Salesforce Marketing Cloud List Journeys
      type: http
    http:
      method: GET
      url: https://{subdomain}.rest.marketingcloudapis.com/interaction/v1/interactions
      params:
      - name: $page
        value: ''
        type: query
        description: Page number for pagination (1-based)
      - name: $pageSize
        value: ''
        type: query
        description: Number of journeys per page
      - name: $orderBy
        value: ''
        type: query
        description: Field to sort results by (e.g., ModifiedDate DESC, Name ASC)
      - name: status
        value: ''
        type: query
        description: Filter journeys by status (Draft, Published, ScheduledToPublish, Stopped, Unpublished)
      - name: nameOrDescription
        value: ''
        type: query
        description: Filter journeys by name or description (partial match)
    docs: Retrieves a collection of journeys. Supports pagination through page and pageSize parameters. Returns journey definitions
      including their current status, version, and configuration.
  - info:
      name: Salesforce Marketing Cloud Create a Journey
      type: http
    http:
      method: POST
      url: https://{subdomain}.rest.marketingcloudapis.com/interaction/v1/interactions
      body:
        type: json
        data: '{}'
    docs: Creates a new journey in Marketing Cloud. The journey specification defines the entry event, activities, triggers,
      and overall workflow. Journeys are created in Draft status by default and must be published to become active.
  - info:
      name: Salesforce Marketing Cloud Retrieve a Journey
      type: http
    http:
      method: GET
      url: https://{subdomain}.rest.marketingcloudapis.com/interaction/v1/interactions/:id
      params:
      - name: id
        value: ''
        type: path
        description: Unique identifier (UUID) of the journey
      - name: versionNumber
        value: ''
        type: query
        description: Specific version number to retrieve. If omitted, returns the latest version.
    docs: Retrieves a single journey by its unique identifier. Returns the complete journey specification including activities,
      triggers, goals, and exit criteria.
  - info:
      name: Salesforce Marketing Cloud Update a Journey
      type: http
    http:
      method: PUT
      url: https://{subdomain}.rest.marketingcloudapis.com/interaction/v1/interactions/:id
      params:
      - name: id
        value: ''
        type: path
        description: Unique identifier (UUID) of the journey
      body:
        type: json
        data: '{}'
    docs: Updates an existing journey. Only journeys in Draft status can be fully updated. Published journeys support limited
      modifications. Provide the complete journey specification including all activities and triggers.
  - info:
      name: Salesforce Marketing Cloud Delete a Journey
      type: http
    http:
      method: DELETE
      url: https://{subdomain}.rest.marketingcloudapis.com/interaction/v1/interactions/:id
      params:
      - name: id
        value: ''
        type: path
        description: Unique identifier (UUID) of the journey
    docs: Deletes a journey. Only journeys in Draft or Stopped status can be deleted. Published journeys must first be stopped
      before deletion.
  - info:
      name: Salesforce Marketing Cloud Publish a Journey
      type: http
    http:
      method: POST
      url: https://{subdomain}.rest.marketingcloudapis.com/interaction/v1/interactions/publishAsync/:id
      params:
      - name: id
        value: ''
        type: path
        description: Unique identifier (UUID) of the journey to publish
      body:
        type: json
        data: '{}'
    docs: Publishes a journey asynchronously, activating it for customer entry. Once published, contacts matching the entry
      criteria begin entering the journey. The publish operation returns a statusId for tracking progress.
  - info:
      name: Salesforce Marketing Cloud Stop a Journey
      type: http
    http:
      method: POST
      url: https://{subdomain}.rest.marketingcloudapis.com/interaction/v1/interactions/stop/:id
      params:
      - name: id
        value: ''
        type: path
        description: Unique identifier (UUID) of the journey to stop
    docs: Stops a published journey. Contacts currently in the journey can either complete their current activity or be ejected
      immediately based on the stop configuration.
  - info:
      name: Salesforce Marketing Cloud Fire a Journey Entry Event
      type: http
    http:
      method: POST
      url: https://{subdomain}.rest.marketingcloudapis.com/interaction/v1/events
      body:
        type: json
        data: '{}'
    docs: Fires an entry event to inject a contact into a journey. The contact is identified by ContactKey and enters the
      journey associated with the specified EventDefinitionKey. Additional data can be passed as part of the event payload.
- info:
    name: Assets
    type: folder
  items:
  - info:
      name: Salesforce Marketing Cloud List Assets
      type: http
    http:
      method: GET
      url: https://{subdomain}.rest.marketingcloudapis.com/asset/v1/content/assets
      params:
      - name: $page
        value: ''
        type: query
        description: Page number for pagination (1-based)
      - name: $pageSize
        value: ''
        type: query
        description: Number of assets per page
      - name: $orderBy
        value: ''
        type: query
        description: Field to sort results by (e.g., modifiedDate DESC, name ASC)
      - name: $filter
        value: ''
        type: query
        description: OData-style filter expression (e.g., assetType.name eq 'htmlemail')
    docs: Retrieves a collection of assets from Content Builder. Supports filtering, sorting, and pagination. Assets include
      emails, templates, images, content blocks, and other content types.
  - info:
      name: Salesforce Marketing Cloud Create an Asset
      type: http
    http:
      method: POST
      url: https://{subdomain}.rest.marketingcloudapis.com/asset/v1/content/assets
      body:
        type: json
        data: '{}'
    docs: Creates a new asset in Content Builder. The asset type determines the required and optional fields. Common asset
      types include htmlemail, templatebasedemail, htmlblock, codesnippetblock, and image.
  - info:
      name: Salesforce Marketing Cloud Retrieve an Asset
      type: http
    http:
      method: GET
      url: https://{subdomain}.rest.marketingcloudapis.com/asset/v1/content/assets/:id
      params:
      - name: id
        value: ''
        type: path
        description: Unique identifier of the asset
    docs: Retrieves a single asset by its unique identifier. Returns the complete asset definition including content, metadata,
      and associated category.
  - info:
      name: Salesforce Marketing Cloud Update an Asset
      type: http
    http:
      method: PUT
      url: https://{subdomain}.rest.marketingcloudapis.com/asset/v1/content/assets/:id
      params:
      - name: id
        value: ''
        type: path
        description: Unique identifier of the asset
      body:
        type: json
        data: '{}'
    docs: Updates an existing asset. Provide the complete asset definition with all desired values. Fields not included in
      the request body are not modified.
  - info:
      name: Salesforce Marketing Cloud Delete an Asset
      type: http
    http:
      method: DELETE
      url: https://{subdomain}.rest.marketingcloudapis.com/asset/v1/content/assets/:id
      params:
      - name: id
        value: ''
        type: path
        description: Unique identifier of the asset to delete
    docs: Deletes an asset from Content Builder. This action is permanent and cannot be undone.
  - info:
      name: Salesforce Marketing Cloud Query Assets With Advanced Filtering
      type: http
    http:
      method: POST
      url: https://{subdomain}.rest.marketingcloudapis.com/asset/v1/content/assets/query
      body:
        type: json
        data: '{}'
    docs: Performs an advanced query against assets using a structured query object. Supports complex filtering with AND/OR
      logic, nested conditions, and multiple sort criteria. More powerful than the OData-style filter on the list endpoint.
  - info:
      name: Salesforce Marketing Cloud List Asset Categories
      type: http
    http:
      method: GET
      url: https://{subdomain}.rest.marketingcloudapis.com/asset/v1/content/categories
      params:
      - name: $page
        value: ''
        type: query
        description: Page number for pagination (1-based)
      - name: $pageSize
        value: ''
        type: query
        description: Number of categories per page
      - name: $filter
        value: ''
        type: query
        description: OData-style filter expression (e.g., parentId eq 12345)
    docs: Retrieves categories (folders) used to organize assets in Content Builder. Categories provide a hierarchical folder
      structure for content organization.
bundled: true