> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Resend: Wait For Reply

> Register a reply address, then wait for the matching inbound email in the same Play Run. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

Register a reply address, then wait for the matching inbound email in the same Play Run.

> [!NOTE]
>
> Tool ID: `resend_wait_for_reply`

## Run this action

This action has conditional or dynamic inputs. A static example cannot describe these inputs reliably.

Read the live contract before you execute this action:

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline describe resend_wait_for_reply --json
```

## Example response

The static output schema lacks the details for a reliable example. Use `deepline describe resend_wait_for_reply --json` for the complete live contract.

## Input reference

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.action` | `"register" \| "wait"` | Yes | — | Allowed: `register`, `wait`. |
| `payload.from` | `string` | No | — | The one sender whose inbound reply should resolve this wait. Format: `email`. |
| `payload.receiving_domain` | `string` | No | — | A domain already receiving email in this Resend account, including its account-specific .resend.app domain. No DNS changes are made. Minimum length: 3. Maximum length: 253. Pattern: `^(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+[a-zA-Z]&#123;2,&#125;$`. |
| `payload.timeout` | `string` | No | — | Reply deadline such as 7d. Defaults to 24h. null uses the 30-day ceiling. Minimum length: 1. |
| `payload.wait_id` | `string` | No | — | A wait registered in this same Play Run. Minimum length: 1. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "properties": {
      "action": {
        "type": "string",
        "enum": [
          "register",
          "wait"
        ]
      },
      "from": {
        "type": "string",
        "description": "The one sender whose inbound reply should resolve this wait.",
        "format": "email"
      },
      "receiving_domain": {
        "type": "string",
        "description": "A domain already receiving email in this Resend account, including its account-specific .resend.app domain. No DNS changes are made.",
        "minLength": 3,
        "maxLength": 253,
        "pattern": "^(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z]{2,}$"
      },
      "timeout": {
        "type": [
          "string",
          "null"
        ],
        "description": "Reply deadline such as 7d. Defaults to 24h; null uses the 30-day ceiling.",
        "minLength": 1
      },
      "wait_id": {
        "type": "string",
        "description": "A wait registered in this same Play Run.",
        "minLength": 1
      }
    },
    "required": [
      "action"
    ],
    "oneOf": [
      {
        "properties": {
          "action": {
            "const": "register"
          }
        },
        "required": [
          "from",
          "receiving_domain"
        ],
        "additionalProperties": false
      },
      {
        "properties": {
          "action": {
            "const": "wait"
          }
        },
        "required": [
          "wait_id"
        ],
        "additionalProperties": false
      }
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.type` | `"registered" \| "reply" \| "timeout"` | No | — | Allowed: `registered`, `reply`, `timeout`. |
| `result.wait_id` | `string` | No | — | — |
| `result.reply_to` | `string` | No | — | — |
| `result.expires_at` | `number` | No | — | — |
| `result.timed_out` | `boolean` | No | — | — |
| `result.reply_email_id` | `string` | No | — | — |
| `result.reply_message_id` | `string` | No | — | — |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "properties": {
      "type": {
        "type": "string",
        "enum": [
          "registered",
          "reply",
          "timeout"
        ]
      },
      "wait_id": {
        "type": "string"
      },
      "reply_to": {
        "type": "string"
      },
      "expires_at": {
        "type": "number"
      },
      "timed_out": {
        "type": "boolean"
      },
      "reply_email_id": {
        "type": [
          "string",
          "null"
        ]
      },
      "reply_message_id": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "oneOf": [
      {
        "properties": {
          "type": {
            "const": "registered"
          }
        },
        "required": [
          "type",
          "wait_id",
          "reply_to",
          "expires_at"
        ],
        "additionalProperties": false
      },
      {
        "properties": {
          "type": {
            "enum": [
              "reply",
              "timeout"
            ]
          }
        },
        "required": [
          "type",
          "wait_id",
          "timed_out",
          "reply_email_id",
          "reply_message_id"
        ],
        "additionalProperties": false
      }
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Connect integrations](https://deepline.com/docs/integrations.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.