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

get(string $id): Integration

Parameters

ParameterTypeDescription
$idstringThe id of the Integration to get
returnsIntegrationThe requested Integration

Example

<?php

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

require_once(__DIR__ . './vendor/autoload.php');

use Catalytic\SDK\CatalyticClient;

$catalytic = new CatalyticClient();
$integration = $catalytic->integrations()->get('dropbox/oauth2/v1');

echo $integration->getName() . ":" . PHP_EOL;

foreach ($integration->getConnections() as $connection) {
    echo $connection->getName() . PHP_EOL;
}