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

     1  # ServicesAlphaSendersApi
     2  
     3  All URIs are relative to *https://messaging.twilio.com*
     4  
     5  Method | HTTP request | Description
     6  ------------- | ------------- | -------------
     7  [**CreateAlphaSender**](ServicesAlphaSendersApi.md#CreateAlphaSender) | **Post** /v1/Services/{ServiceSid}/AlphaSenders | 
     8  [**DeleteAlphaSender**](ServicesAlphaSendersApi.md#DeleteAlphaSender) | **Delete** /v1/Services/{ServiceSid}/AlphaSenders/{Sid} | 
     9  [**FetchAlphaSender**](ServicesAlphaSendersApi.md#FetchAlphaSender) | **Get** /v1/Services/{ServiceSid}/AlphaSenders/{Sid} | 
    10  [**ListAlphaSender**](ServicesAlphaSendersApi.md#ListAlphaSender) | **Get** /v1/Services/{ServiceSid}/AlphaSenders | 
    11  
    12  
    13  
    14  ## CreateAlphaSender
    15  
    16  > MessagingV1AlphaSender CreateAlphaSender(ctx, ServiceSidoptional)
    17  
    18  
    19  
    20  
    21  
    22  ### Path Parameters
    23  
    24  
    25  Name | Type | Description
    26  ------------- | ------------- | -------------
    27  **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
    28  **ServiceSid** | **string** | The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to create the resource under.
    29  
    30  ### Other Parameters
    31  
    32  Other parameters are passed through a pointer to a CreateAlphaSenderParams struct
    33  
    34  
    35  Name | Type | Description
    36  ------------- | ------------- | -------------
    37  **AlphaSender** | **string** | The Alphanumeric Sender ID string. Can be up to 11 characters long. Valid characters are A-Z, a-z, 0-9, space, hyphen `-`, plus `+`, underscore `_` and ampersand `&`. This value cannot contain only numbers.
    38  
    39  ### Return type
    40  
    41  [**MessagingV1AlphaSender**](MessagingV1AlphaSender.md)
    42  
    43  ### Authorization
    44  
    45  [accountSid_authToken](../README.md#accountSid_authToken)
    46  
    47  ### HTTP request headers
    48  
    49  - **Content-Type**: application/x-www-form-urlencoded
    50  - **Accept**: application/json
    51  
    52  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
    53  [[Back to Model list]](../README.md#documentation-for-models)
    54  [[Back to README]](../README.md)
    55  
    56  
    57  ## DeleteAlphaSender
    58  
    59  > DeleteAlphaSender(ctx, ServiceSidSid)
    60  
    61  
    62  
    63  
    64  
    65  ### Path Parameters
    66  
    67  
    68  Name | Type | Description
    69  ------------- | ------------- | -------------
    70  **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
    71  **ServiceSid** | **string** | The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to delete the resource from.
    72  **Sid** | **string** | The SID of the AlphaSender resource to delete.
    73  
    74  ### Other Parameters
    75  
    76  Other parameters are passed through a pointer to a DeleteAlphaSenderParams struct
    77  
    78  
    79  Name | Type | Description
    80  ------------- | ------------- | -------------
    81  
    82  ### Return type
    83  
    84   (empty response body)
    85  
    86  ### Authorization
    87  
    88  [accountSid_authToken](../README.md#accountSid_authToken)
    89  
    90  ### HTTP request headers
    91  
    92  - **Content-Type**: Not defined
    93  - **Accept**: Not defined
    94  
    95  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
    96  [[Back to Model list]](../README.md#documentation-for-models)
    97  [[Back to README]](../README.md)
    98  
    99  
   100  ## FetchAlphaSender
   101  
   102  > MessagingV1AlphaSender FetchAlphaSender(ctx, ServiceSidSid)
   103  
   104  
   105  
   106  
   107  
   108  ### Path Parameters
   109  
   110  
   111  Name | Type | Description
   112  ------------- | ------------- | -------------
   113  **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
   114  **ServiceSid** | **string** | The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to fetch the resource from.
   115  **Sid** | **string** | The SID of the AlphaSender resource to fetch.
   116  
   117  ### Other Parameters
   118  
   119  Other parameters are passed through a pointer to a FetchAlphaSenderParams struct
   120  
   121  
   122  Name | Type | Description
   123  ------------- | ------------- | -------------
   124  
   125  ### Return type
   126  
   127  [**MessagingV1AlphaSender**](MessagingV1AlphaSender.md)
   128  
   129  ### Authorization
   130  
   131  [accountSid_authToken](../README.md#accountSid_authToken)
   132  
   133  ### HTTP request headers
   134  
   135  - **Content-Type**: Not defined
   136  - **Accept**: application/json
   137  
   138  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
   139  [[Back to Model list]](../README.md#documentation-for-models)
   140  [[Back to README]](../README.md)
   141  
   142  
   143  ## ListAlphaSender
   144  
   145  > []MessagingV1AlphaSender ListAlphaSender(ctx, ServiceSidoptional)
   146  
   147  
   148  
   149  
   150  
   151  ### Path Parameters
   152  
   153  
   154  Name | Type | Description
   155  ------------- | ------------- | -------------
   156  **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
   157  **ServiceSid** | **string** | The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to read the resources from.
   158  
   159  ### Other Parameters
   160  
   161  Other parameters are passed through a pointer to a ListAlphaSenderParams struct
   162  
   163  
   164  Name | Type | Description
   165  ------------- | ------------- | -------------
   166  **PageSize** | **int** | How many resources to return in each list page. The default is 50, and the maximum is 1000.
   167  **Limit** | **int** | Max number of records to return.
   168  
   169  ### Return type
   170  
   171  [**[]MessagingV1AlphaSender**](MessagingV1AlphaSender.md)
   172  
   173  ### Authorization
   174  
   175  [accountSid_authToken](../README.md#accountSid_authToken)
   176  
   177  ### HTTP request headers
   178  
   179  - **Content-Type**: Not defined
   180  - **Accept**: application/json
   181  
   182  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
   183  [[Back to Model list]](../README.md#documentation-for-models)
   184  [[Back to README]](../README.md)
   185