This page is specifically about the Replace Items subresource of a Bundle. Please refer to Regulatory Compliance REST APIs for general knowledge 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 compliance information in a mutable state.
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.
sid
type: SID<BU>The unique string that we created to identify the Bundle resource.
^BU[0-9a-fA-F]{32}$
34
34
account_sid
type: SID<AC>The SID of the Account that created the Bundle resource.
^AC[0-9a-fA-F]{32}$
34
34
regulation_sid
type: SID<RN>The unique string of a regulation that is associated to the Bundle resource.
^RN[0-9a-fA-F]{32}$
34
34
status
type: enum<string>The verification status of the Bundle resource.
draft
pending-review
in-review
twilio-rejected
twilio-approved
provisionally-approved
valid_until
type: string<date-time>The date and time in GMT in ISO 8601 format when the resource will be valid until.
email
type: stringThe email address that will receive updates when the Bundle resource changes status.
status_callback
type: string<uri>The URL we call to inform your application of status changes.
date_created
type: string<date-time>The date and time in GMT when the resource was created specified in ISO 8601 format.
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. |
POST https://numbers.twilio.com/v2/RegulatoryCompliance/Bundles/{BundleSid}/Copies
BundleSid
type: SID<BU>The unique string that identifies the Bundle to be copied.
^BU[0-9a-fA-F]{32}$
34
34
GET https://numbers.twilio.com/v2/RegulatoryCompliance/Bundles/{BundleSid}/Copies
BundleSid
type: SID<BU>The unique string that we created to identify the Bundle resource.
^BU[0-9a-fA-F]{32}$
34
34
PageSize
type: integerHow many resources to return in each list page. The default is 50, and the maximum is 1000.
1
Page
type: integerThe page index. This value is simply for client state.
0