notiflowsDocs
SDKsServer-side

.NET

Notiflows .NET SDK for server-side integration

The .NET SDK is coming soon. In the meantime, you can use the REST API directly.

Preview

The .NET SDK will provide a simple interface for triggering notiflows and managing users:

using Notiflows;

var client = new NotiflowsClient("your-secret-key");

// Trigger a notiflow
await client.NotifyAsync(
    notiflow: "welcome-email",
    recipients: [
        new Recipient("user_123")
    ],
    data: new Dictionary<string, string>
    {
        { "name", "Jane" }
    }
);

// Manage users
await client.Users.UpsertAsync("user_123", new UserParams
{
    Email = "jane@example.com",
    FirstName = "Jane"
});

// Subscribe to topics
await client.Users.SubscribeAsync("user_123", "product-updates");

Installation (Coming Soon)

dotnet add package Notiflows

Using the REST API

Until the SDK is available, you can interact with the API directly:

using System.Net.Http.Json;

var client = new HttpClient();
client.DefaultRequestHeaders.Add("Authorization", "Bearer your-secret-key");

var payload = new
{
    recipients = new[] { new { external_id = "user_123" } },
    data = new { name = "Jane" }
};

var response = await client.PostAsJsonAsync(
    "https://api.notiflows.com/admin/v1/notiflows/welcome-email/run",
    payload
);

See the Admin API Reference for complete documentation.

On this page