---
schema_version: "1"
id: 8fa7b2f28ead3fa624568770ad256beecb0c99246f16a4c682009ce1af5f191a
title: AMPscript API Functions
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/ampscript/references/api/mc-ampscript-reference-api.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: a8ee12af743f8330d65b42a2146ae971d2e3d10e43b76f97d96b4eb54a22da0e
products:
  - AMPscript for Marketing Cloud
  - Marketing Cloud
---
# AMPscript API Functions

Use the AMPscript API functions to interact with the [Marketing Cloud Engagement SOAP API](https://developer.salesforce.com/docs/marketing/guides/mc-apis/web_service_guide.md).

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 Name                                                            | Description                                                            | Engagement  | Next       |
| ------------------------------------------------------------------------ | ---------------------------------------------------------------------- | ----------- | ---------- |
| [AddObjectArrayItem()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-add-object-array.md)   | Adds an object to an array in a Marketing Cloud Engagement API object. | ✅&nbsp;Yes | ❌&nbsp;No |
| [CreateObject()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-create-object.md)            | Creates an API object.                                                 | ✅ Yes      | ❌ No      |
| [InvokeCreate()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-invoke-create.md)            | Invokes the Create method on an API object.                            | ✅ Yes      | ❌ No      |
| [InvokeDelete()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-invoke-delete.md)            | Invokes the Delete method on an API object.                            | ✅ Yes      | ❌ No      |
| [InvokeExecute()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-invoke-execute.md)          | Invokes the Execute method on an API object.                           | ✅ Yes      | ❌ No      |
| [InvokePerform()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-invoke-perform.md)          | Invokes the Perform method on an API object.                           | ✅ Yes      | ❌ No      |
| [InvokeRetrieve()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-invoke-retrieve.md)        | Invokes the Retrieve method on an API object.                          | ✅ Yes      | ❌ No      |
| [InvokeUpdate()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-invoke-update.md)            | Invokes the Update method on an API object.                            | ✅ Yes      | ❌ No      |
| [SetObjectProperty()](https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-set-object-property.md) | Sets a value for an object created by the `CreateObject()` function.   | ✅ Yes      | ❌ No      |
