---
schema_version: "1"
id: 8112c7ecfe86c660da208b916d7f31ebda403f6726e5996364bf6dd9455a6c9c
title: DefinitionRetrieve
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-programmatic-content/ssjs_sendDefinitionRetrieve.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_sendDefinitionRetrieve.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 24e447410510da01c7c21fe7db6209be582b29eda97668d4cab9db11b1bc65b4
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# DefinitionRetrieve

## Overview

Retrieve send definitions based on the specified criteria

### Syntax

DefinitionRetrieve(1)

### Function Properties

<!--complex table-->

| Ordinal | Type   |              | Description                                 |
| ------- | ------ | ------------ | ------------------------------------------- |
| **1**   | string | **Required** | Criteria used to search for send definition |

## Examples

This sample code retrieves an array of send definitions based on the specified criteria:

```
var esd = Send.Definition.Retrieve({Property:"CustomerKey", SimpleOperator:"equals", Value:"ssjs_test_esd"});
```
