Trees Results (Beta)

Note

API support for Trees is in BETA-mode and is limited to GET requests for acessing tree data and results. Trees can only be built on the VOTO platform using the block builder canvas. Report any issues to support@votomobile.org

Retrieve aggregate results and individual responses to Trees and Tree Blocks.

Get Aggregate Tree Results for All Blocks

Get aggregate results (summary statistics) for all blocks in a tree

Method: GET

Parameters:

  • api_key
  • filter_block (optional): Select block types to show, 1 - Only Question & Message Blocks; 2 - Only Question Blocks, 3 - Only Message Blocks

Returns:

{
   "status":200,
   "code":1000,
   "data":{
      "tree":[
         {
            "id":"7",
            "starting_block_id":"1366",
            "num_blocks":"16"
         }
      ],
      "results":[
         {
            "block_id":"1359",
            "block_type":"Message",
            "block_class":"MessageBlock",
            "num_outputs":"1",
            "is_interactive":0,
            "interactions":{
               "has_voice":"1",
               "has_sms":"0",
               "has_ussd":"0",
               "total_interactions":"2",
               "total_interactions_voice":"2",
               "total_interactions_sms":"0",
               "total_interactions_ussd":"0",
               "total_responses":2,
               "total_hangups":0,
               "outputs":{
                  "output_key":"1",
                  "output_key_total_interactions":"2"
               },
               "is_multichannel":0
            }
         },
         {
            "block_id":"1360",
            "block_type":"Multiple Choice Question",
            "block_class":"MultipleChoiceQuestionBlock",
            "num_outputs":"4",
            "is_interactive":1,
            "interactions":{
               "has_voice":"1",
               "has_sms":"0",
               "has_ussd":"0",
               "total_interactions":"2",
               "total_interactions_voice":"2",
               "total_interactions_sms":"0",
               "total_interactions_ussd":"0",
               "total_responses":2,
               "total_hangups":0,
               "outputs":{
                  "output_key":"1",
                  "output_key_total_interactions":"2"
               },
               "is_multichannel":0,
               "responses":[
                  {
                     "id":1,
                     "name":"less than 20",
                     "num_responses":2
                  },
                  {
                     "id":2,
                     "name":"20-40",
                     "num_responses":0
                  },
                  {
                     "id":3,
                     "name":"over 40",
                     "num_responses":0
                  }
               ]
            }
         },
         {
            "block_id":"1361",
            "block_type":"Numeric Question",
            "block_class":"NumericQuestionBlock",
            "num_outputs":"1",
            "is_interactive":1,
            "interactions":{
               "has_voice":"1",
               "has_sms":"0",
               "has_ussd":"0",
               "total_interactions":"2",
               "total_interactions_voice":"2",
               "total_interactions_sms":"0",
               "total_interactions_ussd":"0",
               "total_responses":2,
               "total_hangups":0,
               "outputs":{
                  "output_key":"1",
                  "output_key_total_interactions":"2"
               },
               "is_multichannel":0,
               "responses":{
                  "average":"192.00000000",
                  "std":"0",
                  "max":"192.0000",
                  "min":"192.0000"
               }
            }
         },
         {
            "block_id":"1362",
            "block_type":"Open-Ended Question",
            "block_class":"OpenQuestionBlock",
            "num_outputs":"1",
            "is_interactive":1,
            "interactions":{
               "has_voice":"1",
               "has_sms":"0",
               "has_ussd":"0",
               "total_interactions":"28",
               "total_interactions_voice":"28",
               "total_interactions_sms":"0",
               "total_interactions_ussd":"0",
               "total_responses":28,
               "total_hangups":0,
               "outputs":{
                  "output_key":"1",
                  "output_key_total_interactions":"28"
               },
               "is_multichannel":0,
               "responses":{
                  "average_audio_length":"20.07",
                  "total_audio_length":"561.89",
                  "total_sms_responses":"0"
               }
            }
         },
         {
            "block_id":"1363",
            "block_type":"Decision Branch",
            "block_class":"DecisionBranchBlock",
            "num_outputs":"2",
            "is_interactive":0,
            "interactions":{
               "has_voice":"1",
               "has_sms":"0",
               "has_ussd":"0",
               "total_interactions":"2",
               "total_interactions_voice":"2",
               "total_interactions_sms":"0",
               "total_interactions_ussd":"0",
               "total_responses":2,
               "total_hangups":0,
               "outputs":{
                  "output_key":"1",
                  "output_key_total_interactions":"2"
               },
               "is_multichannel":0
            }
         },
         {
            "block_id":"1364",
            "block_type":"Numeric Branch",
            "block_class":"NumericBranchBlock",
            "num_outputs":"2",
            "is_interactive":0,
            "interactions":{
               "has_voice":"1",
               "has_sms":"0",
               "has_ussd":"0",
               "total_interactions":"2",
               "total_interactions_voice":"2",
               "total_interactions_sms":"0",
               "total_interactions_ussd":"0",
               "total_responses":2,
               "total_hangups":0,
               "outputs":{
                  "output_key":"1",
                  "output_key_total_interactions":"2"
               },
               "is_multichannel":0
            }
         },
         {
            "block_id":"1365",
            "block_type":"Random Branch",
            "block_class":"RandomBranchBlock",
            "num_outputs":"3",
            "is_interactive":0
         },
         {
            "block_id":"1366",
            "block_type":"Branch via Subscriber Data",
            "block_class":"SubscriberBranchBlock",
            "num_outputs":"2",
            "is_interactive":0
         },
         {
            "block_id":"1367",
            "block_type":"Branch via Group Membership",
            "block_class":"GroupBranchBlock",
            "num_outputs":"2",
            "is_interactive":0
         },
         {
            "block_id":"1368",
            "block_type":"Branch via Group Size",
            "block_class":"GroupSizeBranchBlock",
            "num_outputs":"2",
            "is_interactive":0
         },
         {
            "block_id":"1369",
            "block_type":"Edit Group Membership",
            "block_class":"GroupPropertyBlock",
            "num_outputs":"1",
            "is_interactive":0
         },
         {
            "block_id":"1370",
            "block_type":"Edit Subscriber Property",
            "block_class":"SubscriberPropertyBlock",
            "num_outputs":"1",
            "is_interactive":0
         },
         {
            "block_id":"1371",
            "block_type":"Run Another Tree",
            "block_class":"RunTreeBlock",
            "num_outputs":"1",
            "is_interactive":0
         },
         {
            "block_id":"1372",
            "block_type":"Language Selector",
            "block_class":"LanguageSelectorBlock",
            "num_outputs":"1",
            "is_interactive":0
         },
         {
            "block_id":"1373",
            "block_type":"Random Order Multiple Choice Question",
            "block_class":"RandomOrderMultipleChoiceQuestionBlock",
            "num_outputs":"3",
            "is_interactive":1,
            "interactions":{
               "has_voice":"1",
               "has_sms":"0",
               "has_ussd":"0",
               "total_interactions":"1",
               "total_interactions_voice":"1",
               "total_interactions_sms":"0",
               "total_interactions_ussd":"0",
               "total_responses":1,
               "total_hangups":0,
               "outputs":{
                  "output_key":"1",
                  "output_key_total_interactions":"1"
               },
               "is_multichannel":0,
               "responses":[
                  {
                     "id":1,
                     "name":"Scrabble",
                     "num_responses":1
                  },
                  {
                     "id":2,
                     "name":"Chess",
                     "num_responses":0
                  },
                  {
                     "id":3,
                     "name":"Monopoly",
                     "num_responses":0
                  },
                  {
                     "id":4,
                     "name":"FIFA",
                     "num_responses":0
                  },
                  {
                     "id":5,
                     "name":"Need for Speed",
                     "num_responses":0
                  }
               ]
            }
         },
         {
            "block_id":"1374",
            "block_type":"Message",
            "block_class":"MessageBlock",
            "num_outputs":"1",
            "is_interactive":0,
            "interactions":{
               "has_voice":"1",
               "has_sms":"0",
               "has_ussd":"0",
               "total_interactions":"2",
               "total_interactions_voice":"2",
               "total_interactions_sms":"0",
               "total_interactions_ussd":"0",
               "total_responses":0,
               "total_hangups":"2",
               "is_multichannel":0
            }
         }
      ]
   },
   "message":"Aggregate results for Tree 7 fetched successfully",
   "more_info":"",
   "pagination":null,
   "url":"https://go.votomobile.org/api/v1/trees/7/results?api_key=125d50ceb4e4e2186cf47e3c3&filter_block=0"
}

