---
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/nl/api-reference/receive-emails/audience/check-recipients

E-mails ontvangen: contacten en doelgroep

# Check Recipients

Geeft aan welke ontvangers zich voor deze mailbox hebben afgemeld. Alleen-lezen.

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

## Argumenten

- `emails` string[] verplicht
1 tot 100 adressen.

## Snel starten

```
import axios from 'axios';

const response = await axios.post(
  'https://g.sendcorex.com/v1',
  {
    commands: [
      {
        command: "check_recipients",
        args: {
          emails: [
            "ana@empresa.com",
            "joao@empresa.com"
          ]
        }
      }
    ]
  },
  { 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);
```

## Response

```
{
  "type": "SUCCESS",
  "results": [
    {
      "command": "check_recipients",
      "id": "0",
      "type": "SUCCESS",
      "data": {
        "recipients": [
          {
            "email": "ana@empresa.com",
            "subscribed": true,
            "unsubscribed_at": null
          },
          {
            "email": "joao@empresa.com",
            "subscribed": false,
            "unsubscribed_at": "2026-11-02T14:10:00Z"
          }
        ]
      }
    }
  ]
}
```

### Responsevelden

- `recipients[]`
`email`, `subscribed` en `unsubscribed_at`.

## Fouten

Fouten op HTTP-niveau geven `type`, `code` en `message` terug. Fouten met CMD komen terug in het resultaat van de opdracht, met HTTP 200.

- 401`TOKEN_EXPIRED`
De access token is verlopen. Roep Refresh Token aan en herhaal het request.
- 401`INVALID_TOKEN`
De token is ongeldig, onbekend of ingetrokken.
- 429`RATE_LIMITED`
Meer dan 15 requests/s of 15 tegelijk voor hetzelfde IP + mailbox. Wacht het aantal seconden uit Retry-After.
- CMD`INVALID_ARGS`
Een verplicht argument ontbreekt of is ongeldig.
- CMD`INTERNAL`
Serverfout. Het detail wordt alleen in het serverlog geschreven.
