---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://docs.sendcorex.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://docs.sendcorex.com/llms.txt"
---

Source: https://docs.sendcorex.com/ja/api-reference/domains/setup/request-domain-remediation

ドメイン：設定のヘルプ

# ドメイン修復のリクエスト

Add Domainが`BLACKLISTED`で拒否したドメインの審査を当社チームに依頼します。承認後にもう一度追加してください。

POST `https://g.sendcorex.com/v1/domain` command: request_domain_remediation

API keyに`domain:create`スコープが必要です。

アカウントごとに毎分5回まで。超えるとコマンドは`RATE_LIMITED`を返します。

依頼はドメインごとに1件まで。メールで回答します。

## 引数

- `domain` string 必須
拒否されたドメイン。
例： `"acme.io"`
- `justification` string 任意
2000文字まで。ドメインの用途と、リストに載っていた場合は解除のために行ったことを書いてください。
例： `"New owner since August, previous site removed, delisted from Spamhaus on 2026-10-12."`

## クイックスタート

```
import axios from 'axios';

const response = await axios.post(
  'https://g.sendcorex.com/v1/domain',
  {
    commands: [
      {
        command: "request_domain_remediation",
        args: {
          domain: "acme.io",
          justification: "New owner since August, previous site removed, delisted from Spamhaus on 2026-10-12."
        }
      }
    ]
  },
  { headers: { Authorization: process.env.SENDCOREX_API_KEY } },
);

const [result] = response.data.results;
if (result.type !== 'SUCCESS') throw new Error(`${result.code}: ${result.message}`);
console.log(result.data);
```

## レスポンス

```
{
  "type": "SUCCESS",
  "results": [
    {
      "command": "request_domain_remediation",
      "id": "0",
      "type": "SUCCESS",
      "took_ms": 14,
      "data": {
        "domain": "acme.io",
        "status": "pending",
        "message": "Your request has been submitted. Our team will review it and contact you shortly."
      }
    }
  ]
}
```

### レスポンスの項目

- `domain`
ドメイン。
- `status`
ここでは常に`pending`。
- `message`
ユーザーに表示できる文。

## 拒否から追加まで

- `1. 拒否`
Add Domainが`BLACKLISTED`を返します。
- `2. 依頼`
このコマンド。できるだけ詳しく状況を書いてください。
- `3. 承認`
当社チームが審査して連絡します。その後Add Domainをもう一度呼んでください。あなたのアカウントではこのドメインのブロックリスト確認がスキップされます。
- `すでに承認済み？`
新しい依頼には`ALREADY_APPROVED`が返ります。そのままドメインを追加してください。

## エラー

HTTPレベルのエラーは`type`、`code`、`message`を返します。CMDと表示されたエラーは、HTTP 200でコマンドの結果内に返ります。

- 401`INVALID_API_KEY`
API keyが存在しないか、取り消されたか、ダッシュボードで無効化されています。
- 429`RATE_LIMITED`
同じIP + API keyで毎秒15リクエストまたは同時15件を超えました。Retry-Afterの秒数だけ待ってください。
- CMD`MISSING_SCOPE`
API keyにこのコマンドに必要なスコープがありません。
- CMD`INVALID_ARGS`
引数が不正です：`domain`がないか形式が不正、`key_size`が1024/2048以外、`email`が不正、説明が255文字超…
- CMD`ALREADY_PENDING`
このドメインの審査依頼はすでに審査待ちです。
- CMD`ALREADY_APPROVED`
審査はすでに承認されています。ドメインをもう一度追加してください。
- CMD`RATE_LIMITED`
直近1分間にアカウントがこのコマンドを呼びすぎました。1分待ってください。
- CMD`INTERNAL`
サーバーエラー。詳細はサーバーのログにのみ記録されます。
