Skip to content

GetIntegration

GET/api/v1/integrations/{integration}

Fetch an integration by name.

curl \
-H "Authorization: Bearer ${OBLIQUE_API_KEY}" \
"https://us.oblique.security/api/v1/integrations/{integration}"

Set OBLIQUE_API_KEY to your API key.

  • namestringrequired

    Name of the integration of the format integrations/{id}.

200Integration

Integrations connect Oblique with external systems in your organization. Oblique can both pull information from and push access decisions back to integrations.

  • namestring

    Assigned by Oblique. Name of the integration of the format integrations/{integration}.

  • uristringread-only

    Link to the integration’s page in the Oblique app, for example “https://us.oblique.security/integrations/abc”.

  • managementManagement

    How 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).

    • managerstring
      Allowed values: TERRAFORM

      How 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.

    • repoUristring

      URI of the VCS repository that holds the Terraform configuration for this API object. Populated by the Oblique Terraform provider.

    • repoDirstring

      Optionally, the subdirectory within repo_uri that holds the Terraform configuration for this API object. Populated by the Oblique Terraform provider.

  • displayNamestring

    A human readable name of the integration. For example “Okta Test”.

  • createTimestring (date-time)read-only

    Create and update timestamps.

  • updateTimestring (date-time)read-only
  • deleteTimestring (date-time)read-only

    The time when the integration was deleted.

  • credentialUpdateTimestring (date-time)read-only

    The time a person last connected new credentials for the integration, for example by adding it, reauthorizing it, or reinstalling its app. Automatic token refreshes don’t change this time.

  • clientIdstring

    The ID of the OAuth client the integration authenticates with for integrations like Tailscale and 1Password. Required when such an integration is created, rejected for other types. Provide alongside client_secret to rotate client.

  • clientSecretstring

    The secret issued for client_id. Required when an integration that authenticates with OAuth client credentials is created, and never returned by the API. Provide alongside client_id to rotate client.

  • apiKeystring

    The API key the integration authenticates with, for integrations like Claude Console. Required when such an integration is created, rejected for other types, and never returned by the API. Provide it again to rotate the key.

  • connectorstringread-only

    The user who last connected new credentials for the integration, at credential_update_time. Unset if they were connected by something other than a user, such as a service account.

    Format: users/{user}

  • installLinkValuestring

    The ID of an install link, the last segment of its name, which lets a user who isn’t an admin create an integration of the link’s kind. The link can only be used once.

  • One of

    • oktaOkta
      • clientIdstringrequired

        The client ID issued when the Oblique app is installed from the Okta Integration Network catalog, which Oblique authenticates to Okta as. Required when the integration is created, together with client_secret.

      • clientSecretstringrequired

        The client secret issued alongside client_id when the Oblique app is installed. Required when the integration is created, and never returned by the API; provide it again to rotate.

      • domainBaseUristringrequired

        Full base URL of the Okta domain, including the schema. For example: https://dev-45752433-admin.okta.com

      • organizationIdstringread-only

        The tenant ID of the Okta organization. This is detected on first creation of the integration and is not editable.

      • readOnlyboolean

        Set 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 this setting.

        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.

        A connection that leaves this unset can still be read-only, when the Oblique app wasn’t granted those scopes. Either way, the integration’s supports_push reports whether the connection writes to Okta.

  • userCountinteger (int32)read-only

    The number of users that the system contains.

  • resourceCountinteger (int32)read-only

    The number of resources that the system manages.

  • accountCountinteger (int32)read-only

    The number of accounts the integration reports, deactivated accounts included. Matches what ListIntegrationAccounts returns for the integration.

  • attributeCountinteger (int32)read-only

    The number of user attributes the integration syncs.

  • supportsPushbooleanread-only

    Whether 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-only

    Whether the integration is a source of directory users and the attributes held against those users. 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.

  • syncsUserPicturesbooleanread-only

    Whether the integration reports users’ profile pictures. Only such an integration may be named the source of profile pictures. Reported by the integration’s syncer, so it is unset until the integration has synced once.

  • needsReauthbooleanread-only

    Whether the integration is missing access that Oblique asks for, which is granted by reconnecting the integration. Re-evaluated on every sync.

  • nextSyncTimestring (date-time)read-only

    When Oblique expects to sync the integration again. Some integrations are synced in parts, such as their users and accounts or a kind of resource, each on its own schedule, and this is the earliest of them. A part is synced again once the sync interval has passed and the integration’s rate limits have room for another sync, so a large organization or a busy API pushes this further out. Each execution reports when its own part syncs again.

    Unset until the integration has synced once, and for the integrations whose syncers don’t report a schedule.

  • adminUristringread-only

    The provider’s admin console for the integration’s tenant, where an admin manages its members and settings. Unset when the provider’s console can’t be addressed from what the integration knows about its tenant.

  • membersUristringread-only

    The provider’s list of the members of the integration’s tenant. Unset when it can’t be addressed from what the integration knows about its tenant.

StatusMeaning
400Malformed request
401Missing or invalid API key
403Not allowed for this API key
404Not found
429Too many requests
500Internal server error