Get an IntegrationConnection

Get an IntegrationConnection by ID.

πŸ‘

Permissions Required

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

Method Signature

IntegrationConnection GetIntegrationConnection(string id);
async Task<IntegrationConnection> GetIntegrationConnectionAsync(string id);

Parameters

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

Example

/*
 * This example demonstrates getting an IntegrationConnection by ID
 * and printing out its Name
 */
using Catalytic.Sdk.Entities;

namespace Catalytic.Sdk.Examples
{
    class Program
    {
        static void Main(string[] args)
        {
            var catalytic = new Catalytic.Sdk.CatalyticClient(AccessToken.Default);
            var connection = catalytic.Integrations.GetIntegrationConnection("INTEGRATION_CONNECTION_ID");
            Console.WriteLine($"${connection.Name}:");
        }
    }
}