Get an Integration

Get an Integration and its associated Connections by ID.

πŸ‘

Permissions Required

Only Connections for which you have View permissions will be included on the response.

Method Signature

Integration get(String id);

Parameters

ParameterTypeDescription
idstringThe id of the Integration to get
returnsIntegrationThe requested Integration

Example


/*
 * This example demonstrates getting an Integration by ID
 * and printing out the Integration's Connections
 */

import org.catalytic.sdk.CatalyticClient;
import org.catalytic.sdk.entities.Integration;

public class Program {
  
    public static void main(String[] args) throws Exception {
        
        // Create and initialize the Catalytic SDK Client
        CatalyticClient catalytic = new CatalyticClient();
        
        // Get the Integration with id "dropbox/oauth2/v1"
        Integration integration = catalytic.integrations().get("dropbox/oauth2/v1");

        for (IntegrationConnection connection : integration.getConnections()) {
            System.out.println(connection.getName());
        }
    }
}