Get Aggregate Tree Results for a Single Block

Get aggregate results (summary statistics) for a single block in a tree

Method: GET

Parameters:

  • api_key

Returns:

{
   "status":200,
   "code":1000,
   "data":{
      "tree":[
         {
            "id":"7",
            "title":"Full Tree",
            "starting_block_id":"1366",
            "num_blocks":"16"
         }
      ],
      "results":[
         {
            "block_id":"1360",
            "block_type":"Multiple Choice Question",
            "block_class":"MultipleChoiceQuestionBlock",
            "num_outputs":"4",
            "is_interactive":1,
            "interactions":{
               "has_voice":"1",
               "has_sms":"0",
               "has_ussd":"0",
               "total_interactions":"2",
               "total_interactions_voice":"2",
               "total_interactions_sms":"0",
               "total_interactions_ussd":"0",
               "total_responses":2,
               "total_hangups":0,
               "outputs":{
                  "output_key":"1",
                  "output_key_total_interactions":"2"
               },
               "is_multichannel":0,
               "responses":[
                  {
                     "id":1,
                     "name":"less than 20",
                     "num_responses":2
                  },
                  {
                     "id":2,
                     "name":"20-40",
                     "num_responses":0
                  },
                  {
                     "id":3,
                     "name":"over 40",
                     "num_responses":0
                  }
               ]
            }
         }
      ]
   },
   "message":"Aggregate results for Tree 7 Block 1360 fetched successfully",
   "more_info":"",
   "pagination":null,
   "url":"https://go.votomobile.org/api/v1/trees/7/blocks/1360/results?api_key=125d50ceb4e4e2186cf47e3c3"
}

