Integrations

circle-exclamation

Integration accounts for API clients, automated systems, and third-party service connections.

Queries

integration

Retrieves an integration by its ID.

integration(id: ID!): Integration

Arguments

Name
Type
Description

id

ID!

The ID of the integration to retrieve.

Output types:

chevron-rightIntegrationhashtag

An external system integration with API access.

Implements: Actor, Node, Versioned, Titled

Field
Type
Description

id

ID!

A globally unique identifier.

version

Int!

The version number for optimistic locking. Incremented on each update. Must be provided in update/delete mutations to prevent lost updates.

title

String!

The display name of the actor.

organization

The organization this integration belongs to.

credentialRef

String

A reference to credentials stored in a secure vault.

isActive

Boolean!

Whether this integration is active.

chevron-rightOrganization (entity)hashtag

An organization in the hierarchy that owns entities and users.

Implements: Node, Versioned, Titled

Field
Type
Description

id

ID!

A globally unique identifier. This ID is opaque and should not be parsed by clients.

version

Int!

The version number for optimistic locking. Incremented on each update. Must be provided in update/delete mutations to prevent lost updates.

title

String!

The human-readable display name.

externalId

String

An external system identifier for integration purposes.

isActive

Boolean!

Whether this organization is active.

features

The feature flags enabled for this organization.

parent

The parent organization in the hierarchy. Null for root organizations.

children

The child organizations.

members

The members of this organization.

devices

The devices owned by this organization.

assets

The assets owned by this organization.

geoObjects

The geographic objects owned by this organization.

schedules

The schedules owned by this organization.


integrations

Lists integrations for an organization.

Arguments

Name
Type
Description

organizationId

ID!

The organization to retrieve integrations for.

filter

IntegrationFilter

Filtering options for the returned integrations.

first

Int

The first n elements from the paginated listarrow-up-right.

after

String

The elements that come after the specified cursorarrow-up-right.

last

Int

The last n elements from the paginated listarrow-up-right.

before

String

The elements that come before the specified cursorarrow-up-right.

orderBy

IntegrationOrder

The ordering options for the returned integrations.

Input types:

chevron-rightIntegrationFilterhashtag

Filtering options for integrations.

Field
Type
Description

isActive

Boolean

Filter by active status.

chevron-rightIntegrationOrderhashtag

Ordering options for integrations.

Field
Type
Description

field

The field to order by.

direction

The direction to order.

Output types:

chevron-rightIntegrationConnectionhashtag

A paginated list of Integration items.

Implements: Connection

Field
Type
Description

edges

A list of edges.

nodes

A list of nodes in the connection (without edge metadata).

pageInfo

Information about the current page.

total

The total count of items matching the filter.

chevron-rightPageInfo (entity)hashtag

Information about the current page in a paginated connection.

Field
Type
Description

hasNextPage

Boolean!

Whether more items exist after the current page.

hasPreviousPage

Boolean!

Whether more items exist before the current page.

startCursor

String

The cursor pointing to the first item in the current page.

endCursor

String

The cursor pointing to the last item in the current page.


Mutations

integrationCreate

Creates a new integration.

Arguments

Name
Type
Description

input

IntegrationCreateInput!

The input fields for creating the integration.

Input types:

chevron-rightIntegrationCreateInputhashtag

Input for creating a new integration.

Field
Type
Description

organizationId

ID!

The organization that will own the integration.

title

String!

The display name.

credentialRef

String

A reference to credentials in a secure vault.

Output types:

chevron-rightIntegrationPayloadhashtag

The result of an integration mutation.

Field
Type
Description

integration

The created or updated integration.

chevron-rightIntegration (entity)hashtag

An external system integration with API access.

Implements: Actor, Node, Versioned, Titled

Field
Type
Description

id

ID!

A globally unique identifier.

version

Int!

The version number for optimistic locking. Incremented on each update. Must be provided in update/delete mutations to prevent lost updates.

