> ## 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: Domains Create Claim

> Claim a domain. Resend Domains Create Claim reference includes SDK V2 and CLI requests, input constraints, response fields, and Deepline cost.

Claim a domain.

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

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'resend_domains_create_claim',
  {
    "name": "Example"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline run resend_domains_create_claim --input '{
  "name": "Example"
}'
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "object": "example",
    "id": "id_123",
    "name": "Example"
  }
}
```

Use `deepline describe resend_domains_create_claim --json` for the latest machine-readable contract.

## Input reference

Start a claim for a domain that another Resend account has already verified. The domain is recreated under your account with fresh DKIM keys, so the previous account's DNS records cannot be reused. Returns a TXT record to add to your DNS to prove ownership. Uses the same request body as creating a domain.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.name` | `string` | Yes | — | The name of the domain you want to claim. |
| `payload.region` | `"us-east-1" \| "eu-west-1" \| "sa-east-1" \| "ap-northeast-1"` | No | `"us-east-1"` | The region where emails will be sent from. Possible values are us-east-1 \| eu-west-1 \| sa-east-1 \| ap-northeast-1 Allowed: `us-east-1`, `eu-west-1`, `sa-east-1`, `ap-northeast-1`. |
| `payload.custom_return_path` | `string` | No | `"send"` | For advanced use cases, choose a subdomain for the Return-Path address. Defaults to 'send' (i.e., send.yourdomain.tld). |
| `payload.open_tracking` | `boolean` | No | — | Track the open rate of each email. |
| `payload.click_tracking` | `boolean` | No | — | Track clicks within the body of each HTML email. |
| `payload.tracking_subdomain` | `string` | No | — | The subdomain to use for click and open tracking. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Start a claim for a domain that another Resend account has already verified. The domain is recreated under your account with fresh DKIM keys, so the previous account's DNS records cannot be reused. Returns a TXT record to add to your DNS to prove ownership. Uses the same request body as creating a domain.",
    "properties": {
      "name": {
        "type": "string",
        "description": "The name of the domain you want to claim."
      },
      "region": {
        "type": "string",
        "description": "The region where emails will be sent from. Possible values are us-east-1 | eu-west-1 | sa-east-1 | ap-northeast-1",
        "default": "us-east-1",
        "enum": [
          "us-east-1",
          "eu-west-1",
          "sa-east-1",
          "ap-northeast-1"
        ]
      },
      "custom_return_path": {
        "type": "string",
        "description": "For advanced use cases, choose a subdomain for the Return-Path address. Defaults to 'send' (i.e., send.yourdomain.tld).",
        "default": "send"
      },
      "open_tracking": {
        "type": "boolean",
        "description": "Track the open rate of each email."
      },
      "click_tracking": {
        "type": "boolean",
        "description": "Track clicks within the body of each HTML email."
      },
      "tracking_subdomain": {
        "type": "string",
        "description": "The subdomain to use for click and open tracking."
      }
    },
    "required": [
      "name"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.object` | `string` | No | — | The type of object. |
| `result.data.id` | `string` | No | — | The ID of the claim. |
| `result.data.name` | `string` | No | — | The name of the domain being claimed. |
| `result.data.status` | `"pending" \| "verified" \| "completed" \| "blocked" \| "expired" \| "superseded" \| "canceled" \| "failed"` | No | — | The status of the claim. Allowed: `pending`, `verified`, `completed`, `blocked`, `expired`, `superseded`, `canceled`, `failed`. |
| `result.data.domain_id` | `string \| null` | No | — | The ID of the placeholder domain created for the claim. |
| `result.data.region` | `"us-east-1" \| "eu-west-1" \| "sa-east-1" \| "ap-northeast-1" \| null` | No | — | The region where the claimed domain will send from. Allowed: `us-east-1`, `eu-west-1`, `sa-east-1`, `ap-northeast-1`, `null`. |
| `result.data.record` | `object` | No | — | The TXT record to add to your DNS to prove ownership of the claimed domain. |
| `result.data.record.type` | `"TXT"` | No | — | The DNS record type. Always TXT for domain claims. Allowed: `TXT`. |
| `result.data.record.name` | `string` | No | — | The name of the DNS record (the domain being claimed). |
| `result.data.record.value` | `string` | No | — | The value of the TXT record. |
| `result.data.record.ttl` | `string` | No | — | The time to live for the record. |
| `result.data.blocked_reason` | `"grace_period" \| "recent_owner_activity" \| "pending_scheduled_emails" \| null` | No | — | Why the claim is currently blocked, if applicable. Allowed: `grace_period`, `recent_owner_activity`, `pending_scheduled_emails`, `null`. |
| `result.data.failure_reason` | `string \| null` | No | — | Why the claim failed, if applicable. |
| `result.data.created_at` | `string` | No | — | The date and time the claim was created. |
| `result.data.expires_at` | `string` | No | — | The date and time the claim expires if not verified. |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

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

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "object": {
            "type": "string",
            "description": "The type of object."
          },
          "id": {
            "type": "string",
            "description": "The ID of the claim."
          },
          "name": {
            "type": "string",
            "description": "The name of the domain being claimed."
          },
          "status": {
            "type": "string",
            "description": "The status of the claim.",
            "enum": [
              "pending",
              "verified",
              "completed",
              "blocked",
              "expired",
              "superseded",
              "canceled",
              "failed"
            ]
          },
          "domain_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The ID of the placeholder domain created for the claim."
          },
          "region": {
            "type": [
              "string",
              "null"
            ],
            "description": "The region where the claimed domain will send from.",
            "enum": [
              "us-east-1",
              "eu-west-1",
              "sa-east-1",
              "ap-northeast-1",
              null
            ]
          },
          "record": {
            "type": "object",
            "description": "The TXT record to add to your DNS to prove ownership of the claimed domain.",
            "properties": {
              "type": {
                "type": "string",
                "description": "The DNS record type. Always TXT for domain claims.",
                "enum": [
                  "TXT"
                ]
              },
              "name": {
                "type": "string",
                "description": "The name of the DNS record (the domain being claimed)."
              },
              "value": {
                "type": "string",
                "description": "The value of the TXT record."
              },
              "ttl": {
                "type": "string",
                "description": "The time to live for the record."
              }
            },
            "additionalProperties": false
          },
          "blocked_reason": {
            "type": [
              "string",
              "null"
            ],
            "description": "Why the claim is currently blocked, if applicable.",
            "enum": [
              "grace_period",
              "recent_owner_activity",
              "pending_scheduled_emails",
              null
            ]
          },
          "failure_reason": {
            "type": [
              "string",
              "null"
            ],
            "description": "Why the claim failed, if applicable."
          },
          "created_at": {
            "type": "string",
            "description": "The date and time the claim was created."
          },
          "expires_at": {
            "type": "string",
            "description": "The date and time the claim expires if not verified."
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "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.