Count Interactions (Delivery Logs) for a Tree

Count the number of delivery logs (individual subscriber interactions) associated with a Tree. You can optionally filter by delivery status and by date/time range.

Method: GET

URL: https://go.votomobile.org/api/v1/trees/[tree_id]/counts

Parameters:

  • api_key
  • filter_delivery_status (optional): Include only interactions with this delivery_status (e.g.: ‘6’ for Finished (Completed); ‘5’ for Failed (No Answer), etc.)
  • filter_after_date (optional): Include only interactions that ended after this date/time. Allowed format: ‘2015-09-23’ or ‘2015-09-23 14:02:37’, in UTC.
  • filter_before_date (optional): Include only interactions that ended before this date/time. Allowed format: ‘2015-09-23’ or ‘2015-09-23 14:02:37’, in UTC.

Returns:

{
   "status":200,
   "code":1000,
   "data":{
      "tree_id":"12",
      "filter_after_date": "2012-04-20",
      "count":0
   },
   "message":"Fetched Tree Counts: 0 times accessed.",
   "more_info":"",
   "pagination":null,
   "url":"https://go.votomobile.org/api/v1/trees/12/counts?api_key=125d50ceb4e4e2186cf47e3c3&filter_after_date=2012-04-20"
}

Get All Interactions (Responses) to a Tree Block

Retrieve all responses to a single tree block (optionally filtered by date range)

Method: GET

Parameters:

  • api_key
  • filter_after_date (optional): Include only responses after this date/time. Allowed format: ‘2015-09-23’ or ‘2015-09-23 14:02:37’, in UTC.
  • filter_before_date (optional): Include only responses before this date/time. Allowed format: ‘2015-09-23’ or ‘2015-09-23 14:02:37’, in UTC.
  • limit (optional): Specify the pagination limit for number of results to return on one page [max: 500]. You can follow the URLs given for nextURL and previousURL in the ‘pagination’ section of the response to navigate through pages.

Returns:

