Magidoc

AccountIntegration
Object

Represents an active integration between an account and an integration partner

Fields

#

accessTokenExpiresAt

Non-null

When the current access token expires

accountId

ID !
Non-null

ID of the account that owns this integration

activitySyncMode

Non-null

Activity sync mode

activityTarget

Non-null

Define where the most recent activity will be stored

audienceId

ID !
Non-null

The audience that this integration will integrate with.

capabilities

Non-null

capabilityConfig

captureWebhookPayloads

Non-null

Whether to capture and store webhook payloads for troubleshooting

connectionStatus

Non-null

Current connection status of this integration

consecutiveErrorCount

Non-null

Number of consecutive errors encountered

cooldownMinutes

Account-specific cooldown override in minutes (null = use partner default)

createdBy

Non-null

Who created this integration

createdUtc

Non-null

When this integration was created

debounceWindowSeconds

Account-specific debounce window override in seconds (null = use partner default)

engagementFieldLevel

Non-null

Engagement field sync level

engagementFieldsCreatedUtc

When CRM custom fields were provisioned for engagement data

hasCapability

Non-null

id

ID !
Non-null

Unique identifier for this account integration

integrationName

Non-null

User-friendly name for this specific integration instance

integrationPartner

Non-null

The integration partner for this integration

integrationPartnerId

Non-null

The integration partner ID for this integration

isActive

Non-null

Whether this integration is currently active

isDeleted

Non-null

Whether this integration is currently deleted

isQuarantined

Non-null

Whether this integration has been quarantined due to repeated failures

lastEngagementSyncContactCount

Number of contacts processed in the last engagement sync

lastEngagementSyncUtc

Last time engagement fields were synced for this integration

lastErrorMessage

Last error message encountered (if any)

lastErrorUtc

When the last error occurred

lastTokenRefreshUtc

When the token was last successfully refreshed

modifiedBy

Non-null

Who last modified this integration

modifiedUtc

Non-null

When this integration was last modified

nextRefreshCheckUtc

Non-null

When the system should next check if token refresh is needed

notificationEmail

Email address for sync notifications

ownerEmail

Email address used to establish integration

syncFilters

tokenRefreshAttempts

Non-null

Number of consecutive token refresh attempts made

tokenScope

Scope/permissions granted to this integration

tokenType

Type of OAuth token (typically "Bearer")

webhookLastHealthCheckUtc

When webhooks for this integration were last checked and updated as needed

webhookRegistered

Non-null

Whether webhooks are registered and listening to events from integration partner

webhookVerificationSecretEncrypted

[Byte !]

Usages

#

References

#

  • Field accountIntegration from Query