GetConnectedAccountResponse: {
    connectionParams?: {
        access_token?: string;
        base_url?: string;
        client_id?: string;
        client_secret?: string;
        scope?: string;
        token_type?: string;
    };
    createdAt?: string;
    id?: string;
    integrationId: string;
    status?: "ACTIVE" | "INITIATED" | "FAILED";
    updatedAt?: string;
}

Type declaration

  • Optional connectionParams?: {
        access_token?: string;
        base_url?: string;
        client_id?: string;
        client_secret?: string;
        scope?: string;
        token_type?: string;
    }

    An object containing the parameters specific to the connection.

    • Optional access_token?: string

      The access token used for authentication with the connected app.

    • Optional base_url?: string

      The base URL for making API requests to the connected app.

    • Optional client_id?: string

      The client ID used for authentication with the connected app.

    • Optional client_secret?: string

      The client secret used for authentication with the connected app.

    • Optional scope?: string

      The scope of permissions granted to the connection.

    • Optional token_type?: string

      The type of token used for authentication (e.g., "bearer").

  • Optional createdAt?: string

    The timestamp indicating when the connection was created.

  • Optional id?: string

    The unique identifier of the connection.

  • integrationId: string

    The unique identifier of the connector associated with the connection.

  • Optional status?: "ACTIVE" | "INITIATED" | "FAILED"

    The status of the connection (e.g., "SUCCESS").

  • Optional updatedAt?: string

    The timestamp indicating when the connection was last updated.