Menu

Expand
Rate this page:

Bundle Copies Resource

This page is specifically about the Replace Items subresource of a Bundle. Please refere to Regulatory Compliance REST APIs for general knoweldge or FAQ page.

With the new Bundle Copy resource, developers can now update their compliance information when Regulations change while they continue their Phone Number provisioning habits before the compliance information is no longer valid. The resource copies a Regulatory Bundle to allow updating of the the compliance information in a mutable state.

Copies Response Properties

The field of the Bundle resource response is in JSON. The type SID<BU> is a unique ID starting with letters BU. For more information about Twilio SIDs, please refer to Twilio's glossary on SIDs.

Resource Properties in REST API format
sid
sid<BU> Not PII

The unique string that we created to identify the Bundle resource.

account_sid
sid<AC> Not PII

The SID of the Account that created the Bundle resource.

regulation_sid
sid<RN> Not PII

The unique string of a regulation that is associated to the Bundle resource.

friendly_name
string Not PII

The string that you assigned to describe the resource.

status
enum:status Not PII

The verification status of the Bundle resource.

valid_until
date_time<iso8601> Not PII

The date and time in GMT in ISO 8601 format when the resource will be valid until.

email
string Not PII

The email address that will receive updates when the Bundle resource changes status.

status_callback
url Not PII

The URL we call to inform your application of status changes.

date_created
date_time<iso8601> Not PII

The date and time in GMT when the resource was created specified in ISO 8601 format.

date_updated
date_time<iso8601> Not PII

The date and time in GMT when the resource was last updated specified in ISO 8601 format.

Bundle Statuses

The following statuses encompass the Bundle lifecycle.

Status Description
draft The user has created a new Bundle that can be edited with Supporting Documents and End-User objects assigned.
pending-review When the user has finished the draft of the Bundle and submits to Twilio for review, the status moves from draft to pending-review.
in-review Twilio has moved the Bundle from pending-review to in-review. Once Twilio has finished review, the Bundle will go either to twilio-approved or twilio-rejected.
twilio-rejected Twilio has reviewed the Bundle and has determined the Bundle does not meet the regulations.
twilio-approved Twilio has reviewed the Bundle and has determined the Bundles does meet the regulations.

Create new Bundle Copy

post
https://numbers.twilio.com/v2/RegulatoryCompliance/Bundles/{BundleSid}/Copies
Parameters
Parameters in REST API format
bundle_sid
Path
post sid<BU> Not PII

The unique string that identifies the Bundle to be copied.

friendly_name
Optional
post string Not PII

The string that you assigned to describe the copied bundle.

Example 1
Loading Code Sample...
        
        

        Create new Bundle Copy

        Read multiple BundleCopy resources

        get
        https://numbers.twilio.com/v2/RegulatoryCompliance/Bundles/{BundleSid}/Copies
        Parameters
        Parameters in REST API format
        bundle_sid
        Path
        get sid<BU> Not PII

        The unique string that we created to identify the Bundle resource.

        Example 1
        Loading Code Sample...
              
              

              Read Regulatory Bundle

              Rate this page:

              Need some help?

              We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.

              Loading Code Sample...
                    
                    
                    

                    Thank you for your feedback!

                    Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

                    Sending your feedback...
                    🎉 Thank you for your feedback!
                    Something went wrong. Please try again.

                    Thanks for your feedback!

                    thanks-feedback-gif