Receivers
I want to know who received my messages
Need to create a endpoint to get all the information about the user who answer a specific surveyid
apiworker /getReceivers
POST /api/task/getReceivers
Data should be the same as for the task creation.
{
"task" : {
"appID":"699115713490740",
"surveyID":"d27519f8137366c472ac332bbaf34873c5e7e450e3aa058f",
"type":"specific",
"timestamp":"1494257683898",
"filters":{
"respondents" : ["1276358755731356"]
},
"overrideBool": true,
"newActiveStatus": true,
"title": "Titre de la tache pour botchimp"
}
}
Response
[
{
"receiverID": "1276358755731356",
"facebookUserData": {
"first_name": "Benoit",
"last_name": "Guiv",
"profile_pic": "https://scontent.xx.fbcdn.net/v/t1.0-1/12400968_10207962169753822_8147998610643429584_n.jpg?oh=045ccb56baae29af80d85d291013f220&oe=59868FDE",
"locale": "en_US",
"timezone": -4,
"gender": "male"
}
}
]