Body
-
The string that you assigned to describe the resource.
-
The email address that will receive updates when the Bundle resource changes status.
-
The URL we call to inform your application of status changes.
-
The unique string of a regulation that is associated to the Bundle resource.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^RN[0-9a-fA-F]{32}$
. -
The ISO country code of the Bundle's phone number country ownership request.
-
Values are
individual
orbusiness
. -
The type of phone number of the Bundle's ownership request. Can be
local
,mobile
,national
, ortoll-free
. -
Indicates that Bundle is a Test Bundle and will be Auto-Rejected
POST
/v2/RegulatoryCompliance/Bundles
curl \
--request POST 'https://numbers.twilio.com/v2/RegulatoryCompliance/Bundles' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'Email=email&FriendlyName=friendly_name&RegulationSid=RNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&StatusCallback=http%3A%2F%2Fwww.example.com'
Request example
{"Email"=>"email", "FriendlyName"=>"friendly_name", "RegulationSid"=>"RNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "StatusCallback"=>"http://www.example.com"}
Response examples (201)
{
"sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://numbers.twilio.com/v2/RegulatoryCompliance/Bundles/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"email": "email",
"links": {
"evaluations": "https://numbers.twilio.com/v2/RegulatoryCompliance/Bundles/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Evaluations",
"bundle_copies": "https://numbers.twilio.com/v2/RegulatoryCompliance/Bundles/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Copies",
"item_assignments": "https://numbers.twilio.com/v2/RegulatoryCompliance/Bundles/BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/ItemAssignments"
},
"status": "draft",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"valid_until": null,
"date_created": "2019-07-30T22:29:24Z",
"date_updated": "2019-07-31T01:09:00Z",
"friendly_name": "friendly_name",
"regulation_sid": "RNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"status_callback": "http://www.example.com"
}