- Track - Track provider activity and engagement events
Track activity and engagement events for a specific delivery provider
using Novu;
using Novu.Models.Components;
using System.Collections.Generic;
var sdk = new NovuSDK(secretKey: "YOUR_SECRET_KEY_HERE");
var res = await sdk.Activity.TrackAsync(
environmentId: "<id>",
integrationId: "<id>",
requestBody: new Dictionary<string, object>() {
}
);
// handle response| Parameter | Type | Required | Description |
|---|---|---|---|
EnvironmentId |
string | ✔️ | The environment identifier |
IntegrationId |
string | ✔️ | The integration identifier for the delivery provider |
RequestBody |
Dictionary<String, object> | ✔️ | Webhook event payload from the delivery provider |
IdempotencyKey |
string | ➖ | A header for idempotency purposes |
InboundWebhooksControllerHandleWebhookResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| Novu.Models.Errors.APIException | 4XX, 5XX | */* |