Questions tagged [marketingcloudapi]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
31 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
21 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/ { "...
  • 23
1 vote
0 answers
60 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
31 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 ...
  • 2,132
0 votes
1 answer
63 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
0 answers
38 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
64 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
236 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 ...
  • 71
0 votes
0 answers
14 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 ...
  • 154
1 vote
1 answer
48 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 ...
  • 13
-2 votes
1 answer
52 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)=%%">...
  • 35
0 votes
1 answer
47 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
56 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 ...
  • 1
2 votes
0 answers
57 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
35 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
58 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 ...
  • 182
0 votes
1 answer
80 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
34 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
118 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 ...
  • 3
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
67 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 ...
  • 1
0 votes
1 answer
258 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
42 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 ...
  • 113
0 votes
2 answers
163 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 /...
  • 5
0 votes
1 answer
187 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
43 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 ...
  • 113
0 votes
1 answer
166 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 ...
  • 2,253
1 vote
0 answers
311 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
28 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
0 votes
0 answers
78 views

Does SFMC have some sort of health check API? Or are there any workarounds to achieve the same sort of thing?

We are looking to use SFMC's Event Notification Service API to notify us when certain SMSs and EDMs are failing to reach our customers. With that in mind it is also vital that we know when SFMC itself ...
1 vote
0 answers
43 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
78 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
89 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 ...
  • 11
0 votes
1 answer
39 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
129 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: [(...
  • 51
1 vote
1 answer
1k 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 ...
0 votes
1 answer
55 views

Error Creating a row in an existing Data Extension in Sales Force Marketing Cloud through SOAP API

I want to add a new row into an existing data extension in SFMC using an API call, I tried using SOAP API, Following are the Error and API request message: Error : 400 Bad Request. Request URL : https:...
0 votes
2 answers
234 views

Using the Marketing Cloud REST API, can a value in a row in a data extension be changed if the column is part of the primary key?

I am considering using this endpoint: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/putDataExtensionRowByKey.html to insert and update (UPSERT) values. Is it possible to use ...
1 vote
2 answers
76 views

BadRequest Error Response on DataExtension Upsert API Call

I have been looking at the SYNC endpoints for data extensions and I'm making calls to the endpoint: POST /hub/v1/dataevents/key:ET_Contact_Detail/rowset with a body of: [ { "keys"...
  • 111
0 votes
1 answer
130 views

Update Subscriber Key in All subscriber generated through trigger sent

Hope everyone is doing well. I have a scenario, Please can you provide your inputs if its possible: When we target an audience(using data extension) through send flow, the subscriber are added to All ...
  • 17
0 votes
0 answers
39 views

Retrieve External Key of Data Extensison using MC API

I would like to retrieve the External Key of the Data Extension used in the journey. I am using a NodeJS backend, so it has to be through the API. I have read that it is currently impossible to do ...
0 votes
1 answer
83 views

Create CloudPages webpage using API or AppExchange

Using the Content Builder API I have been able to create several assets including, png, codesnippet block, html paste email and template. I tried creating a webpage type. Even though I received a 200 ...
1 vote
0 answers
340 views

Salesforce Marketing cloud rest API from Salesforce Cloud (apex)

I'm trying do set Auth. Providers and Named Credential for the salesforce marketing cloud in order to be able to make callout from apex without worrying to get and refresh the token. Is there any ...
  • 11
0 votes
0 answers
52 views

Marketing Cloud Simple Query with filter Bad Request - Need Help

I am making the following REST GET call: https://{{et_subdomain}}.rest.marketingcloudapis.com/asset/v1/content/assets?$page=1&$pagesize=50&$orderBy=AssetType asc&$filter=AssetType.Views....
1 vote
0 answers
100 views

Discount Coupon Codes with the opt-in functionality in Marketing Cloud [closed]

I am trying to send the discount coupon codes upon opting-in to my contacts with the below conditions: Initial Opt-in email - Opt-in to our emails and we’ll give you a discount code (click button to ...
0 votes
1 answer
117 views

SSJS WSProxy Create BounceEvent

I am Adding new subscriber to marketing cloud from another system. Some of the subscriber are hard bounced and have a number of bouncecount. I can create subscriber with Active , Held and Unsubscribe. ...
4 votes
0 answers
131 views

how data in _open data view is recorded in SFMC

As of now, our understanding of data views is that data is mostly real-time. But is this true for all data views or only specific data views? if specific, then which ones? Recently, we noticed that we ...
  • 131
0 votes
0 answers
129 views

Install managed package in Marketing Cloud automatically using Install URL WITHOUT publishing on AppExchange

Note that this post is specific to Marketing Cloud. I know that you can have unmanaged packages in Salesforce and install them by clicking a link without ever listing them on AppExchange. What I'm ...
0 votes
1 answer
67 views

v1 Token request does not work (Marketing Cloud) and pulls a NULL result

I am simply trying to run this v1 Auth request access token in a cloud page but keep getting a Null result. What is wrong with my code below?? var client_id = "XXXXXXXXXXXXXXXXXXXXXXXXXXX"; ...
0 votes
1 answer
294 views

How to redirect to cloud page and then the same link which has been used in email

We want to use all links to be directed to cloudpage(cloudpage is doing some action), then immediately to the same link(not a specific link) which has been used across email. How would it possible? ...
  • 3

1
2 3 4 5