github.com/twilio/twilio-go@v1.20.1/rest/trusthub/v1/docs/ComplianceInquiriesCustomersInitializeApi.md (about)

     1  # ComplianceInquiriesCustomersInitializeApi
     2  
     3  All URIs are relative to *https://trusthub.twilio.com*
     4  
     5  Method | HTTP request | Description
     6  ------------- | ------------- | -------------
     7  [**CreateComplianceInquiry**](ComplianceInquiriesCustomersInitializeApi.md#CreateComplianceInquiry) | **Post** /v1/ComplianceInquiries/Customers/Initialize | 
     8  [**UpdateComplianceInquiry**](ComplianceInquiriesCustomersInitializeApi.md#UpdateComplianceInquiry) | **Post** /v1/ComplianceInquiries/Customers/{CustomerId}/Initialize | 
     9  
    10  
    11  
    12  ## CreateComplianceInquiry
    13  
    14  > TrusthubV1ComplianceInquiry CreateComplianceInquiry(ctx, optional)
    15  
    16  
    17  
    18  Create a new Compliance Inquiry for the authenticated account. This is necessary to start a new embedded session.
    19  
    20  ### Path Parameters
    21  
    22  This endpoint does not need any path parameter.
    23  
    24  ### Other Parameters
    25  
    26  Other parameters are passed through a pointer to a CreateComplianceInquiryParams struct
    27  
    28  
    29  Name | Type | Description
    30  ------------- | ------------- | -------------
    31  **PrimaryProfileSid** | **string** | The unique SID identifier of the Primary Customer Profile that should be used as a parent. Only necessary when creating a secondary Customer Profile.
    32  **NotificationEmail** | **string** | The email address that approval status updates will be sent to. If not specified, the email address associated with your primary customer profile will be used.
    33  
    34  ### Return type
    35  
    36  [**TrusthubV1ComplianceInquiry**](TrusthubV1ComplianceInquiry.md)
    37  
    38  ### Authorization
    39  
    40  [accountSid_authToken](../README.md#accountSid_authToken)
    41  
    42  ### HTTP request headers
    43  
    44  - **Content-Type**: application/x-www-form-urlencoded
    45  - **Accept**: application/json
    46  
    47  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
    48  [[Back to Model list]](../README.md#documentation-for-models)
    49  [[Back to README]](../README.md)
    50  
    51  
    52  ## UpdateComplianceInquiry
    53  
    54  > TrusthubV1ComplianceInquiry UpdateComplianceInquiry(ctx, CustomerIdoptional)
    55  
    56  
    57  
    58  Resume a specific Compliance Inquiry that has expired, or re-open a rejected Compliance Inquiry for editing.
    59  
    60  ### Path Parameters
    61  
    62  
    63  Name | Type | Description
    64  ------------- | ------------- | -------------
    65  **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
    66  **CustomerId** | **string** | 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.
    67  
    68  ### Other Parameters
    69  
    70  Other parameters are passed through a pointer to a UpdateComplianceInquiryParams struct
    71  
    72  
    73  Name | Type | Description
    74  ------------- | ------------- | -------------
    75  **PrimaryProfileSid** | **string** | The unique SID identifier of the Primary Customer Profile that should be used as a parent. Only necessary when creating a secondary Customer Profile.
    76  
    77  ### Return type
    78  
    79  [**TrusthubV1ComplianceInquiry**](TrusthubV1ComplianceInquiry.md)
    80  
    81  ### Authorization
    82  
    83  [accountSid_authToken](../README.md#accountSid_authToken)
    84  
    85  ### HTTP request headers
    86  
    87  - **Content-Type**: application/x-www-form-urlencoded
    88  - **Accept**: application/json
    89  
    90  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
    91  [[Back to Model list]](../README.md#documentation-for-models)
    92  [[Back to README]](../README.md)
    93