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

     1  # InteractionsChannelsInvitesApi
     2  
     3  All URIs are relative to *https://flex-api.twilio.com*
     4  
     5  Method | HTTP request | Description
     6  ------------- | ------------- | -------------
     7  [**CreateInteractionChannelInvite**](InteractionsChannelsInvitesApi.md#CreateInteractionChannelInvite) | **Post** /v1/Interactions/{InteractionSid}/Channels/{ChannelSid}/Invites | 
     8  [**ListInteractionChannelInvite**](InteractionsChannelsInvitesApi.md#ListInteractionChannelInvite) | **Get** /v1/Interactions/{InteractionSid}/Channels/{ChannelSid}/Invites | 
     9  
    10  
    11  
    12  ## CreateInteractionChannelInvite
    13  
    14  > FlexV1InteractionChannelInvite CreateInteractionChannelInvite(ctx, InteractionSidChannelSidoptional)
    15  
    16  
    17  
    18  Invite an Agent or a TaskQueue to a Channel.
    19  
    20  ### Path Parameters
    21  
    22  
    23  Name | Type | Description
    24  ------------- | ------------- | -------------
    25  **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
    26  **InteractionSid** | **string** | The Interaction SID for this Channel.
    27  **ChannelSid** | **string** | The Channel SID for this Invite.
    28  
    29  ### Other Parameters
    30  
    31  Other parameters are passed through a pointer to a CreateInteractionChannelInviteParams struct
    32  
    33  
    34  Name | Type | Description
    35  ------------- | ------------- | -------------
    36  **Routing** | [**interface{}**](interface{}.md) | The Interaction's routing logic.
    37  
    38  ### Return type
    39  
    40  [**FlexV1InteractionChannelInvite**](FlexV1InteractionChannelInvite.md)
    41  
    42  ### Authorization
    43  
    44  [accountSid_authToken](../README.md#accountSid_authToken)
    45  
    46  ### HTTP request headers
    47  
    48  - **Content-Type**: application/x-www-form-urlencoded
    49  - **Accept**: application/json
    50  
    51  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
    52  [[Back to Model list]](../README.md#documentation-for-models)
    53  [[Back to README]](../README.md)
    54  
    55  
    56  ## ListInteractionChannelInvite
    57  
    58  > []FlexV1InteractionChannelInvite ListInteractionChannelInvite(ctx, InteractionSidChannelSidoptional)
    59  
    60  
    61  
    62  List all Invites for a Channel.
    63  
    64  ### Path Parameters
    65  
    66  
    67  Name | Type | Description
    68  ------------- | ------------- | -------------
    69  **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
    70  **InteractionSid** | **string** | The Interaction SID for this Channel.
    71  **ChannelSid** | **string** | The Channel SID for this Participant.
    72  
    73  ### Other Parameters
    74  
    75  Other parameters are passed through a pointer to a ListInteractionChannelInviteParams struct
    76  
    77  
    78  Name | Type | Description
    79  ------------- | ------------- | -------------
    80  **PageSize** | **int** | How many resources to return in each list page. The default is 50, and the maximum is 1000.
    81  **Limit** | **int** | Max number of records to return.
    82  
    83  ### Return type
    84  
    85  [**[]FlexV1InteractionChannelInvite**](FlexV1InteractionChannelInvite.md)
    86  
    87  ### Authorization
    88  
    89  [accountSid_authToken](../README.md#accountSid_authToken)
    90  
    91  ### HTTP request headers
    92  
    93  - **Content-Type**: Not defined
    94  - **Accept**: application/json
    95  
    96  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
    97  [[Back to Model list]](../README.md#documentation-for-models)
    98  [[Back to README]](../README.md)
    99