Add subscribers based on subscriber ID to a new or existing tag.


JSON Request Example:    

{
  "username": "DRB-Test",
  "usertoken": "a1de7f1e68e24201ad22a0cb166eee90c969237e",
  "requesttype": "Tags",
  "requestmethod": "TagSubscribers",
  "details": {
    "tag": ["{*tag_id or tag_name*}", "{*tag_id or tag_name*}"], /* at least one tag id required */
    "subscriberid": ["{*subscriber_id*}", "{*subscriber_id*}"] /* at least one subscriber id required */
  }
}



"json_request" element


Field NameDescription
usernameUsername used to login to Pinpointe
usertokenUnique token assigned to Pinpointe account
requesttypeName of API set to be used
requestmethodFunction being called


Please note: ALL OPTIONAL elements that are not used should be deleted from submitted call. if only one tag is being added to and / or only one subscriber is being added, any additional "{*tag_id or tag_name*}" and / or "{*subscriber_id*}" elements should be deleted.


"details" element

"tag"


Field NameDescription
tag
(Required)
ID of tag to be searched. At least one required.  
subscriberid
ID of subscriber being added to tag. At least one required.


Successful Response:


"response" element


Field NameDescription
statusWill return SUCCESS if contact(s) were successfully added to the tag(s).
dataTag count contact(s) were added to


Unsuccessful Response:


"response" element


Field NameDescription
statusWill return FAILED if unsuccessful
errormessageText explaining why request failed