Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 2.49 KB

File metadata and controls

51 lines (34 loc) · 2.49 KB

Activity

Overview

Available Operations

  • Track - Track provider activity and engagement events

Track

Track activity and engagement events for a specific delivery provider

Example Usage

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

Parameters

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

Response

InboundWebhooksControllerHandleWebhookResponse

Errors

Error Type Status Code Content Type
Novu.Models.Errors.APIException 4XX, 5XX */*