GetIntegration
/api/v1/integrations/{integration}Fetch an integration by name.
Example request
Section titled “Example request”curl \ -H "Authorization: Bearer ${OBLIQUE_API_KEY}" \ "https://us.oblique.security/api/v1/integrations/{integration}"Set OBLIQUE_API_KEY to your API key.
curl \ -H "Authorization: Bearer ${OBLIQUE_API_KEY}" \ "https://eu.oblique.security/api/v1/integrations/{integration}"Set OBLIQUE_API_KEY to your API key.
Path parameters
Section titled “Path parameters”namestringrequiredName of the integration of the format
integrations/{id}.
Response
Section titled “Response”200IntegrationIntegrations connect Oblique with external systems in your organization. Oblique can both pull information from and push access decisions back to integrations.
namestringAssigned by Oblique. Name of the integration of the format
integrations/{integration}.managementManagementHow this integration is managed. Set automatically by the server based on the calling client. Omitted from responses when the integration is manually managed (the default).
managerstringHow the API object is managed. Set automatically by the server based on the caller: Terraform clients produce
TERRAFORM; for all other clients the management field is left unset on the response.repoUristringURI of the VCS repository that holds the Terraform configuration for this API object. Populated by the Oblique Terraform provider.
repoDirstringOptionally, the subdirectory within
repo_urithat holds the Terraform configuration for this API object. Populated by the Oblique Terraform provider.
displayNamestringA human readable name of the integration. For example “Okta Test”.
createTimestring (date-time)read-onlyCreate and update timestamps.
updateTimestring (date-time)read-onlydeleteTimestring (date-time)read-onlyThe time when the integration was deleted.
One of
oktaOktaapiTokenstringThe API token to use when making calls to Okta. Either this or OAuth2 client credentials must be provided when the integration is created.
clientIdstringThe client ID issued when the Oblique app is installed from the Okta Integration Network catalog. Must be provided together with client_secret, and can’t be combined with api_token: an integration authenticates either with OAuth2 client credentials or with an API token.
clientSecretstringThe client secret issued alongside client_id when the Oblique app is installed. Must be provided together with client_id, and can’t be combined with api_token. Never returned by the API; provide it again to rotate.
domainBaseUristringrequiredFull base URL of the Okta domain, including the schema. For example:
https://dev-45752433-admin.okta.comdisplayNamestringWill be removed in the future in favor of top level
display_name.organizationIdstringread-onlyThe tenant ID of the Okta organization. This is detected on first creation of the integration and is not editable.
manageResourcesbooleanread-onlyWhether Oblique manages the org’s groups and applications, creating groups and changing membership and assignments, which a resource in push mode needs. False when the connection is read-only, either because read_only holds Oblique to reading or because the Oblique app in Okta wasn’t granted the scopes to manage them. Either way the connection imports users, groups, applications, and their memberships, and writes nothing back to Okta.
readOnlybooleanSet once, when the resource is created. Whether Oblique asks Okta only for the access to read the org. The Oblique app is installed with the scopes to manage groups and applications, so this keeps a connection read-only without editing the app’s grants in Okta. Set when the integration is created and not editable afterwards: create the integration again to change it.
Oblique won’t write to Okta while this is set, but it is Oblique’s own setting rather than a limit Okta enforces: the app keeps the scopes it was installed with. Revoke the management scopes from the Oblique app in Okta for a limit the org enforces, which Oblique reports the same way, by leaving manage_resources false.
A connection that leaves this unset can still be read-only, when the Oblique app wasn’t granted those scopes. Either way, manage_resources reports whether the connection writes to Okta.
ignoreUsersIgnoreUsersattributesUserAttribute[]requiredIf provided, the integration will ignore users that have any of the given attributes set to this value. If multiple attributes are provided, the user will be ignored if any of their attributes match these rules. Custom attributes are supported.
keystringrequiredThe key of the attribute. For example “department”.
valuestringrequiredThe value of the attribute. For example “Engineering”.
googleGoogledomainstringrequiredThe domain to query for groups and memberships.
missingReportsScopesbooleanread-onlyWhether the connection is missing the Google OAuth scopes required to sync sign-in reports from the Google Workspace audit logs.
connectedAccountEmailstringread-onlyThe email of the Workspace administrator who authorized the connection.
manageGroupsbooleanread-onlyWhether Oblique can manage the Workspace’s groups, creating them and changing their membership, which a resource in push mode needs. False when the administrator who authorized the connection approved reading the Workspace but not managing its groups.
slackSlackteamIdstringrequiredThe team ID that has been configured for notifications.
teamNamestringread-onlyThe human readable name of the team that has been configured for notifications.
channelIdsstring[]Channels to send notifications to.
dmDisabledbooleanWhether DM notifications are disabled. This is false by default.
domainBaseUristringread-onlyThe domain base URI of the Slack instance, including the schema. This is detected on creation and is not editable. For example:
https://myworkspace.slack.comallowApprovalWorkflowbooleanWhether reviewers can approve requests directly from the Slack notification. This is true by default.
githubGitHuborgstringrequiredThe GitHub organization name to sync members and teams from. May be changed by the user on the GitHub side.
orgIdstringread-onlyThe immutable GitHub organization ID.
installationIdstringread-onlyThe GitHub App installation ID for this organization. Set by the installation callback.
baseUristringBase URI of the GitHub instance, including the schema. Defaults to
https://github.com. Set this to target GitHub Enterprise Cloud.displayNamestringread-onlyThe human readable display name of the GitHub organization, synced from GitHub. Empty if the organization has not set one.
cloudflareCloudflareaccountIdstringread-onlyThe ID of the Cloudflare account that members and policies are synced from. Determined by the account the admin grants access to when connecting, and not editable afterwards.
accountNamestringread-onlyThe human readable name of the Cloudflare account, read from Cloudflare when the integration is connected. Empty if Cloudflare reports the account without a name.
notionNotionworkspaceIdstringread-onlyThe ID of the Notion workspace that members are synced from. Determined by the workspace the admin grants access to when connecting, and not editable afterwards.
workspaceNamestringread-onlyThe human readable name of the Notion workspace, read from Notion when the integration is connected. Empty if Notion reports the workspace without a name.
linearLinearworkspaceIdstringread-onlyThe ID of the Linear workspace that members and teams are synced from. Determined by the workspace the admin grants access to when connecting, and not editable afterwards.
workspaceNamestringread-onlyThe human readable name of the Linear workspace, read from Linear when the integration is connected.
uriKeystringread-onlyThe URL key of the Linear workspace, used to build links into Linear. For example
obliqueforhttps://linear.app/oblique.
anthropicAnthropicapiKeystringrequiredThe Admin API key used to read the organization’s members and workspaces. Required when the integration is created, and never returned by the API. Provide it again to rotate the key.
organizationIdstringread-onlyThe ID of the Anthropic organization that members and workspaces are synced from. Determined by the organization the API key belongs to, and not editable afterwards.
organizationNamestringread-onlyThe human readable name of the Anthropic organization, read from Anthropic when the integration is connected.
posthogPostHogorganizationIdstringread-onlyThe ID of the PostHog organization that members and projects are synced from. Determined by the organization the admin grants access to when connecting, and not editable afterwards.
organizationNamestringread-onlyThe human readable name of the PostHog organization, read from PostHog when the integration is connected.
baseUristringread-onlyThe base URI of the PostHog region the organization lives in. Either
https://us.posthog.comorhttps://eu.posthog.com.
bamboohrBambooHRsubdomainstringread-onlyThe subdomain of the BambooHR account that employees are synced from: “acme” for an account reached at https://acme.bamboohr.com. BambooHR serves each account’s authorization endpoints from its own subdomain, so this is provided by the admin when connecting and is not editable afterwards.
userCountinteger (int32)read-onlyThe number of users that the system contains.
resourceCountinteger (int32)read-onlyThe number of resources that the system manages.
accountCountinteger (int32)read-onlyThe number of accounts the integration reports, deactivated accounts included. Matches what
ListIntegrationAccountsreturns for it.attributeCountinteger (int32)read-onlyThe number of user attributes the integration syncs.
resourcePushCountinteger (int32)read-onlyThe number of resources that have been pushed to the integration.
resourcePullCountinteger (int32)read-onlyThe number of resources that have been pulled from the integration.
supportsPushbooleanread-onlyWhether the integration can push to at least one of the objects it reports. Some of its write capabilities may still be unavailable. Determined by the access the integration was granted, and re-evaluated on every sync.
syncsUserAttributesbooleanread-onlyWhether the integration is a source of directory users and the attributes held against them. Only such an integration may be named the source of a core attribute. Reported by the integration’s syncer, so it is unset until the integration has synced once.
needsReauthbooleanread-onlyWhether the integration is missing access that Oblique asks for, which is granted by reconnecting it. Re-evaluated on every sync.
Errors
Section titled “Errors”| Status | Meaning |
|---|---|
400 | Malformed request |
401 | Missing or invalid API key |
403 | Not allowed for this API key |
404 | Not found |
429 | Too many requests |
500 | Internal server error |