---
schema_version: "1"
id: 7085e1abae33d548c2238bdbd001a6101a84674529809142695d8b8bd640f4d2
title: InvokeCreate
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-programmatic-content/ssjs_platformAPIInvokeCreate.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_platformAPIInvokeCreate.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: dcec2817876a97228d112cff6520a2c7c8623f6ad392c1b360c967738d1b8dab
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# InvokeCreate

## Overview

Invokes the create method on the specified object

### Syntax

InvokeCreate(1, 2, 3)

### Function Properties

<!--complex table-->

| Ordinal | Type   |              | Description                                                         |
| ------- | ------ | ------------ | ------------------------------------------------------------------- |
| **1**   | string | **Required** | Object on which to perform Create method                            |
| **2**   | array  | **Required** | Array containing status and RequestID of API call                   |
| **3**   | string | **Required** | API configure options to include in call. Can contain a null value. |

## Example

```
<script runat="server">
     var StatusAndRequestID = [0,0];
     var newObject = Platform.Function.InvokeCreate(CreateRequest,StatusAndRequestID,Options);
     var status = StatusAndRequestID[0];
     var requestID = StatusAndRequestID[1];
</script>
```
