---
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/receive-emails/send-trust/list-trust

メールの受信：送信と信頼

# List Trust

信頼済みまたは信頼しないと判断した送信者を一覧表示します。

POST `https://g.sendcorex.com/v1` command: list_trust

`default`の送信者には記録がないため、ここには表示されません。

## 引数

- `value` string 任意
`trusted`のみ、または`untrusted`のみ。両方なら省略します。
- `limit` number 任意
ページサイズ（1〜100）。デフォルトは25。
- `cursor` string 任意
前のページの`next_cursor`。

## クイックスタート

```
import axios from 'axios';

const response = await axios.post(
  'https://g.sendcorex.com/v1',
  {
    commands: [
      {
        command: "list_trust",
        args: {
          value: "untrusted",
          limit: 50
        }
      }
    ]
  },
  { headers: { Authorization: process.env.SENDCOREX_TOKEN } },
);

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

## レスポンス

```
{
  "type": "SUCCESS",
  "results": [
    {
      "command": "list_trust",
      "id": "0",
      "type": "SUCCESS",
      "data": {
        "senders": [
          {
            "from_email": "spammer@example.net",
            "trust_status": "untrusted",
            "is_trusted": false,
            "updated_at": "2026-10-09T11:40:12Z",
            "subscribed": false,
            "opened": true,
            "clicked": false
          }
        ],
        "has_more": false,
        "next_cursor": null
      }
    }
  ]
}
```

### レスポンスの項目

- `senders[].from_email`
送信者のアドレス。
- `senders[].trust_status`
`trusted`または`untrusted`。
- `senders[].is_trusted`
`trusted`の場合のみ`true`。
- `senders[].updated_at`
判断を保存した日時。
- `senders[].subscribed`
この連絡先がこのメールボックスから配信停止した場合は`false`。
- `senders[].opened / senders[].clicked`
この連絡先がこのメールボックスから送られたメールを開封/クリックした場合は`true`。
- `has_more / next_cursor`
ページネーション。

## エラー

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

- 401`TOKEN_EXPIRED`
access tokenの有効期限が切れました。Refresh Tokenを呼んでリクエストを繰り返してください。
- 401`INVALID_TOKEN`
トークンの形式が不正、不明、または取り消されています。
- 429`RATE_LIMITED`
同じIP + メールボックスで毎秒15リクエストまたは同時15件を超えました。Retry-Afterの秒数だけ待ってください。
- CMD`INVALID_ARGS`
必須の引数がないか不正です。
- CMD`INVALID_CURSOR`
カーソルが不正か、別のアカウントまたはフォルダーのものです。
- CMD`INTERNAL`
サーバーエラー。詳細はサーバーのログにのみ記録されます。
