Creates a new copy of a Bundle. It will internally create copies of all the bundle items (identities and documents) of the original bundle
Creates a new copy of a Bundle. It will internally create copies of all the bundle items (identities and documents) of the original bundle
Path parameters
-
The unique string that identifies the Bundle to be copied.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^BU[0-9a-fA-F]{32}$
.
POST
/v2/RegulatoryCompliance/Bundles/{BundleSid}/Copies
curl \
--request POST 'https://numbers.twilio.com/v2/RegulatoryCompliance/Bundles/{BundleSid}/Copies' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'FriendlyName=friendly_name'
Request example
{"FriendlyName"=>"friendly_name"}
Response examples (201)
{
"sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"email": "email",
"status": "draft",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"valid_until": "2015-07-30T20:00:00Z",
"date_created": "2015-07-30T20:00:00Z",
"date_updated": "2015-07-30T20:00:00Z",
"friendly_name": "friendly_name",
"regulation_sid": "RNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"status_callback": "http://www.example.com"
}