Recording Add-on Results Resource
This endpoint allows Recording Add-on Listing users to fetch a Result, view a list of Results, or delete Results associated with a specific Recording.
Warning
The retention period for Recording Add-on Results is 30 days, after which they cannot be accessed.
GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Recordings/{ReferenceSid}/AddOnResults/{Sid}.json
The SID of the Account that created the Recording AddOnResult resource to fetch.
^AC[0-9a-fA-F]{32}$Min length: 34Max length: 34The SID of the recording to which the result to fetch belongs.
^RE[0-9a-fA-F]{32}$Min length: 34Max length: 34The Twilio-provided string that uniquely identifies the Recording AddOnResult resource to fetch.
^XR[0-9a-fA-F]{32}$Min length: 34Max length: 34This endpoint returns details on a given Result associated with a given Recording.
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID and Auth Token at twilio.com/console5// and set the environment variables. See http://twil.io/secure6const accountSid = process.env.TWILIO_ACCOUNT_SID;7const authToken = process.env.TWILIO_AUTH_TOKEN;8const client = twilio(accountSid, authToken);910async function fetchRecordingAddOnResult() {11const addOnResult = await client12.recordings("REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")13.addOnResults("XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")14.fetch();1516console.log(addOnResult.sid);17}1819fetchRecordingAddOnResult();
Response
1{2"sid": "XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",3"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",4"reference_sid": "REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",5"status": "completed",6"add_on_sid": "XBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",7"add_on_configuration_sid": "XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",8"date_created": "Wed, 01 Sep 2010 15:15:41 +0000",9"date_updated": "Wed, 01 Sep 2010 15:15:41 +0000",10"date_completed": "Wed, 01 Sep 2010 15:15:41 +0000",11"subresource_uris": {12"payloads": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings/REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AddOnResults/XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Payloads.json"13}14}
GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Recordings/{ReferenceSid}/AddOnResults.json
The SID of the Account that created the Recording AddOnResult resources to read.
^AC[0-9a-fA-F]{32}$Min length: 34Max length: 34The SID of the recording to which the result to read belongs.
^RE[0-9a-fA-F]{32}$Min length: 34Max length: 34How many resources to return in each list page. The default is 50, and the maximum is 1000.
1Maximum: 1000The page token. This is provided by the API.
This endpoint returns all Results associated with a given Recording.
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID and Auth Token at twilio.com/console5// and set the environment variables. See http://twil.io/secure6const accountSid = process.env.TWILIO_ACCOUNT_SID;7const authToken = process.env.TWILIO_AUTH_TOKEN;8const client = twilio(accountSid, authToken);910async function listRecordingAddOnResult() {11const addOnResults = await client12.recordings("REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")13.addOnResults.list({ limit: 20 });1415addOnResults.forEach((a) => console.log(a.end));16}1718listRecordingAddOnResult();
Response
1{2"end": 0,3"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings/REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AddOnResults.json?PageSize=50&Page=0",4"next_page_uri": null,5"page": 0,6"page_size": 50,7"previous_page_uri": null,8"add_on_results": [9{10"sid": "XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",11"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",12"reference_sid": "REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",13"status": "completed",14"add_on_sid": "XBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",15"add_on_configuration_sid": "XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",16"date_created": "Wed, 01 Sep 2010 15:15:41 +0000",17"date_updated": "Wed, 01 Sep 2010 15:15:41 +0000",18"date_completed": "Wed, 01 Sep 2010 15:15:41 +0000",19"subresource_uris": {20"payloads": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings/REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AddOnResults/XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Payloads.json"21}22}23],24"start": 0,25"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings/REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AddOnResults.json?PageSize=50&Page=0"26}
DELETE https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Recordings/{ReferenceSid}/AddOnResults/{Sid}.json
The SID of the Account that created the Recording AddOnResult resources to delete.
^AC[0-9a-fA-F]{32}$Min length: 34Max length: 34The SID of the recording to which the result to delete belongs.
^RE[0-9a-fA-F]{32}$Min length: 34Max length: 34The Twilio-provided string that uniquely identifies the Recording AddOnResult resource to delete.
^XR[0-9a-fA-F]{32}$Min length: 34Max length: 34This endpoint deletes a given Result that is associated with a given Recording. All Payloads that are associated with the Result will also be removed.
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID and Auth Token at twilio.com/console5// and set the environment variables. See http://twil.io/secure6const accountSid = process.env.TWILIO_ACCOUNT_SID;7const authToken = process.env.TWILIO_AUTH_TOKEN;8const client = twilio(accountSid, authToken);910async function deleteRecordingAddOnResult() {11await client12.recordings("REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")13.addOnResults("XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")14.remove();15}1617deleteRecordingAddOnResult();