WebPixie

Integrations

Read the third-party integrations connected to your workspace through the WebPixie GraphQL API.

Some features and limits mentioned on this page vary by plan. Visit our Pricing page to review the plans.

Integrations connect your workspace to third-party tools that receive WebPixie notifications, such as Slack. Use getIntegrations to check which integrations are connected, whether they are working, and where they send messages. If your plan doesn't include integrations, the query returns an error.

getIntegrations

Paginated, filterable list of your workspace's integrations.

query {
  getIntegrations(query: "status = ACTIVE", limit: 25) {
    pagination {
      count
    }
    items {
      ... on IntegrationBase {
        id
        status
        integrationChannel
      }
      ... on Integration {
        lastUsedTime
        integrationDetail {
          ... on SlackIntegration {
            workspaceName
            target {
              name
            }
          }
        }
      }
    }
  }
}

Parameters

NameTypeDescription
queryStringFilter expression — see Discovering Filterable Fields.
pageIntPage number, defaults to 1.
limitIntPage size, defaults to 10, capped at 100.
sort[Sort!]Sort order, defaults to newest first.

Response: an IntegrationList — pagination + items: [IntegrationListItem!]!. Each item is either an Integration, or an IncompleteIntegration while the connection is still waiting for authorization (status is PENDING_AUTH). Select the shared fields with ... on IntegrationBase.

FieldTypeDescription
idID!Unique identifier for the integration.
userWorkspaceUserDetailThe workspace user who added the integration — { id, email, name }.
statusIntegrationStatus!ACTIVE, PAUSED (no notifications are sent through it), or PENDING_AUTH (waiting for the connection to be authorized).
integrationChannelIntegrationChannel!The tool the integration connects to. Currently SLACK.
integrationAppIntegrationApp!What the integration is used for. Currently MESSAGING.
lastUsedTimeStringISO 8601 timestamp when the integration was last used. Integration only.
connectTimeStringISO 8601 timestamp when the connection was authorized. Integration only.
integrationDetailIntegrationDetail!Connection details for the channel — see below. Integration only.
createTime / updateTimeString! / StringISO 8601 timestamps for creation / last update.

SlackIntegration

integrationDetail for a Slack integration:

FieldTypeDescription
workspaceNameStringName of the connected Slack workspace.
targetSlackTargetThe Slack channel messages are posted to — { id, name }.

On this page