AMPscript API Functions

Use the AMPscript API functions to interact with the Marketing Cloud Engagement SOAP API.

This table lists all the AMPscript functions related to the SOAP API. The value in the Engagement column indicates whether Marketing Cloud Engagement supports the function. The value in the Next column indicates whether Marketing Cloud Next supports the function.

Function NameDescriptionEngagementNext
AddObjectArrayItem()Adds an object to an array in a Marketing Cloud Engagement API object.✅ Yes❌ No
CreateObject()Creates an API object.✅ Yes❌ No
InvokeCreate()Invokes the Create method on an API object.✅ Yes❌ No
InvokeDelete()Invokes the Delete method on an API object.✅ Yes❌ No
InvokeExecute()Invokes the Execute method on an API object.✅ Yes❌ No
InvokePerform()Invokes the Perform method on an API object.✅ Yes❌ No
InvokeRetrieve()Invokes the Retrieve method on an API object.✅ Yes❌ No
InvokeUpdate()Invokes the Update method on an API object.✅ Yes❌ No
SetObjectProperty()Sets a value for an object created by the CreateObject() function.✅ Yes❌ No