Resume a specific Compliance Inquiry that has expired, or re-open a rejected Compliance Inquiry for editing.
Resume a specific Compliance Inquiry that has expired, or re-open a rejected Compliance Inquiry for editing.
Path parameters
-
The unique CustomerId matching the Customer Profile/Compliance Inquiry that should be resumed or resubmitted. This value will have been returned by the initial Compliance Inquiry creation call.
Body
-
The unique SID identifier of the Primary Customer Profile that should be used as a parent. Only necessary when creating a secondary Customer Profile.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^BU[0-9a-fA-F]{32}$
. -
Theme id for styling the inquiry form.
POST
/v1/ComplianceInquiries/Customers/{CustomerId}/Initialize
curl \
--request POST 'https://trusthub.twilio.com/v1/ComplianceInquiries/Customers/{CustomerId}/Initialize' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'PrimaryProfileSid=BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Request examples
Update
{"PrimaryProfileSid"=>"BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
{"ThemeSetId"=>"th_xxxxx", "PrimaryProfileSid"=>"BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
Response examples (200)
Update
{
"url": "https://trusthub.twilio.com/v1/ComplianceInquiries/Customers/tri1.us1.trusthub.ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.customer.BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Initialize",
"inquiry_id": "inq_aaaaaaaaaaaaaaaaaaaaaaaa",
"customer_id": "tri1.us1.trusthub.ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.customer.BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"inquiry_session_token": "new.session.token"
}
{
"url": "https://trusthub.twilio.com/v1/ComplianceInquiries/Customers/tri1.us1.trusthub.ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.customer.BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Initialize",
"inquiry_id": "inq_aaaaaaaaaaaaaaaaaaaaaaaa",
"customer_id": "tri1.us1.trusthub.ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.customer.BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"inquiry_session_token": "new.session.token"
}