title

String!

The display name of the actor.

organization

The organization this integration belongs to.

credentialRef

String

A reference to credentials stored in a secure vault.

isActive

Boolean!

Whether this integration is active.


integrationUpdate

Updates an existing integration.

Arguments

Name
Type
Description

input

IntegrationUpdateInput!

The input fields for updating the integration.

Input types:

chevron-rightIntegrationUpdateInputhashtag

Input for updating an existing integration.

Field
Type
Description

id

ID!

The integration ID to update.

version

Int!

The current version for optimistic locking.

title

String

The new display name.

credentialRef

String

The new credential reference.

isActive

Boolean

The new active status.

Output types:

chevron-rightIntegrationPayloadhashtag

The result of an integration mutation.

Field
Type
Description

integration

The created or updated integration.

chevron-rightIntegration (entity)hashtag

An external system integration with API access.

Implements: Actor, Node, Versioned, Titled

Field
Type
Description

id

ID!

A globally unique identifier.

version

Int!

The version number for optimistic locking. Incremented on each update. Must be provided in update/delete mutations to prevent lost updates.

title

String!

The display name of the actor.

organization

The organization this integration belongs to.

credentialRef

String

A reference to credentials stored in a secure vault.

isActive

Boolean!

Whether this integration is active.


integrationDelete

Deletes an integration.

Arguments

Name
Type
Description

input

IntegrationDeleteInput!

The input fields for deleting the integration.

Input types:

chevron-rightIntegrationDeleteInputhashtag

Input for deleting an integration.

Field
Type
Description

id

ID!

The integration ID to delete.

version

Int!

The current version for optimistic locking.

Output types:

chevron-rightDeletePayloadhashtag

The result of a delete mutation.

Field
Type
Description

deletedId

ID!

The ID of the deleted entity.


Objects

Integration

An external system integration with API access.

Implements: Actor, Node, Versioned, Titled

Field
Type
Description

id

ID!

A globally unique identifier.

version

Int!

The version number for optimistic locking. Incremented on each update. Must be provided in update/delete mutations to prevent lost updates.

title

String!

The display name of the actor.

organization

The organization this integration belongs to.

credentialRef

String

A reference to credentials stored in a secure vault.

isActive

Boolean!

Whether this integration is active.


IntegrationPayload

The result of an integration mutation.

Field
Type
Description

integration

The created or updated integration.


Inputs

IntegrationFilter

Filtering options for integrations.

Field
Type
Description

isActive

Boolean

Filter by active status.


IntegrationOrder

Ordering options for integrations.

Field
Type
Description

field

The field to order by.

direction

The direction to order.


IntegrationCreateInput

Input for creating a new integration.

Field
Type
Description

organizationId

ID!

The organization that will own the integration.

title

String!

The display name.

credentialRef

String

A reference to credentials in a secure vault.


IntegrationUpdateInput

Input for updating an existing integration.

Field
Type
Description

id

ID!

The integration ID to update.

version

Int!

The current version for optimistic locking.

title

String

The new display name.

credentialRef

String

The new credential reference.

isActive

Boolean

The new active status.


IntegrationDeleteInput

Input for deleting an integration.

Field
Type
Description

id

ID!

The integration ID to delete.

version

Int!

The current version for optimistic locking.


Enums

IntegrationOrderField

Fields available for ordering integrations.

Value
Description

TITLE

Order by title.


Pagination types

IntegrationConnection

A paginated list of Integration items.

Implements: Connection

Field
Type
Description

edges

A list of edges.

nodes

A list of nodes in the connection (without edge metadata).

pageInfo

Information about the current page.

total

The total count of items matching the filter.


IntegrationEdge

An edge in the Integration connection.

Implements: Edge

Field
Type
Description

cursor

String!

An opaque cursor for this edge.

node

The integration at the end of the edge.


Last updated

Was this helpful?