{
    "status": 200,
    "code": 1000,
    "data": {
        "tree": {
            "id": "10",
            "starting_block_id": "227",
            "num_blocks": "8"
        },
        "block": [
            {
                "id": "228",
                "type": "Multiple Choice Question",
                "class": "MultipleChoiceQuestionBlock",
                "num_outputs": "2",
                "is_interactive": 1
            }
        ],
        "number_of_responses": 5,
        "interactions": [
            {
                "subscriber_id": "332",
                "delivery_log_id": "240",
                "block_interaction_id": "115",
                "block_id": "228",
                "block_type": "Multiple Choice Question",
                "title": "Are you in a City or a Village?",
                "response": {
                    "choice_id": "2",
                    "choice_name": "Village",
                    "choice_sms_input": null,
                    "choice_ussd_input": "2",
                    "created_at": "2016-05-08 19:42:06"
                },
                "number_of_repeats": "0",
                "entry_at": "2016-05-08 19:42:06",
                "exit_at": "2016-05-08 19:42:11"
            },
            {
                "subscriber_id": "333",
                "delivery_log_id": "241",
                "block_interaction_id": "120",
                "block_id": "228",
                "block_type": "Multiple Choice Question",
                "title": "Are you in a City or a Village?",
                "response": {
                    "choice_id": "1",
                    "choice_name": "City",
                    "choice_sms_input": null,
                    "choice_ussd_input": "1",
                    "created_at": "2016-05-08 20:02:45"
                },
                "number_of_repeats": "0",
                "entry_at": "2016-05-08 20:02:45",
                "exit_at": "2016-05-08 20:02:51"
            },
            {
                "subscriber_id": "334",
                "delivery_log_id": "242",
                "block_interaction_id": "127",
                "block_id": "228",
                "block_type": "Multiple Choice Question",
                "title": "Are you in a City or a Village?",
                "response": {
                    "choice_id": "1",
                    "choice_name": "City",
                    "choice_sms_input": null,
                    "choice_ussd_input": "1",
                    "created_at": "2016-05-08 20:06:12"
                },
                "number_of_repeats": "0",
                "entry_at": "2016-05-08 20:06:12",
                "exit_at": "2016-05-08 20:06:20"
            },
            {
                "subscriber_id": "336",
                "delivery_log_id": "244",
                "block_interaction_id": "135",
                "block_id": "228",
                "block_type": "Multiple Choice Question",
                "title": "Are you in a City or a Village?",
                "response": {
                    "choice_id": "1",
                    "choice_name": "City",
                    "choice_sms_input": null,
                    "choice_ussd_input": "1",
                    "created_at": "2016-05-09 01:31:12"
                },
                "number_of_repeats": "0",
                "entry_at": "2016-05-09 01:31:12",
                "exit_at": "2016-05-09 01:31:19"
            },
            {
                "subscriber_id": "337",
                "delivery_log_id": "245",
                "block_interaction_id": "141",
                "block_id": "228",
                "block_type": "Multiple Choice Question",
                "title": "Are you in a City or a Village?",
                "response": {
                    "choice_id": null,
                    "choice_name": null,
                    "choice_sms_input": null,
                    "choice_ussd_input": null,
                    "created_at": "2016-05-09 01:41:42"
                },
                "number_of_repeats": "0",
                "entry_at": "2016-05-09 01:41:42",
                "exit_at": null
            }
        ]
    },
    "message": "Tree Block 228 Responses fetched successfully",
    "more_info": "",
    "pagination": null,
    "url": "https://go.votomobile.org/api/v1/trees/10/blocks/228/interactions?api_key=2e0916e8a540a1d3e629bb173&limit="
}

Count Interactions to a Tree Block

Count all responses to a single tree block (optionally filtered by date range). Returns the number of unique respondents (subscribers), and the number of individual responses (in case a subscriber interacted the block more than once).

Tip

Use this instead of https://go.votomobile.org/api/v1/trees/[tree_id]/blocks/[block_id]/results if you only need to know total counts, but don’t care about the individual results.

Method: GET

Parameters:

  • api_key
  • filter_after_date (optional): Include only responses after this date/time. Allowed format: ‘2015-09-23’ or ‘2015-09-23 14:02:37’, in UTC.
  • filter_before_date (optional): Include only responses before this date/time. Allowed format: ‘2015-09-23’ or ‘2015-09-23 14:02:37’, in UTC.

Returns:

{
    "status": 200,
    "code": 1000,
    "data": {
        "tree": {
            "id": "9",
            "starting_block_id": "64",
            "num_blocks": "3"
        },
        "block": [
            {
                "id": "62",
                "type": "Multiple Choice Question",
                "class": "MultipleChoiceQuestionBlock",
                "num_outputs": "2",
                "is_interactive": 1
            }
        ],
        "number_of_responses": 5
    },
    "message": "Fetch Tree Block 62 Interactions: Counts 5 interactions.",
    "more_info": "",
    "pagination": null,
    "url": "https://go.votomobile.org/api/v1/trees/9/blocks/62/counts?api_key=2e0916e8a540a1d3e629bb173"
}

Get Tree Interactions (Responses) for one Delivery Log

Retrieve a subscriber’s responses to a tree within one delivery log. This returns all responses for a subscriber that took place within a single call or SMS conversation.

