organization

Retrieve an organization.

Return fields

action (UpsertActionType!)

Determines if it was a create or update.

address_1 (String)

Organization address line 1.

address_2 (String)

Organization address line 2.

child_organizations_map (JSON)
Deprecation notice

To build an organization hierarchy you should pull all the organizations you can access through the organizations query and then build the tree client side using parent_organization_id.

Hierarchy of child organization information returned as JSON. Available keys are sentera_id (string), name (string) and children (array). This structure is recursive.

city (String)

Organization city.

country_code (String!)

Organization country code (ISO 3166-1).

email (String!)

Organization email.

external_connections ([ExternalCredential!]!)

The external services connected to this organization.

feature_sets (FeatureSetsQueryResult!)

A list of feature sets that are directly attached to this organization.

Argument Type Description
order_by FeatureSetSortingAttributes

Order the results by a specific attribute.

order_by_direction SortDirection

Direction (ascending or descending) of the ordered results.

pagination Pagination

Paginate the results.

type FeatureSetType

Filter the results by feature set type.

files (FilesQueryResult!)

A list of files associated with this organization.

Argument Type Description
date_range DateRange

Filter the results by a date range.

order_by FileSortingAttributes

Order the results by a specific attribute.

order_by_direction SortDirection

Direction (ascending or descending) of the ordered results.

pagination Pagination

Paginate the results.

name (String!)

Organization name.

organization_type (OrganizationType!)

Type of this organization.

parent_organization_id (ID)

A system-generated key identifying the organization one level above this organization in the hierarchy. If null then this organization is the root of the hierarchy, if one exists.

phone_number (String)

Organization phone number.

preferences (OrganizationPreferences!)

The list of preferences for this organization.

sentera_id (ID!)

A system-generated key identifying the organization.

short_id (String!)

A short system-generated key identifying the organization.

state (String)

Organization state/province/region code (ISO 3166-2).

status (OrganizationStatus!)

The current status of the organization.

users (UsersQueryResult)

A list of users that belong to this organization.

Argument Type Description
order_by UserSortingAttributes

Order the results by a specific attribute.

order_by_direction SortDirection

Direction (ascending or descending) of the ordered results.

pagination Pagination

Paginate the results.

status UserStatus

Filter the results by user status.

webhook_subscriptions (WebhookSubscriptionsQueryResult!)

A list of web hook subscriptions associated with this organization.

Argument Type Description
pagination Pagination!

Paginate the results.

zip_code (String)

Organization zip code.