Create Subscriber

Returns a list of your subscribers. The subscribers are returned sorted by creation date, with the most recent subscribers appearing last.

Request

GET /event/v1/subscriber

Parameters


No parameters

Example


curl -XGET 'https://platform.wellviasolutions.com/event/v1/subscriber' \
    -u 'Bearer:{your_token}'
GET https://platform.wellviasolutions.com/event/v1/subscriber HTTP/1.1
using WellViaSDK.Event;

const string apiSubscriptionKey = "your_api_subscription_key";
var _evntClient = new WellViaEventServiceClient(subscriptionKey: apiSubscriptionKey);

var mySubscribers = await _evntClient.GetSubscribersAsync();

Response

An array of subscribers. Each entry in the array is a separate subscriber object. If no subscribers are available, the resulting array will be empty. This request should never return an error.

Attributes


id string : required The unique identifier of the subscriber.
name string : required The name of the subscriber that you provided when the subscriber was created.

Example


[
  {
    "id": "evntsbr_XXX",
    "name": "My First Subscriber"
  },
  {
    "id": "evntsbr_XXX",
    "name": "My Second Subscriber"
  }
]