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

     1  # InsightsSegmentsApi
     2  
     3  All URIs are relative to *https://flex-api.twilio.com*
     4  
     5  Method | HTTP request | Description
     6  ------------- | ------------- | -------------
     7  [**ListInsightsSegments**](InsightsSegmentsApi.md#ListInsightsSegments) | **Get** /v1/Insights/Segments | 
     8  
     9  
    10  
    11  ## ListInsightsSegments
    12  
    13  > []FlexV1InsightsSegments ListInsightsSegments(ctx, optional)
    14  
    15  
    16  
    17  To get segments for given reservation Ids
    18  
    19  ### Path Parameters
    20  
    21  This endpoint does not need any path parameter.
    22  
    23  ### Other Parameters
    24  
    25  Other parameters are passed through a pointer to a ListInsightsSegmentsParams struct
    26  
    27  
    28  Name | Type | Description
    29  ------------- | ------------- | -------------
    30  **Authorization** | **string** | The Authorization HTTP request header
    31  **SegmentId** | **string** | To unique id of the segment
    32  **ReservationId** | **[]string** | The list of reservation Ids
    33  **PageSize** | **int** | How many resources to return in each list page. The default is 50, and the maximum is 1000.
    34  **Limit** | **int** | Max number of records to return.
    35  
    36  ### Return type
    37  
    38  [**[]FlexV1InsightsSegments**](FlexV1InsightsSegments.md)
    39  
    40  ### Authorization
    41  
    42  [accountSid_authToken](../README.md#accountSid_authToken)
    43  
    44  ### HTTP request headers
    45  
    46  - **Content-Type**: Not defined
    47  - **Accept**: application/json
    48  
    49  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
    50  [[Back to Model list]](../README.md#documentation-for-models)
    51  [[Back to README]](../README.md)
    52