> ## 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.

# SupportChannelSetup

> One support channel, and whether the store has connected it.

**connected** `Boolean!` *required*

Whether the store has connected it. Email, Facebook and Instagram, Postscript and TikTok are connected once an account is linked, Attentive once it is set up for support, the chat widget once it has settings, SMS once text messaging is billed and set up, and voice once its phone line is set up or Aircall is on. Linked accounts are looked for in the store's first 100 integrations, as `supportIntegrations` lists them.

**integrations** `[\[SupportIntegration!\]!](/docs/api-reference/v3/reference/support/support-integration)` *required*

The store's integrations that are connections of this channel, linked or not; `supportIntegrations` lists all of them. Empty for the chat widget, which has none. `connected` for SMS and VOICE comes from the store's text messaging and voice setup, not from these.

**fields**

**connected** `Boolean!` *required*

Whether the account is connected, as the channels settings page shows it. Gmail, Outlook, custom email, Facebook, Instagram, Attentive, Postscript and TikTok are false until their account is linked, such as an email integration with no mailbox, and Attentive also until it is set up for support. Every other type is connected while it exists.

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

The id of this integration.

**inbound** `[SupportIntegrationInbound!](/docs/api-reference/v3/reference/support/support-integration-inbound)` *required*

How its incoming messages are syncing.

**fields**

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

When syncing may start again after the provider held it back. Null when it isn't held back.

**failedCount** `Int!` *required*

Incoming messages that failed and won't be retried.

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

When the last incoming message or event arrived. Null when none has.

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

When the help desk last checked for new messages. Null for a channel that pushes them instead.

**latestFailure** `[SupportIntegrationInboundFailure](/docs/api-reference/v3/reference/support/support-integration-inbound-failure)`

The latest failure. Null when none is recorded.

**pendingFailureCount** `Int!` *required*

Incoming messages that failed and are still being retried.

**syncProblems** `[\[SupportIntegrationSyncProblem!\]!](/docs/api-reference/v3/reference/support/support-integration-sync-problem)` *required*

Why the help desk says the integration isn't syncing, as its home page's to-do does. Empty while it is syncing. An integration with `permissionsRevoked` gets the reconnect to-do instead, whatever is listed here.

**name** `String`

The inbox's email address for Gmail, Outlook and custom email, the page name for Facebook and Instagram. Null for other types, and while the account isn't connected.

**permissionsRevoked** `Boolean!` *required*

Whether the provider revoked Redo's access, so the integration needs reconnecting.

**syncError** `String`

The integration's current error, cut to 300 characters and an ellipsis. Null when it has none.

**type** `[SupportIntegrationType!](/docs/api-reference/v3/reference/support/support-integration-type)` *required*

What the integration connects to.

**kind** `[SupportChannelKind!](/docs/api-reference/v3/reference/support/support-channel-kind)` *required*

Which channel.


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