Recording Add-on Results Payloads Subresource
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.
Warning
The retention period for Recording Add-on Results is 30 days, after which they cannot be accessed.
Property nameTypeRequiredDescriptionChild properties
The unique string that that we created to identify the Recording AddOnResult Payload resource.
Pattern: ^XH[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
add_on_result_sidSID<XR>Optional The SID of the AddOnResult to which the payload belongs.
Pattern: ^XR[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
account_sidSID<AC>Optional The SID of the Account that created the Recording AddOnResult Payload resource.
Pattern: ^AC[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The string provided by the vendor that describes the payload.
add_on_sidSID<XB>Optional The SID of the Add-on to which the result belongs.
Pattern: ^XB[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
add_on_configuration_sidSID<XE>Optional The SID of the Add-on configuration.
Pattern: ^XE[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
content_typestringOptional The MIME type of the payload.
date_createdstring<date-time-rfc-2822>Optional
date_updatedstring<date-time-rfc-2822>Optional
reference_sidSID<RE>Optional The SID of the recording to which the AddOnResult resource that contains the payload belongs.
Pattern: ^RE[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
subresource_urisobject<uri-map>Optional 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
Property nameTypeRequiredPIIDescription
AccountSidSID<AC>required The SID of the Account that created the Recording AddOnResult Payload resource to fetch.
Pattern: ^AC[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
ReferenceSidSID<RE>required The SID of the recording to which the AddOnResult resource that contains the payload to fetch belongs.
Pattern: ^RE[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
AddOnResultSidSID<XR>required The SID of the AddOnResult to which the payload to fetch belongs.
Pattern: ^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.
Pattern: ^XH[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
This endpoint returns details on a given Payload associated with a given Result.
_20// Download the helper library from https://www.twilio.com/docs/node/install
_20const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";
_20// Find your Account SID and Auth Token at twilio.com/console
_20// and set the environment variables. See http://twil.io/secure
_20const accountSid = process.env.TWILIO_ACCOUNT_SID;
_20const authToken = process.env.TWILIO_AUTH_TOKEN;
_20const client = twilio(accountSid, authToken);
_20async function fetchRecordingAddOnResultPayload() {
_20 const payload = await client
_20 .recordings("REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
_20 .addOnResults("XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
_20 .payloads("XHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
_20 console.log(payload.sid);
_20fetchRecordingAddOnResultPayload();
_15 "sid": "XHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_15 "reference_sid": "REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_15 "add_on_sid": "XBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_15 "add_on_configuration_sid": "XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_15 "add_on_result_sid": "XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_15 "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_15 "label": "XHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_15 "content_type": "application/json",
_15 "date_created": "Wed, 01 Sep 2010 15:15:41 +0000",
_15 "date_updated": "Wed, 01 Sep 2010 15:15:41 +0000",
_15 "subresource_uris": {
_15 "data": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings/REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AddOnResults/XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Payloads/XHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Data.json"
GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Recordings/{ReferenceSid}/AddOnResults/{AddOnResultSid}/Payloads.json
Property nameTypeRequiredPIIDescription
AccountSidSID<AC>required The SID of the Account that created the Recording AddOnResult Payload resources to read.
Pattern: ^AC[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
ReferenceSidSID<RE>required The SID of the recording to which the AddOnResult resource that contains the payloads to read belongs.
Pattern: ^RE[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
AddOnResultSidSID<XR>required The SID of the AddOnResult to which the payloads to read belongs.
Pattern: ^XR[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
Property nameTypeRequiredPIIDescription
How many resources to return in each list page. The default is 50, and the maximum is 1000.
Minimum: 1
Maximum: 1000
The page index. This value is simply for client state.
Minimum: 0
The page token. This is provided by the API.
This endpoint returns all Payloads associated with a given Result.
_19// Download the helper library from https://www.twilio.com/docs/node/install
_19const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";
_19// Find your Account SID and Auth Token at twilio.com/console
_19// and set the environment variables. See http://twil.io/secure
_19const accountSid = process.env.TWILIO_ACCOUNT_SID;
_19const authToken = process.env.TWILIO_AUTH_TOKEN;
_19const client = twilio(accountSid, authToken);
_19async function listRecordingAddOnResultPayload() {
_19 const payloads = await client
_19 .recordings("REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
_19 .addOnResults("XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
_19 .payloads.list({ limit: 20 });
_19 payloads.forEach((p) => console.log(p.sid));
_19listRecordingAddOnResultPayload();
_27 "first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings/REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AddOnResults/XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Payloads.json?PageSize=50&Page=0",
_27 "next_page_uri": null,
_27 "previous_page_uri": null,
_27 "sid": "XHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_27 "reference_sid": "REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_27 "add_on_sid": "XBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_27 "add_on_configuration_sid": "XEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_27 "add_on_result_sid": "XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_27 "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_27 "label": "XHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_27 "content_type": "application/json",
_27 "date_created": "Wed, 01 Sep 2010 15:15:41 +0000",
_27 "date_updated": "Wed, 01 Sep 2010 15:15:41 +0000",
_27 "subresource_uris": {
_27 "data": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings/REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AddOnResults/XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Payloads/XHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Data.json"
_27 "uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings/REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/AddOnResults/XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Payloads.json?PageSize=50&Page=0"
DELETE https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Recordings/{ReferenceSid}/AddOnResults/{AddOnResultSid}/Payloads/{Sid}.json
Property nameTypeRequiredPIIDescription
AccountSidSID<AC>required The SID of the Account that created the Recording AddOnResult Payload resources to delete.
Pattern: ^AC[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
ReferenceSidSID<RE>required The SID of the recording to which the AddOnResult resource that contains the payloads to delete belongs.
Pattern: ^RE[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
AddOnResultSidSID<XR>required The SID of the AddOnResult to which the payloads to delete belongs.
Pattern: ^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.
Pattern: ^XH[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
This endpoint deletes a given Payload associated with a given Result.
_18// Download the helper library from https://www.twilio.com/docs/node/install
_18const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";
_18// Find your Account SID and Auth Token at twilio.com/console
_18// and set the environment variables. See http://twil.io/secure
_18const accountSid = process.env.TWILIO_ACCOUNT_SID;
_18const authToken = process.env.TWILIO_AUTH_TOKEN;
_18const client = twilio(accountSid, authToken);
_18async function deleteRecordingAddOnResultPayload() {
_18 .recordings("REaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
_18 .addOnResults("XRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
_18 .payloads("XHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
_18deleteRecordingAddOnResultPayload();