Method: GET

Parameters:

  • api_key

Returns:

{
    "status": 200,
    "code": 1000,
    "data": {
        "delivery_log": {
            "id": "244",
            "subscriber_id": "336",
            "outgoing_call_id": null,
            "incoming_call_id": "16",
            "queued_on": "2016-05-09 01:30:59",
            "delivery_status": "6",
            "seconds_completed": null,
            "start_timestamp": "2016-05-09 01:30:59",
            "end_timestamp": "2016-05-09 01:31:24",
            "content_type": "4",
            "language_id": "7",
            "hangup_cause": null
        },
        "tree": {
            "id": "10",
            "starting_block_id": "227",
            "num_blocks": "8"
        },
        "interactions": [
            {
                "block_interaction_id": "134",
                "block_id": "227",
                "block_type": "Language Selector",
                "number_of_repeats": "0",
                "entry_at": "2016-05-09 01:30:59",
                "exit_at": null
            },
            {
                "block_interaction_id": "135",
                "block_id": "228",
                "block_type": "Multiple Choice Question",
                "title": "Are you in a City or a Village?",
                "response": {
                    "choice_id": "1",
                    "choice_name": "City",
                    "choice_sms_input": null,
                    "choice_ussd_input": "1",
                    "created_at": "2016-05-09 01:31:12"
                },
                "number_of_repeats": "0",
                "entry_at": "2016-05-09 01:31:12",
                "exit_at": "2016-05-09 01:31:19"
            },
            {
                "block_interaction_id": "136",
                "block_id": "230",
                "block_type": "Decision Branch",
                "number_of_repeats": "0",
                "entry_at": "2016-05-09 01:31:19",
                "exit_at": "2016-05-09 01:31:19"
            },
            {
                "block_interaction_id": "137",
                "block_id": "229",
                "block_type": "Numeric Question",
                "title": "How many cars do you have?",
                "response": {
                    "value": "0.0000",
                    "created_at": "2016-05-09 01:31:19"
                },
                "number_of_repeats": "0",
                "entry_at": "2016-05-09 01:31:19",
                "exit_at": "2016-05-09 01:31:24"
            },
            {
                "block_interaction_id": "138",
                "block_id": "232",
                "block_type": "Numeric Branch",
                "number_of_repeats": "0",
                "entry_at": "2016-05-09 01:31:24",
                "exit_at": "2016-05-09 01:31:24"
            },
            {
                "block_interaction_id": "139",
                "block_id": "234",
                "block_type": "Message",
                "title": "Thank you for taking part in this survey!",
                "number_of_repeats": "0",
                "entry_at": "2016-05-09 01:31:24",
                "exit_at": "2016-05-09 01:31:24"
            }
        ]
    },
    "message": "Delivery Log 244 Tree 10 Interactions Fetched Successfully",
    "more_info": "",
    "pagination": null,
    "url": "https://go.votomobile.org/api/v1/trees/10/delivery_logs/244?api_key=2e0916e8a540a1d3e629bb173"
}

Get Tree Interactions (Responses) for one Subscriber

Retrieve all of single subscriber’s responses to a tree. This subscriber may have interacted with the tree multiple times, so this returns responses within an array of delivery_logs.

Method: GET

Parameters:

  • api_key

Returns:

