# Check whether a mailbox may send from an address

Checks one From address through the same routing, ownership, credential scope and sending-state authorization as submission, including aliases, subaddresses and catch-all patterns. Requires submission access to the named mailbox; folder grants do not confer sending rights. For non-system callers, unknown or foreign addresses return 403 sender_not_owned without revealing their owner. Does not create mail, reserve quota or send anything. A successful check is advisory: submission always checks again. Responses are not cacheable.

## `POST /api/v1/mailboxes/{mailboxId}/send-as/check`

### Path parameters

- `mailboxId` (string, required) — Mailbox ULID identifier

### Request body (required)

`application/json`

- `address` (string, required) — One bare From address, without a display name

### Responses

**200** — This caller may currently send from this address through this mailbox

`application/json` → SenderCheck

- `allowed` (true, required)

**400** — Malformed address (invalid_address) or request body

`application/json` → ErrorOrValidation

**401** — unauthorized: the bearer credential is missing, malformed, expired, or revoked. Carries a `WWW-Authenticate: Bearer` challenge

`application/json` → ErrorBody

**403** — Address not owned by this mailbox (sender_not_owned), no local sender for a system caller (sender_not_local), sending disabled (sending_disabled), or insufficient credential scope (credential_scope)

`application/json` → ErrorBody

**404** — Mailbox not found or not accessible to this principal

`application/json` → ErrorBody

**413** — too_large: JSON request body exceeds 1 MiB or 500,000 values (object keys included), checked before parsing

`application/json` → ErrorBody

**429** — Sending paused (sending_paused); Retry-After and retryAfterSeconds indicate when to retry

`application/json` → ErrorBody

**503** — temporary_failure: the platform's storage could not answer just now; retry after the Retry-After window. Any operation can answer this. A write that got it may have been applied, so retry it with the same idempotency key where it takes one, or read the state back first (see Transient failures in the API description)

`application/json` → ErrorBody

### Example request

```bash
curl -X POST 'https://api.open.email/api/v1/mailboxes/{mailboxId}/send-as/check' \
  -H 'Authorization: Bearer oek_…' \
  -H 'Content-Type: application/json' \
  -d '{
    "address": "string"
  }'
```

## TypeScript SDK

[`openemail.mailboxes.checkSendAs`](/docs/sdks/typescript/mailboxes/check-send-as)

```ts
const senderCheck = await openemail.mailboxes.checkSendAs(mailboxId, { address: 'ada@example.com' })
```
