Connects with credentials the end user enters, such as an API key, so you don’t need to register an OAuth app.
Authentication: OAuth or server-to-server credentials. See Magic Link for the runtime auth flow, or Application credentials to bring your own OAuth app.
Sample use cases
- Find the contact record for
alice@acme.comand list the data extensions she appears in. - Upsert this week’s webinar registrants into the Webinar Attendees data extension.
- Run the Nightly Lead Sync automation and confirm it completed.
Available Tools
Check whether an email address is valid before sending: syntax, whether the domain accepts mail (MX), and known-bad address lists.
List Content Builder assets (emails, content blocks, images, templates) with an optional simple $filter (e.g. “assetT…
Search Content Builder assets with an advanced query: nested AND/OR operand trees, multiple sort clauses, and a field projection.
Get one Content Builder asset by ID, including its full content, views, data, and meta.
Create a Content Builder asset. Requires name and asset_type (e.g. htmlemail=208, htmlblock=197, png=28). Emails take…
Update a Content Builder asset (partial PATCH): name, description, folder, content, views, data, meta, channels, or asset type.
Delete a Content Builder asset by ID. Use list_assets or search_assets to find the asset ID.
List Content Builder categories (folders) with optional filter(e.g.′parentIdeq516016′),orderBy, and scope (‘Shared’).
Create a Content Builder folder under a parent folder.
Rename or move a Content Builder folder (full PUT: name and parent_id are both required).
Delete a Content Builder folder by ID. The folder must be empty: move or delete its assets and subfolders first. Use …
List Automation Studio automations with page-number pagination (page_size up to 500), optionally sorted (order_by) and filtered (filter).
Get one automation by ID, including its schedule, status, and steps with their activities.
Run an automation once now, performing all of its activities (queries, imports, sends).
List Marketing Cloud folders of one type, e.g. category_type ‘dataextension’.
List Marketing Cloud campaigns with optional $orderBy (e.g. ‘createdDate DESC’).
Get one campaign by ID. Use list_campaigns to find campaign IDs.
Create a campaign. Requires name; optional description, campaign_code, color (hex without ’#’), and favorite.
Update a campaign’s name, description, campaign_code, color, or favorite flag.
Delete a campaign by ID. Use list_campaigns to find the campaign ID.
List the assets (emails, journeys, …) associated with a campaign. Each item’s id is the association ID remove_cam…
Associate one or more items with a campaign, e.g. asset_type ‘EMAIL’ with item_ids from list_assets.
Remove an asset association from a campaign.
Find contacts by email address (1-100 addresses).
Create a contact with attribute values grouped by attribute set (most accounts require the ‘Email Addresses’ set).
Update an existing contact’s attribute values, grouped by attribute set.
Delete contacts by contact key. Asynchronous: SFMC deletes them after the account’s retention period.
Get the status of a contact delete operation started by delete_contacts.
List Contact Builder attribute set definitions and their attributes, with page-number pagination.
Read rows from a data extension by external key or ID (exactly one), with page-number pagination (page_size up to 2500), a filter like “Email eq ‘a@b.com’”, order_by, and a fields column mask.
Insert or update up to 500 rows synchronously, matched on primary key columns.
Queue a large batch of rows for a data extension asynchronously.
Get the processing status of an asynchronous data request (requestStatus, resultStatus, hasErrors).
Get per-row results (status, errorCode, message) of a completed asynchronous data request, with page-number pagination.
List data extensions with page-number pagination (page, page_size; use page_info.next_page).
Get one data extension’s properties (name, key, folder, sendable settings, row count) by ID.
List a data extension’s fields (column names, types, lengths, primary keys, nullability).
Create a data extension with at least one field.
Update a data extension’s name, description, sendable/testable flags, or retention settings.
Permanently delete a data extension and all its rows.
Add one or more fields (columns) to an existing data extension.
Change existing data extension fields (length, scale, nullability, default value), matched by name.
Delete ALL rows from a data extension, keeping its structure.
List Journey Builder event definitions (entry sources) with their id and eventDefinitionKey, optionally filtered by name.
Get one event definition by event_definition_id or key (exactly one). Use list_event_definitions to find them.
Create a journey entry event (e.g. type ‘APIEvent’) bound to a data extension.
Replace an event definition (full body: type, name, key, data extension).
Delete an event definition. Journeys that use it as an entry source must be stopped or deleted first.
List Journey Builder journeys (lean summaries: id, key, version, status).
Get a journey’s full definition (triggers, activities, goals, exits) by journey_id or key (exactly one).
Create a journey from a Journey Spec (key, name, triggers, activities).
Replace a draft journey version’s full Journey Spec.
Delete a journey, or one version with version_number.
Start publishing (activating) a journey version asynchronously.
Check the progress of a publish_journey request by its status_id.
Stop a running journey version; contacts exit and it cannot be restarted (inverse of publish_journey).
Pause a running journey version (contacts hold in place).
Resume a paused journey version (inverse of pause_journey).
Get a journey’s audit log (who created, modified, published, unpublished, or deleted it), optionally filtered by action.
Inject a contact into a published journey by firing its API entry event.
Remove up to 50 contacts from journeys (inverse of fire_entry_event).
Check whether contacts removed with remove_contacts_from_journey have exited.
List which journeys (key and version) the given contacts are currently in, plus contact keys that were not found.
List transactional email send definitions with page-number pagination (page_size up to 100, the API maximum).
Get one transactional email send definition by its definition key, including its email asset, subscription settings, and options.
Create a transactional email send definition that links a Content Builder email to a subscriber list.
Update a transactional email send definition: name, description, status (Active/Inactive), classification, email asset, subscriptions, or options.
Delete a transactional email send definition by definition key.
Send a real transactional email to 1-500 recipients using an active send definition.
Get the send status of one transactional email message by message key (e.g. ‘TransactionalSendEvents.EmailSent’).