POST v3/subscribers

https://api.questline.com/v3/subscribers

Creates a new subscriber.

Request Information

URI Parameters

None.

Body Parameters

The request body.

PostSubscriberRequestV3
Name Description Type Additional Info
Address The email address of the subscriber. string None.
Attributes The list of attributes for the subscriber. Collection of SubscriberAttributeV3 None.
FaxNumber The fax number of the subscriber. string None.
FirstName The first name of the subscriber. string None.
LastName The last name of the subscriber. string None.
SmsNumber The SMS number of the subscriber. string None.
SubscriberKey The key of the subscriber. string None.

Request Formats

application/json, text/json

Sample:

{
  "Address": "sample string 1",
  "Attributes": [
    {
      "Name": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "Name": "sample string 1",
      "Value": "sample string 2"
    }
  ],
  "FaxNumber": "sample string 2",
  "FirstName": "sample string 3",
  "LastName": "sample string 4",
  "SmsNumber": "sample string 5",
  "SubscriberKey": "sample string 6"
}

Response Information

Resource Description

PostSubscriberResponseV3
Name Description Type Additional Info
Subscriber The subscriber. SubscriberV3 None.
Error The response error, if any. ResponseErrorV3 None.

Response Formats

application/json, text/json

Sample:

{
  "Subscriber": {
    "Address": "sample string 9",
    "Attributes": [
      {
        "Name": "sample string 1",
        "Value": "sample string 2"
      },
      {
        "Name": "sample string 1",
        "Value": "sample string 2"
      }
    ],
    "Created": "2020-02-23T19:11:13.5812942+00:00",
    "FaxNumber": "sample string 10",
    "FirstName": "sample string 3",
    "HasEmail": true,
    "HasFax": true,
    "HasSms": true,
    "LastName": "sample string 4",
    "Modified": "2020-02-23T19:11:13.5812942+00:00",
    "SmsNumber": "sample string 11",
    "SubscriberId": "13ce9099-0891-4cb7-9532-f47a1c871be6",
    "SubscriberKey": "sample string 2",
    "Subscriptions": [
      {
        "Name": "sample string 1",
        "ReceiveEmail": true,
        "ReceiveFax": true,
        "ReceiveSms": true,
        "SubscriptionId": "54ac7672-3e96-4e13-b101-dc531604b016"
      },
      {
        "Name": "sample string 1",
        "ReceiveEmail": true,
        "ReceiveFax": true,
        "ReceiveSms": true,
        "SubscriptionId": "54ac7672-3e96-4e13-b101-dc531604b016"
      }
    ],
    "Suppressed": true
  },
  "Error": {
    "ErrorId": 1,
    "ErrorMessage": "sample string 1"
  }
}

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

Sample:

/**/ typeof  === 'function' && ({"Subscriber":{"Address":"sample string 9","Attributes":[{"Name":"sample string 1","Value":"sample string 2"},{"Name":"sample string 1","Value":"sample string 2"}],"Created":"2020-02-23T19:11:13.5812942+00:00","FaxNumber":"sample string 10","FirstName":"sample string 3","HasEmail":true,"HasFax":true,"HasSms":true,"LastName":"sample string 4","Modified":"2020-02-23T19:11:13.5812942+00:00","SmsNumber":"sample string 11","SubscriberId":"13ce9099-0891-4cb7-9532-f47a1c871be6","SubscriberKey":"sample string 2","Subscriptions":[{"Name":"sample string 1","ReceiveEmail":true,"ReceiveFax":true,"ReceiveSms":true,"SubscriptionId":"54ac7672-3e96-4e13-b101-dc531604b016"},{"Name":"sample string 1","ReceiveEmail":true,"ReceiveFax":true,"ReceiveSms":true,"SubscriptionId":"54ac7672-3e96-4e13-b101-dc531604b016"}],"Suppressed":true},"Error":{"ErrorId":1,"ErrorMessage":"sample string 1"}});