Questions tagged [marketingcloudapi]

The tag has no usage guidance.

61 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
0answers
178 views

Payload for attributeGroups/{groupId}/attributeSetDefinitions MC API endpoint

I'm trying to figure out how to create Attribute Groups and link them to data extensions via the Marketing Cloud REST API (and SOAP API for data extensions, if needed). I managed to create an empty ...
3
votes
0answers
63 views

How to start and stop campaigns in Marketing Cloud?

The documentation https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-apis.meta/mc-apis/campaign.htm mentions that a campaign can be started and stopped via SOAP APIs. Where can we find ...
2
votes
0answers
125 views

Create in, or Move a Data Extension to the Salesforce Data Extensions folder

I tried using the SOAP API to create a data extension and set the CategoryID to the Salesforce Data Extensions folder, but I get this error: "Unable to save data extension into a non-data extension ...
2
votes
0answers
44 views

How to setup programmatically the background color of a marketing cloud Layout block

I am struggling with the possiblity of configuring programmatically the background color of a Layout Block that I have in Email Studio. I don't find the possibility of doing that using AMPSCript. It ...
1
vote
0answers
13 views

Python FuelSDK 1.3.0 no longer working?

I had to revert from python FuelSDK 1.3 to 0.9, because as of around 2pm Eastern on 3-Mar-2021, the code was failing on authentication, the server response was failing the JSON parser. Anyone else ...
1
vote
1answer
32 views

Exclusion List field in Mobile Connect

I have a customer's requirement to get the value of Exclusion List field in MobileConnect send, to do an automatic extraction of control group. Does anyone know if it's possible? I've been talking ...
1
vote
0answers
56 views

Using lookup function after updating DE returns old value

I've encountered quite strange phenomena. When retrieving a field from a DE and then updating this field to some other value - the lookup which follows the update function returns the old value (...
1
vote
1answer
36 views

Only retrieving journeys without tags via REST API

I am trying to retrieve journey information with REST API in Marketing Cloud. According to the "Search Journeys - GET /interaction/v1/interactions" page, there is tag as URL Parameters to ...
1
vote
0answers
32 views

Can we retrieve the role of the users in Marketing CLoud Account, using SOAP API?

Is there any way to retrieve the role of the users in Marketing CLoud Account, using SOAP API? I am able to retrieve other details like email, BU, UserID, ActiveFlag using the SOAP API call, but there ...
1
vote
0answers
109 views

Creating a Sales/Service Cloud task from an API call using AmpScript and data views

I am trying to create a Sales/Service Cloud task for our sales reps when someone clicks or opens an email in a journey. The desire is to use an API call for two reasons: 1.) to eliminate the need for ...
1
vote
0answers
26 views

Connecting Content with Mobile Push API

We are anlysing on implemention Mobile Push API to send transactional messages via Mobile app. I have a question in this regard. Does anyone know , when we make an API call as : POST /push/v1/message ...
1
vote
0answers
78 views

Remove LINE Account from Contact GroupConnect LINE Addresses Using Marketing Cloud API

If I use Marketing Cloud's Webhook (https://cl.s11.exct.net:443/Response_LineOriginated.ashx?channelId={channel id}) in my LINE Messaging API, a new contact is created whenever someone follows my ...
1
vote
0answers
89 views

Have to Track the Campaign ID and Description using DataViews

Currently, I'm tracking the email sent details using data views and storing in a DE, I need to track campaign ID and Description in the same DE. Is there a way to track it using Data Views? In my ...
1
vote
0answers
134 views

SFMC Custom Activity - Authenticated Headers JSON

I am currently trying to post the following JSON through a custom activity that fires a REST API to an end-point, however I have been provided an api key to include in the header to be able to ...
1
vote
1answer
46 views

Possible for using API to update Subscriber Key populated by Mobile Push SDK?

I have this very awkward situation with my mobile application developing team. I have consulted dev team to implement the delay registration method for the app but happened to some miscommunications ...
1
vote
0answers
37 views

Marketing cloud API failed

does anyone know what this type of error refers to? I'm trying to log in from an app connected to marketing cloud but I can't because I always get the same error. Could you help me please?
1
vote
0answers
144 views

Marketing cloud v2 api for saving contact data into data extension using api

