This subresource of the Recording Add-on Results resource allows Recording Add-on Listing users to fetch a Payload, view a list of Payloads, or delete Payloads associated with a specific Recording Add-on Result.
The retention period for Recording Add-on Results is 30 days, after which they cannot be accessed.
The unique string that that we created to identify the Recording AddOnResult Payload resource.
^XH[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the AddOnResult to which the payload belongs.
^XR[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the Account that created the Recording AddOnResult Payload resource.
^AC[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the Add-on to which the result belongs.
^XB[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the Add-on configuration.
^XE[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The date and time in GMT that the resource was created specified in RFC 2822 format.
The date and time in GMT that the resource was last updated specified in RFC 2822 format.
The SID of the recording to which the AddOnResult resource that contains the payload belongs.
^RE[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
A list of related resources identified by their relative URIs.
GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Recordings/{ReferenceSid}/AddOnResults/{AddOnResultSid}/Payloads/{Sid}.json
The SID of the Account that created the Recording AddOnResult Payload resource to fetch.
^AC[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the recording to which the AddOnResult resource that contains the payload to fetch belongs.
^RE[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the AddOnResult to which the payload to fetch belongs.
^XR[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The Twilio-provided string that uniquely identifies the Recording AddOnResult Payload resource to fetch.
^XH[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
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 fetchRecordingAddOnResultPayload() {11const payload = await client12.recordings("REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")13.addOnResults("XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")14.payloads("XHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")15.fetch();1617console.log(payload.sid);18}1920fetchRecordingAddOnResultPayload();
1{2"sid": "XHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",3"reference_sid": "REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",4"add_on_sid": "XBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",5"add_on_configuration_sid": "XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",6"add_on_result_sid": "XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",7"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",8"label": "XHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",9"content_type": "application/json",10"date_created": "Wed, 01 Sep 2010 15:15:41 +0000",11"date_updated": "Wed, 01 Sep 2010 15:15:41 +0000",12"subresource_uris": {13"data": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings/REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AddOnResults/XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Payloads/XHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Data.json"14}15}
GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Recordings/{ReferenceSid}/AddOnResults/{AddOnResultSid}/Payloads.json
The SID of the Account that created the Recording AddOnResult Payload resources to read.
^AC[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the recording to which the AddOnResult resource that contains the payloads to read belongs.
^RE[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the AddOnResult to which the payloads to read belongs.
^XR[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
How many resources to return in each list page. The default is 50, and the maximum is 1000.
1
Maximum: 1000
The page token. This is provided by the API.
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 listRecordingAddOnResultPayload() {11const payloads = await client12.recordings("REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")13.addOnResults("XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")14.payloads.list({ limit: 20 });1516payloads.forEach((p) => console.log(p.sid));17}1819listRecordingAddOnResultPayload();
1{2"end": 0,3"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings/REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AddOnResults/XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Payloads.json?PageSize=50&Page=0",4"next_page_uri": null,5"page": 0,6"page_size": 50,7"previous_page_uri": null,8"payloads": [9{10"sid": "XHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",11"reference_sid": "REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",12"add_on_sid": "XBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",13"add_on_configuration_sid": "XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",14"add_on_result_sid": "XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",15"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",16"label": "XHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",17"content_type": "application/json",18"date_created": "Wed, 01 Sep 2010 15:15:41 +0000",19"date_updated": "Wed, 01 Sep 2010 15:15:41 +0000",20"subresource_uris": {21"data": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings/REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AddOnResults/XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Payloads/XHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Data.json"22}23}24],25"start": 0,26"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings/REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AddOnResults/XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Payloads.json?PageSize=50&Page=0"27}
DELETE https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Recordings/{ReferenceSid}/AddOnResults/{AddOnResultSid}/Payloads/{Sid}.json
The SID of the Account that created the Recording AddOnResult Payload resources to delete.
^AC[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the recording to which the AddOnResult resource that contains the payloads to delete belongs.
^RE[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the AddOnResult to which the payloads to delete belongs.
^XR[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The Twilio-provided string that uniquely identifies the Recording AddOnResult Payload resource to delete.
^XH[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
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 deleteRecordingAddOnResultPayload() {11await client12.recordings("REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")13.addOnResults("XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")14.payloads("XHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")15.remove();16}1718deleteRecordingAddOnResultPayload();