POST v3/lists/{listId}/subscribers

https://api.questline.com/v3/lists/{listId}/subscribers

Adds a subscriber to a list.

Request Information

URI Parameters

Name Description Type Additional Info
listId The ID of the list. globally unique identifier Required

Body Parameters

The request body.

PostListSubscriberRequestV3
Name Description Type Additional Info
SubscriberId The ID of the subscriber. globally unique identifier None.

Request Formats

application/json, text/json

Sample:

{
  "SubscriberId": "4079204a-773e-4bd8-b697-12843104e3d8"
}

Response Information

Resource Description

PostListSubscriberResponseV3
Name Description Type Additional Info
ListSubscriber The list subscriber. ListSubscriberV3 None.
Error The response error, if any. ResponseErrorV3 None.

Response Formats

application/json, text/json

Sample:

{
  "ListSubscriber": {
    "ListId": "8a202984-c188-4b56-8322-606c1c5fbe84",
    "SubscriberId": "7659ec27-b5ca-4147-a797-044dd070b048",
    "Created": "2020-02-23T19:00:42.6348272+00:00"
  },
  "Error": {
    "ErrorId": 1,
    "ErrorMessage": "sample string 1"
  }
}

text/javascript, application/javascript, application/json-p

Sample:

/**/ typeof  === 'function' && ({"ListSubscriber":{"ListId":"8a202984-c188-4b56-8322-606c1c5fbe84","SubscriberId":"7659ec27-b5ca-4147-a797-044dd070b048","Created":"2020-02-23T19:00:42.6348272+00:00"},"Error":{"ErrorId":1,"ErrorMessage":"sample string 1"}});