---
schema_version: "1"
id: adb0d0dfa1ad2964417af14312702355c99b9b239ca028812c5e961016340911
title: AsyncResponse
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-apis/asyncresponse_appex.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/asyncresponse_appex.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: bcbcfbd45660f1c72b384ddfbf3415818e33ef60056dcd091527f7a1797bb1a6
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# AsyncResponse

Contains data that’s returned in response to an asynchronous API request. Responses are retained for 30 days.

## Properties

| Name              | Data Type                                        | Description                                                                                                            |
| ----------------- | ------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------- |
| `IncludeObjects`  | Boolean                                          | When `true`, the `Object` property in the response is populated in the result XML.                                     |
| `IncludeResults`  | Boolean                                          | When `true`, the response includes XML serialized Result objects. When `false`, the HTTP POST is a basic notification. |
| `OnlyIncludeBase` | Boolean                                          | When `true`, the `Object` property in the response includes only the base API object.                                  |
| `RespondWhen`     | [RespondWhen](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/respondwhen.md) object             | Specifies which events cause responses to be sent for the request.                                                     |
| `ResponseAddress` | String                                           | The email address or callback URL to send responses to.                                                                |
| `ResponseType`    | [AsyncResponseType](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/asyncresponsetype.md) object | The type of response to send. Accepted values are `Email`, `HTTPPost`, and `None`.                                     |

## Related Items

- [Asynchronous Processing](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/soap_tech_articles_asynch.md)