I had successfully posted a contact in SFMC using their v1 api and v1 login token but I want to do it using OAuth 2.0 token https://xxx.rest.marketingcloudapis.com/hub/v1/dataevents/key:272C533C-193E-...
1
vote
1answer
714 views

Create a Automation Studio Dashboard on a Marketing Cloud Cloud Page

I Want to Create a dashboard where all Automations and there status in the Account is displayed. old post on the topic I Want to push all Automation object data to a data extension. This can only be ...
0
votes
0answers
51 views

Get created SMS using Content Builder API

I would like to get Assets (only SMS) via Content Builder API. I tried using the route asset/v1/content/assets/query with something like below : { "page": { "page": 1, &...
0
votes
0answers
21 views

Is it possible to retrieve attribute meta data during subscriber retrieve

Is it possible to retrieve attribute meta data for each of the Subscriber profile attributes (not data extension attributes) during retrieve of the Subscriber? I am using the SOAP API and I am aware ...
0
votes
2answers
47 views

Deployment Manager not opening

I have installed deployment manager on SFMC account enterprise BU but it is continuously throwing the following error. Can anybody have an idea why i am getting this error. error : mc9gph0gwn67-wz4y01....
0
votes
1answer
30 views

How can I automatically add a subscriber from MobileConnect to AllSubscribers?

Currently Salesforce Service Cloud is calling Marketing Cloud API to insert a Mobile contact when a button is clicked. It only adds the record to The MobileConnect app with the rest.marketingcloudapis....
0
votes
0answers
40 views

How to get the SFMC abandoned cart link to go to the abandoned cart page and not to the products page?

I have implemented Abandoned cart Behavioral trigger and its working fine. But when the customer receives the Abandoned cart email and clicks it should redirect to the rebulit cart URL, instead of ...
0
votes
0answers
36 views

Not so public cloud pages in Marketing Cloud

I am building a cloudpage but want to restrict it to be visible only within my company network. I have a solution and it is working. I created a DE with the list of accepted IP ranges and used SSJS ...
0
votes
1answer
15 views

Where can I find the list of contacts that have opted in for push notifications via the API

In the mobile push rest API, is there somewhere where I can find the list of contacts that has opted in to receive push notifications via the API? Also, is there a way, say via the Event Notification ...
0
votes
0answers
10 views

Send FB message via GroupConnect API

I'm trying to send a message to FB Messenger via GroupConnect API, however not sure where to get the values for "messageKey", "messageGroupKey" and userReference. I get that the ...
0
votes
0answers
38 views

Salesforce SFMC : FuelSDK Python - Unable to retrieve data from Shared Data Extension

We are trying to retrieve data from Shared data extension in Salesforce marketing cloud through FuelSDK Python. Below is the code snippet: import FuelSDK import ET_Client stubObj = FuelSDK.ET_Client(...
0
votes
1answer
42 views

Skip over bad records in SSJS loop and continue processing

I have created this SSJS Loop, but it will stop when a record is considered "bad". How do I skip over this record to continue the process? <script runat="server"> Platform....
0
votes
0answers
26 views

Is there any way to force a Connector synchronization of an object via SSJS?

I couldn't find anywhere in the API documentation, but is there a way to, via SSJS, force an entity synchronization on an object (Connector)? The issue I'm running into is I created an automation ...
0
votes
1answer
59 views

How to retrieve content block in SSJS

I'm trying to retrieve a content block for a script in ssjs. I tried already several functions but it seems not working. The scope is with a script to retrieve a content from a content area and push ...
0
votes
0answers
24 views

Custom Values in Marketing Cloud connect

We have integrated SFMC with SFDC using marketing cloud connect. We intend to use dynamic email in a journey to send out emails to various regions, the problem statement comes with the reporting. The ...
0
votes
0answers
41 views

salesforce SOAP Xml with complex filter to retrieve records from dataextension

Need to retrive records from address dataextension of salesforce having address is null or empty using SOAP post call. Also, what is the best operator for soap which match or filter for empty property ...
0
votes
0answers
60 views

I wanted to extract the entire “Journey History” of all contacts using REST/SOAP API, facing issue for more than 10K records, Any solution?

I was trying to retrieve JourneyHistory using below API https://xxxxxxxx.rest.marketingcloudapis.com/interaction/v1/interactions/journeyhistory/search?$page=2&$pageSize=5000 The problem I am ...
0
votes
0answers
39 views

Journey Builder - use API responses as pre-email/sms activity step checks within a Marketing Cloud journey

We're looking to implement an APP acquisition campaign, where we send the customer an initial email, followed by reminder interactions depending on how they interacted with the initial email (...
0
votes
0answers
27 views

Is there any soap api get the status message of the perform extract to know whether the extract is in progress or failed or complete?

Extract API used: <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:u="http://docs.oasis-open....
0
votes
0answers
33 views

Queueing reports in Salesforce Marketing Cloud

I want a list of all email templates which are in queue and need to make a report for the same. Can anyone guide me with this requirement if anytime anyone came across this Salesforce Marketing Cloud?
0
votes
0answers
12 views

Search and retrieve in data extension with REST API

I am trying to find an alternative to the "old" https://www.exacttargetapis.com/v1/attributes/search endpoint, which seems to no longer work. I used to do something like the below, to obtain ...
0
votes
0answers
46 views

Custom metadata Type in Marketing Cloud

Is it possible to replicate "Custom metadata types" from Salesforce into Marketing Cloud? I don't think this is possible, but maybe someone has enough experience with SFSC that knows a ...
0
votes
0answers
24 views

Filter push message response in marketing Cloud API based on Contactkey

Is it possible to filter push message response based on ContactKey/SubscriberKey in marketing cloud API? Currently GET/push/v1/message getting all messages.
0
votes
0answers
34 views

Contact Deletion through REST API - POST Error 400

Fetching an error code 400 for the below code: <script runat="server"> Platform.Load("Core", "1.1.1"); /* create the payload in JSON format */ var payload = '{&...
0
votes
1answer
176 views

How do retrieve all the data from a Data Extensions object without giving Properties field?

There is an DataExtension object "Profile". Since its custom created the end user who is working on SOAP API retrieval doesn't know the Columns/Attributes listed in there. So is there a way ...
0
votes
0answers
113 views

REST API to add data into a data extension leads to error 20002

I am using a REST API to add data into a data extension and I receive the following error: { "message": "Insufficient privileges to complete this action.", "errorcode": ...
0
votes
2answers
129 views

Exposing Data through REST API

I need to expose certain SFMC data to a third party app that doesn't have a ready-made Salesforce integration. I'm considering using REST API to expose the data and this action should be triggered ...
0
votes
0answers
35 views

Marketing Cloud SDK | Is Transactional Messaging API part of it?

I need to build a Micro Service on a different platform for sending emails. I need to use transactional messaging API. I understand SFMC has SDK(http://salesforce-marketingcloud.github.io/FuelSDK-Java/...
0
votes
0answers
32 views

Retrieve Marketing Cloud SOAP API SendEvent - Read Timeout

I want to be able to retrieve all sendevents from the date range and the subscriber list specified, however, I always get read time out when I do this in Prod. (Works fine in lower region.) How can I ...
0
votes
0answers
525 views

Salesforce Marketing Cloud - Making REST API Call to send data from marketing cloud to External

I have coupon details in marketing cloud . Once email is sent out of Marketing cloud via journey,i need to send email sent date to external . Post journey acitivty i'm planning to trigger ssjs ...
0
votes
0answers
26 views

LogUnsubEvent with Marketing Cloud Platform SDK for PHP

Is it possible to log an unsubscribe event with Marketing Cloud Platform SDK for PHP? I found this method: https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-sdks.meta/mc-sdks/subscriber-...
0
votes
0answers
60 views

Issues with Dataextension

While working with data extension to import data from SFMC into my application, facing some of the issues mentioned below. Is there a way to get the count of records per data extension using API in C#...
0
votes
0answers
17 views

API Permission Error while creating folder with content type: 'job'

I could create a folder of content type as 'userinitiatedsends' using the SOAP object 'DataFolder' in Marketing Cloud. But when creating a folder of content type 'job' in the same manner, (https://...
0
votes
0answers
15 views

Access more Business unity not works in Package in my case

I have created a package in: SETUP> INSTALLED PACKAGES For a business unit, I perform load tests at data extension with Postman and it works, when I modify the package in ACCESS> and allow access to ...