> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# campaignSendCheck

> Check a campaign before sending or scheduling it, without changing it: what blocks the send, how many customers it reaches, whether that is a large send for email, and whether the time is in SMS quiet hours. It applies the rules the Redo app applies, and `campaignSend` refuses the blockers. It runs one audience estimate, cached for 5 minutes, which can take a while for a large dynamic segment. The quiet-hours check uses `at`, else `localTime`, else the campaign's saved schedule, else now. Returns null if no campaign with that id is owned by the caller.

**Required scopes:** [`campaigns_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-campaigns_read)

**Store must have one of:** `EMAIL_SMS`

## Arguments

**at** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

Check quiet hours for sending at this instant, such as the `scheduledAt` you plan to set. Not with `localTime`.

**id** `ID!` *required*

The campaign's `id`, or its `legacyId` from an earlier version of the Redo API.

**localTime** `String`

Check quiet hours for sending at this wall-clock time in each recipient's time zone, as `YYYY-MM-DDTHH:mm:ss`, such as the `scheduledLocalTime` you plan to set. Not with `at`.

## Returns

**campaignSendCheck** `[CampaignSendCheck](/docs/api-reference/v3/reference/marketing/campaign-send-check)`

What the Redo app checks before it sends a campaign: what blocks the send, the audience size, whether the send is unusually large, and whether the time is in SMS quiet hours.

**fields**

**blockers** `[\[CampaignSendBlocker!\]!](/docs/api-reference/v3/reference/marketing/campaign-send-blocker)` *required*

Everything that stops the campaign from being sent. Empty when it can be sent.

**isLargeSend** `Boolean!` *required*

Whether an email campaign reaches more than twice `largestPreviousSend`, or more than 50,000 above it. Always false for an SMS campaign and when there is no previous send. A warning only: it never blocks a send.

**largestPreviousSend** `Int`

The most recipients any of the store's last 50 finished email campaigns had. Null for an SMS campaign or when the store has none.

**quietHours** `[CampaignQuietHours](/docs/api-reference/v3/reference/marketing/campaign-quiet-hours)`

Whether the checked time is in SMS quiet hours. Null for an email campaign.

**fields**

**isQuietHours** `Boolean!` *required*

Whether the time is outside texting hours.

**nextSafeLocalTime** `String`

The first allowed clock time in each recipient's time zone, as `YYYY-MM-DDTHH:mm:ss`. Null when the time is not in quiet hours or was given as an instant.

**nextSafeTime** `String`

The first instant texting is allowed everywhere, as a `DateTime`. Null when the time is not in quiet hours or was given as a recipient-local time.

**recipientCount** `Int!` *required*

How many subscribed customers the campaign's segments reach, minus its excluded segments. Cached for up to 5 minutes.

## Example

```graphql theme={null}
query {
  campaignSendCheck(at: "...", id: "...", localTime: "...") {
    blockers
    isLargeSend
    largestPreviousSend
    recipientCount
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.