# Check one address or up to 100

`POST /mail/validate` · Rivier · campaigns

Check one address or up to 100: syntax, a mail server for the domain, throwaway providers, role mailboxes and common typos. Nothing is sent.

- Scope: campaigns:read
- Mcp: rivier_campaign_mail_validate
- Graphql: Query.campaignsMailValidationCreate
- Sdk: mail.validate
- Cli: mail validate

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "minLength": 3,
      "maxLength": 320
    },
    "emails": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 3,
        "maxLength": 320
      },
      "minItems": 1,
      "maxItems": 100
    }
  },
  "additionalProperties": false
}
```

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/mail/validate' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "email": "string",
  "emails": [
    "string"
  ]
}'
```
