Allows user to add one or more subscribers to an active Journey.


NOTE: subscribers to be added to the specified journey MUST already be present in the specified list.


Note: this API call can also be found under the requesttype = Journeys


JSON Request Example: 


{
  "username": "john.doe@xxxx.com",
  "usertoken": "abc123abc123abc123abc123abc123",
  "requesttype": "Newsletters",
  "requestmethod": "AddSubscriberToJourney",
  "details": {
    "journey": "{*journey_id or journey_name*}", /* required */
    "subscribers": "{*subscriber_id*}", /* required */
    "subscribers": [    /* alternate list format */
      "{*subscriber_id*}",
      "{*subscriber_id*}"
    ]
  }
}


"json_request"  element


Field NameDescription
usernameUsername used to login to Pinpointe
usertokenUnique token assigned to Pinpointe account
requesttypeNewsletters
requestmethodAddSubscriberToJourney


"details" element


Please note: Unused optional parameters should be deleted from the call. 


Elements
journey
(required)
User must provide either the Journey ID or the Journey name.
subscribers
The subscriber ID of the subscriber the user wants added to the specific Journey.
subscribers
(alternate)
User may supply a list of comma-separated subscriber IDs in the case where more than one subscriber is to be added to the specified Journey. 


Successful Response:


"response" element


Field NameDescription
statusWill return SUCCESS if subscriber is successfully added to the specified Journey


"response" "data" 


Field NameDescription
data
Journey ID, ID of subscriber(s) added, and the subscriber count.


Unsuccessful Response:


"response" element


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