Get an IntegrationConnection

Get an IntegrationConnection by ID.

šŸ‘

Permissions Required

Only Connections for which you have View permissions can be fetched.

Method Signature

getIntegrationConnection(string $id): IntegrationConnection

Parameters

ParameterTypeDescription
$idstringThe id of the Integration Connection to get
returnsIntegrationConnectionThe requested Integration Connection

Example

<?php

/*
 * This example demonstrates getting an IntegrationConnection by ID
 * and printing out its Name
 */

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

use Catalytic\SDK\CatalyticClient;

$catalytic = new CatalyticClient();
$integrationConnection = $catalytic->integrations()->getIntegrationConnection('558e27d9-ee9d-470d-a32f-d35448b56006');

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