---
schema_version: "1"
id: 8d69787f1e2a2f1722e68b9823baa03b51276805fe504b202c5e9231edf0b62f
title: RespondWhen
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-apis/respondwhen.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/respondwhen.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 1349758405bd5da0fed2864d83cfd4626f228d025e7f74b57f80e6ca11e5413d
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# RespondWhen

The RespondWhen object sends a response via email or HTTP post for an asynchronous call. You can send to separate URLs for different actions as necessary.

| Name                     | Data Type   | Description                                                                                                      |
| ------------------------ | ----------- | ---------------------------------------------------------------------------------------------------------------- |
| `Always`                 | Enumeration | Specifies that a response is always sent, whether the processing completes successfully or with an error status. |
| `Never`                  | Enumeration | Specifies that a response is never sent for an asynchronous process.                                             |
| `OnCallComplete`         | Enumeration | Specifies that a response is sent when an asynchronous call is complete.                                         |
| `OnConversationComplete` | Enumeration | Specifies that a response is sent when an asynchronous conversation is complete.                                 |
| `OnConversationError`    | Enumeration | Specifies that a response is sent when an asynchronous conversation returns an error.                            |
| `OnError`                | Enumeration | Specifies that a response is sent when an asynchronous process returns an error.                                 |
