Authentication

To make an authenticated call to a Marketing Cloud Engagement Einstein service, obtain an OAuth access token. For server-to-server API integrations, review Access Token for Server-to-Server Integrations. For web or public app integrations, review Access Token for Web and Public App Integrations.

After you get an access token, use it make your request. You'll need your account’s tenant-specific subdomain.

URL Host Parameters

Name Type Description
Region string Required. A region identifier that matches the region of your Marketing Cloud Engagement account. Possible values are: us, eu

Request Header Parameters

Name Type Description
Authorization string Required. A string that starts with SFMC, followed by your access token. Ensure there is a space between the two values.
X-API-TSE string Required. Your tenant-specific subdomain.

Example Request

HOST: "https://api.YOUR_REGION.sfmc-einstein.com"

POST "/ecs/v1/api/asset/edit"

HEADERS:
{
  "Authorization" : "SFMC YOUR_ACCESS_TOKEN",
  "X-API-TSE" : "YOUR_SUBDOMAIN",
  "Content-Type" : "application/json"
}