Create a Subscriber

Before we can subscribe to receive events, we need to create a Subscriber for the subscriptions to belong to.

Parameters

The only parameter that is needed to create a Subscriber is a name of your choosing.

Example

Using the example below, replace the SubscriberName placeholder with the name you would like to assign to the subscriber.

using WellViaSDK.Event;

string subscriberName = "your_subscriber_name";
var myNewSubscriber = await evntClient.CreateSubscriberAsync(name: subscriberName);

What’s Next

Woohoo! Now let's subscribe to an event