Questions tagged [marketingcloudapi]
The marketingcloudapi tag has no usage guidance.
219
questions
1
vote
1
answer
45
views
Unsubscribed contact delete in marketing cloud - anything to keep in mind?
We have million contacts that are unsubscribed and are billable. We only send emails. No PUSH/SMS.. We want to explore the option of deleting them from marketing cloud and keep a record elsewhere. We ...
0
votes
1
answer
39
views
Internal server error - 500 in Postman API request while updating Salesforce Marketing cloud mobile contact subscription attribute
As I heard re-optin to mobile contact using import definition doesn't work.
I could see there are 2 options to re-optin:
QueueMO API request
Update Contact
I don't want to send sms while re-optin to ...
0
votes
1
answer
39
views
Marketing Cloud: Permission Denied for API Endpoints / Objects
Within Salesforce Marketing Cloud (ExactTarget), when accessing the BusinessRule object via the SOAP API, I am getting a permission denied error. I possess the unmodified and original roles for: Admin,...
0
votes
0
answers
71
views
Postman cURL to SSJS, Getting Errors
I'm having trouble with converting Postman cURL to SSJS. My goal is to build a cloudpage to make an API call to an external platform to create records, but somehow my SSJS code does not work. Here is ...
0
votes
0
answers
29
views
Tracking A/B Test Marketing cloud in Sales
We have done some A/B testing and we have not been able to generate any kind of object in Sales like the IndividualEmailResult of the normal mailings.
I don't know if there is any way to collect this ...
0
votes
1
answer
65
views
How can i send promotional email via rest or soap api?
I am working to create an environment where our client sends their promotional email. content of the email is dynamic. I am a little confused about which API we need to use to send promotional emails ...
0
votes
1
answer
88
views
Salesforce Marketing Cloud - Object Names
I need to extract data from Salesforce Marketing Cloud. I'm using KingswaySoft SSIS Integration Toolkit to do the ETL, but I don't know the tables that retrieve the columns I need. I've searched on ...
0
votes
1
answer
28
views
GET Request for Users Salesforce.com Status (Integrated / Not)?
As the title says, I'm wondering if anyone knows the URL to query if a user is Integrated with SF in MC or not?
I thought maybe I could find that info with "platform/v1/accounts/{mid}/users" ...
0
votes
1
answer
43
views
LogUnsubEvent makes Subscriber unsubscribed but don't change Status on _Subscribers Data View
I execute this LogUnsubEvent on a CloudPage and it works well.
The Subscriber get unsubscribed correctly but the value of Status don't change and remains Active on the table _Subscribers. Idk if i ...
0
votes
2
answers
172
views
Send API Triggered MobilePush to mobile device using REST API [closed]
I am trying to send a Push notification to a sample android application which I created from Android Studio for testing. I Added my application in FireBase Console and getting my Device Token from ...
0
votes
0
answers
46
views
Problem with updating DE record via SSJS
When trying to update DE record via SSJS nothing gets updated, but I don't know which step is wrong. Any help would be appreciated. Thanks in advance.
Here's the SSJS Code.
<script runat = "...
0
votes
1
answer
40
views
where can i find the massageID and tokenID for api call?
Good afternoon
I'm starting the configuration for an API call that returns email and sms data received by the customer in the marketing cloud
checking documentations I found this call here:
https://...
0
votes
1
answer
69
views
Dynamic Sender Profile errored triggered mails
I'm trying to set up a Dynamic Sender Profile and my triggered emails are erroring.
I was told that I simply needed to put %%FromName%% and %%FromEmail%% in the sender profile and then set those two ...
-3
votes
1
answer
58
views
Changing SFMC Connector from one Sales cloud to another [closed]
Is this possible? How hard would it be to move a client with an exisiting Marketing Cloud to connect it to a different Salesforce org (they are moving to a new org for core CRM, but have marketing ...
0
votes
0
answers
99
views
How to update an Automation to set notification emails using API?
I am trying to set notification emails using WSProxy. Below is the code I am working with. Tried running this in Cloudpages as well as in a script activity in Automation Studio.
Part of the result I ...
1
vote
1
answer
82
views
ContactKey does not appear in Contact Builder -> All Contacts -> Mobile Push - React Native (IOS)
I followed all the steps in the react-native-marketingcloudsdk documentation, including activating the push, but the set contactKey does not appear in the Contact Builder.
SDK log is returning, push ...
1
vote
0
answers
75
views
JSON Deserialization Exception 10004 marketing cloud API
I keep getting the following error for this REST API --> https://mcmqczd118jdz8xqdfsbxdwh96f0.rest.marketingcloudapis.com/hub/v1/dataeventsasync/key:GAT_FUEL_triggered_DE_Test/rowset/
{
"...
1
vote
0
answers
72
views
i have requirement like sending three emails through API journey for the where contact data is not working [closed]
I need to send three email as follows:
user registered on their website we need to send one email with Activation URL
2.if user not activating his account and trying to login he cannot and there is a ...
0
votes
0
answers
49
views
Automatically Withdraw Email Approval in Marketing Cloud
We are managing all our email templates in an external system. Once a piece of content is approved, it is automatically created in SFMC.
What we want to do is automatically withdraw the approval on an ...
0
votes
1
answer
237
views
How to delete a data extension (entire DE not only records) using SSJS? [closed]
I was trying to delete a data extension inside automation but couldn't find way to delete it using SSJS.
This is data on how to delete records in a data extension, but not the data extension itself: ...
0
votes
1
answer
47
views
Create Data Extension that can't be deleted?
Does anyone know if it's possible to create a data extension that cannot be deleted? I know it works with DataFolder using the API, with this property:
<IsEditable>false</IsEditable>
But ...
0
votes
1
answer
249
views
How to know if an User has logged in SFMC using SFMC APIs or SSJS scripts
We are creating a cloud page where only the users who have access to SFMC can access and login to the page. If the user is currently not logged into SFMC then, when the user opens the Cloudpage it ...
0
votes
1
answer
715
views
How to access user role and permission information?
We need to provide access to the following:
A list of all users, their status roles, permissions, and basic info (user name, email, business unit, etc.)
A list of all permissions
A list of all roles
...
0
votes
0
answers
18
views
Unable to view the Event in Event Source after creating it with REST API using schema not the DE Id?
I have created an event, the response says successful, but I can't find the event in Journey Builder
I have seen that I'll have to provide the sourceApplicationExtensionId as well as the DE id in the ...
1
vote
1
answer
67
views
Unable to perform REST API call in CloudPages
I have been trying to do a HTTP Post for quite a while and I can't get it to work in CloudPages. The auth token call works, but not the other one. I am trying to create HTML emails in CloudPages. It ...
-1
votes
1
answer
97
views
Can we use RedirectTo() functions to call the contentblock in marketing cloud
We have a requirement - when we click on a button, it should redirect to particular contentblock. I have tried multiple ways like
<a href="%%=ContentBlockByKey(@contentBlockKey)=%%">...
0
votes
1
answer
101
views
'Bad Request' error while sending Soap API to update the query activity
I'm using the Soap API to Update the Query activity. It works fine with a simple query, but when the query contains the special characters(&, (, ),-) mentioned below it gives the 'Bad Request' ...
0
votes
1
answer
121
views
Marketing Cloud normal data extension - how to trigger email when row gets updated from API
I am trying to send an email, when the status field gets updated with API update. I am able to trigger the email while inserting to data extension with the event definition key but while updating I am ...
2
votes
0
answers
157
views
How to manage automation via ampscript API - second part
I would like to close the discussion thread on this related topic Manage automation via ampscript API. If you have additional information to complement it would be great to hear on the answers!
Here ...
0
votes
0
answers
142
views
Send a QueueMO Request to Marketing Cloud API Accessing Through Cloud Page
I'm trying to request a queueMO through Marketing Cloud API, I retrieved the API Token with AMPSCRIPT and then parse in SSJS in the code below:
%%[
var @access_token, @loginUrl, @contentType, @...
1
vote
1
answer
96
views
Retrieving DE data with API. ContinueRequest is returning the same data
I'm making the following SOAP API call to get records from a data extension. The DE holds more than 2500 records, so if the response says more data is available, my script will insert the request ID ...
0
votes
1
answer
215
views
Email thumbnail could not be retrieved under Individual Email results
We have Marketing Cloud connected to Sales Cloud connected with MC Connect. Now these emails are shown as Individual Email Results in Sales Cloud. All works well but the problem is its not showing ...
0
votes
0
answers
60
views
API Interactions not being entered into Journey
I am using the Journey Builder's "Fire Entry Event" REST API to enter contacts into my Journey in Marketing Cloud.
When firing the event using a payload similar to this:
{
"...
0
votes
1
answer
285
views
How to get Send Classification ID, Delivery Profile ID and Sender profile ID in SFMC?
I am trying to make an API call from Postman to make a test send.
I am trying to implement the solution given here - https://gortonington.com/email-send-preview-and-test-sends-via-rest-api/. I am ...
0
votes
0
answers
11
views
When do SFMC outbound API calls from within ampScript execute? [duplicate]
I know that we can make calls to web services outside of SFMC using methods mentioned here: SFMC outbound API calls
I want to know if I add these API calls to the ampScript, when exactly do they ...
0
votes
0
answers
102
views
Retrieving SQL Query Activity status with SOAP API returns "OLE DB provider unable to begin a distributed transaction" error
I need to know when a SQL Query Activity is done and ran without errors. Therefore I check the status every 10 seconds until it's completed based on the following solution:
Checking the Status of the ...
0
votes
1
answer
954
views
How do I retrieve an Event Definition Key having the Journey specifications?
I'm trying to develop a REST service on a CodeResource that, among other things, expects to receive in the JSON payload a field containing the name of the Journey.
Based on the value contained in this ...
0
votes
1
answer
74
views
Can I give very specific rights to an API user in Marketing Cloud?
For a developer using API in Marketing Cloud, can we give specific rights ( more than a simple Read/Write/Send) ?
Like being able to delete only the content created by this access ?
Or being able to ...
0
votes
2
answers
448
views
Retrieve all Data Extensions across all running journeys
I found out on this forum there is an option with Marketing Cloud API to retrieve all the Data Extensions associated with Journeys.
When using Postman, the request below works perfectly
GET /...
0
votes
1
answer
462
views
Marketing Cloud App SOAP API "Error: API Permission Failed." on every call
Overview: I am using SSO to login to my marketing cloud app, and trying to then hit the API to load a list of DataExtensions. However it seems no matter the call I make, I get the same error:
<?xml ...
-1
votes
1
answer
75
views
Can I restrict rights to an API user in Marketing Cloud?
The devs working with me are asking if we can give only Read access to some developpers, and full access to others ?
I know only, in Setup, the Apps> Installed Package > Instance API values. But ...
0
votes
1
answer
256
views
UnknownHostException while calling Marketing Cloud endpoint
When trying to call Marketing Cloud REST Endpoint, following error happens intermittently.
nested exception is java.net.UnknownHostException: <SFMC_URL>
Saw similar article in Salesforce Forum ...
1
vote
0
answers
633
views
Setup the Name Credential and Auth Provider for Marketing Cloud API
We are intent to use Marketing Cloud API using Apex Callout.
Initially, I was trying to set up a Name Credential and Auth Provider for the Server-Server API Package on the MC side.
But with my testing,...
0
votes
0
answers
70
views
Retrieve MobilePush notifications on client on demand without using MobilePush SDKs
Is it possible to retrieve MobilePush notifications that were sent to a device on-demand ("pull" notifications)? Is there a REST API to retrieve the notifications that were sent to a ...
1
vote
0
answers
53
views
Marketing Cloud Connector Update
Salesforce is suggesting we should update the way we update catalog into Marketing Cloud. It used to be done by a clint side javascript and now it must be done via API integration or by batch process.
...
0
votes
1
answer
133
views
Does WSProxy Calls consume SFMC API limits?
We have a use-case where we have to find out all the Data extensions present in a Business unit. We can achieve this by using the WSProxy Retrieve option or SSJS RetrieveRequest approach. As the ...
1
vote
0
answers
124
views
keyWindow lost when call to start watching location in iOS APP
When we call to sfmc_startWatchingLocation, if we have location permissions granted, with the conditions details below, after assign window key:
window.makeKeyAndVisible()
its provokes to lose the ...
0
votes
1
answer
57
views
How to Unassociate Campaigns from Automations in Marketing cloud? [closed]
We have some automations which were tagged to a wrong campaigns. Now I dont find a way to un-tag/ unassociate those campaigns. Is there any way to do it via APIs or SSJS? I could not find anything on ...
0
votes
0
answers
261
views
Triggered send not sending email
I am using Python Fuel-SDK. I get the following response from triggered send, but the email is not sent
Send Status: True
Code: HTTPStatus.OK
Message: OK
Result Count: 1
Results: [(...
1
vote
1
answer
2k
views
SFMC Rest API Transactional Email Send or Transactional Journey or Single Send Journey?
REST API is not my forte, can someone help me understand the difference between a REST Call for
A) transactional email send
b) single send journey
c) transactional send journey
I would like to ...