{
    "status": 200,
    "code": 1000,
    "data": {
        "tree": {
            "id": "1",
            "starting_block_id": "20",
            "num_blocks": "4"
        },
        "delivery_logs": [
            {
                "delivery_log": {
                    "id": "155",
                    "subscriber_id": "283",
                    "outgoing_call_id": "78",
                    "incoming_call_id": null,
                    "queued_on": "2015-05-10 01:06:16",
                    "delivery_status": "7",
                    "seconds_completed": "80.279",
                    "start_timestamp": "2015-05-10 01:06:32",
                    "end_timestamp": "2015-05-10 01:07:53",
                    "survey_questions_answered": "0",
                    "survey_questions_total": null,
                    "content_type": "1",
                    "language_id": "5",
                    "hangup_cause": "NORMAL_CLEARING"
                },
                "interactions": [
                    {
                        "block_interaction_id": "1",
                        "block_id": "20",
                        "block_type": "Open-Ended Question",
                        "title": "Tell us anything...",
                        "response": {
                            "open_audio_file": "554eaf18dfae55.44724913",
                            "open_text": null,
                            "open_audio_length": null,
                            "open_audio_is_empty_response": "0",
                            "open_audio_url": "https://s3-us-west-2.amazonaws.com/test.audioresponses.votomobile.org/wav/554eaf18dfae55.44724913",
                            "created_at": "2015-05-10 01:06:32"
                        },
                        "number_of_repeats": "0",
                        "entry_at": "2015-05-10 01:06:32",
                        "exit_at": "2015-05-10 01:06:56"
                    },
                    {
                        "block_interaction_id": "2",
                        "block_id": "21",
                        "block_type": "Multiple Choice Question",
                        "title": "Did it work?",
                        "response": {
                            "choice_id": "2",
                            "choice_name": "No",
                            "choice_sms_input": null,
                            "choice_ussd_input": null,
                            "created_at": "2015-05-10 01:06:56"
                        },
                        "number_of_repeats": "0",
                        "entry_at": "2015-05-10 01:06:56",
                        "exit_at": "2015-05-10 01:07:18"
                    },
                    {
                        "block_interaction_id": "3",
                        "block_id": "22",
                        "block_type": "Numeric Question",
                        "title": "How many tries will it take you to make this work?",
                        "response": {
                            "value": "5.0000",
                            "created_at": "2015-05-10 01:07:18"
                        },
                        "number_of_repeats": "0",
                        "entry_at": "2015-05-10 01:07:18",
                        "exit_at": "2015-05-10 01:07:35"
                    },
                    {
                        "block_interaction_id": "4",
                        "block_id": "23",
                        "block_type": "Open-Ended Question",
                        "title": "What will you do to celebrate when this works?",
                        "response": {
                            "open_audio_file": "554eaf57e410d4.70103733",
                            "open_text": null,
                            "open_audio_length": "10.06",
                            "open_audio_is_empty_response": "0",
                            "open_audio_url": "https://s3-us-west-2.amazonaws.com/test.audioresponses.votomobile.org/wav/554eaf57e410d4.70103733",
                            "created_at": "2015-05-10 01:07:35"
                        },
                        "number_of_repeats": "0",
                        "entry_at": "2015-05-10 01:07:35",
                        "exit_at": "2015-05-10 01:07:53"
                    }
                ]
            },
            {
                "delivery_log": {
                    "id": "156",
                    "subscriber_id": "283",
                    "outgoing_call_id": "79",
                    "incoming_call_id": null,
                    "queued_on": "2015-05-10 13:09:07",
                    "delivery_status": "7",
                    "seconds_completed": "198.961",
                    "start_timestamp": "2015-05-10 13:10:01",
                    "end_timestamp": "2015-05-10 13:12:44",
                    "survey_questions_answered": "0",
                    "survey_questions_total": null,
                    "content_type": "1",
                    "language_id": "5",
                    "hangup_cause": "NORMAL_CLEARING"
                },
                "interactions": [
                    {
                        "block_interaction_id": "5",
                        "block_id": "20",
                        "block_type": "Open-Ended Question",
                        "title": "Tell us anything...",
                        "response": {
                            "open_audio_file": "554f58aa2927d9.19485520",
                            "open_text": null,
                            "open_audio_length": null,
                            "open_audio_is_empty_response": "0",
                            "open_audio_url": "https://s3-us-west-2.amazonaws.com/test.audioresponses.votomobile.org/wav/554f58aa2927d9.19485520",
                            "created_at": "2015-05-10 13:10:02"
                        },
                        "number_of_repeats": "0",
                        "entry_at": "2015-05-10 13:10:01",
                        "exit_at": "2015-05-10 13:11:11"
                    },
                    {
                        "block_interaction_id": "6",
                        "block_id": "21",
                        "block_type": "Multiple Choice Question",
                        "title": "Did it work?",
                        "response": {
                            "choice_id": "1",
                            "choice_name": "Yes",
                            "choice_sms_input": null,
                            "choice_ussd_input": null,
                            "created_at": "2015-05-10 13:11:11"
                        },
                        "number_of_repeats": "0",
                        "entry_at": "2015-05-10 13:11:11",
                        "exit_at": "2015-05-10 13:12:15"
                    },
                    {
                        "block_interaction_id": "7",
                        "block_id": "22",
                        "block_type": "Numeric Question",
                        "title": "How many tries will it take you to make this work?",
                        "response": {
                            "value": "1.0000",
                            "created_at": "2015-05-10 13:12:15"
                        },
                        "number_of_repeats": "0",
                        "entry_at": "2015-05-10 13:12:15",
                        "exit_at": "2015-05-10 13:12:25"
                    },
                    {
                        "block_interaction_id": "8",
                        "block_id": "23",
                        "block_type": "Open-Ended Question",
                        "title": "What will you do to celebrate when this works?",
                        "response": {
                            "open_audio_file": "554f5939a033b9.70097617",
                            "open_text": null,
                            "open_audio_length": "11.92",
                            "open_audio_is_empty_response": "0",
                            "open_audio_url": "https://s3-us-west-2.amazonaws.com/test.audioresponses.votomobile.org/wav/554f5939a033b9.70097617",
                            "created_at": "2015-05-10 13:12:25"
                        },
                        "number_of_repeats": "0",
                        "entry_at": "2015-05-10 13:12:25",
                        "exit_at": "2015-05-10 13:12:44"
                    }
                ]
            },
            {
                "delivery_log": {
                    "id": "157",
                    "subscriber_id": "283",
                    "outgoing_call_id": "80",
                    "incoming_call_id": null,
                    "queued_on": "2015-05-10 13:30:40",
                    "delivery_status": "7",
                    "seconds_completed": "49.78",
                    "start_timestamp": "2015-05-10 13:30:53",
                    "end_timestamp": "2015-05-10 13:31:42",
                    "survey_questions_answered": "0",
                    "survey_questions_total": null,
                    "content_type": "1",
                    "language_id": "5",
                    "hangup_cause": "NORMAL_CLEARING"
                },
                "interactions": [
                    {
                        "block_interaction_id": "9",
                        "block_id": "20",
                        "block_type": "Open-Ended Question",
                        "title": "Tell us anything...",
                        "response": {
                            "open_audio_file": "554f5d8dcb4399.19546006",
                            "open_text": null,
                            "open_audio_length": null,
                            "open_audio_is_empty_response": "0",
                            "open_audio_url": "https://s3-us-west-2.amazonaws.com/test.audioresponses.votomobile.org/wav/554f5d8dcb4399.19546006",
                            "created_at": "2015-05-10 13:30:53"
                        },
                        "number_of_repeats": "0",
                        "entry_at": "2015-05-10 13:30:53",
                        "exit_at": "2015-05-10 13:31:06"
                    },
                    {
                        "block_interaction_id": "10",
                        "block_id": "21",
                        "block_type": "Multiple Choice Question",
                        "title": "Did it work?",
                        "response": {
                            "choice_id": "1",
                            "choice_name": "Yes",
                            "choice_sms_input": null,
                            "choice_ussd_input": null,
                            "created_at": "2015-05-10 13:31:06"
                        },
                        "number_of_repeats": "0",
                        "entry_at": "2015-05-10 13:31:06",
                        "exit_at": "2015-05-10 13:31:15"
                    },
                    {
                        "block_interaction_id": "11",
                        "block_id": "22",
                        "block_type": "Numeric Question",
                        "title": "How many tries will it take you to make this work?",
                        "response": {
                            "value": "2.0000",
                            "created_at": "2015-05-10 13:31:16"
                        },
                        "number_of_repeats": "0",
                        "entry_at": "2015-05-10 13:31:16",
                        "exit_at": "2015-05-10 13:31:32"
                    },
                    {
                        "block_interaction_id": "12",
                        "block_id": "23",
                        "block_type": "Open-Ended Question",
                        "title": "What will you do to celebrate when this works?",
                        "response": {
                            "open_audio_file": "554f5db47cd5d5.35287384",
                            "open_text": null,
                            "open_audio_length": "2.36",
                            "open_audio_is_empty_response": "1",
                            "open_audio_url": "https://s3-us-west-2.amazonaws.com/test.audioresponses.votomobile.org/wav/554f5db47cd5d5.35287384",
                            "created_at": "2015-05-10 13:31:32"
                        },
                        "number_of_repeats": "0",
                        "entry_at": "2015-05-10 13:31:32",
                        "exit_at": "2015-05-10 13:31:42"
                    }
                ]
            }
        ]
    },
    "message": "Delivery Logs for Subscriber 283 on Tree 1 Interactions Fetched Successfully",
    "more_info": "",
    "pagination": null,
    "url": "https://go.votomobile.org/api/v1/trees/1/subscribers/283?api_key=2e0916e8a540a1d3e629bb172"
}