github.com/twilio/twilio-go@v1.20.1/rest/api/v2010/docs/AccountsQueuesMembersApi.md (about) 1 # AccountsQueuesMembersApi 2 3 All URIs are relative to *https://api.twilio.com* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**FetchMember**](AccountsQueuesMembersApi.md#FetchMember) | **Get** /2010-04-01/Accounts/{AccountSid}/Queues/{QueueSid}/Members/{CallSid}.json | 8 [**ListMember**](AccountsQueuesMembersApi.md#ListMember) | **Get** /2010-04-01/Accounts/{AccountSid}/Queues/{QueueSid}/Members.json | 9 [**UpdateMember**](AccountsQueuesMembersApi.md#UpdateMember) | **Post** /2010-04-01/Accounts/{AccountSid}/Queues/{QueueSid}/Members/{CallSid}.json | 10 11 12 13 ## FetchMember 14 15 > ApiV2010Member FetchMember(ctx, QueueSidCallSidoptional) 16 17 18 19 Fetch a specific member from the queue 20 21 ### Path Parameters 22 23 24 Name | Type | Description 25 ------------- | ------------- | ------------- 26 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 27 **QueueSid** | **string** | The SID of the Queue in which to find the members to fetch. 28 **CallSid** | **string** | The [Call](https://www.twilio.com/docs/voice/api/call-resource) SID of the resource(s) to fetch. 29 30 ### Other Parameters 31 32 Other parameters are passed through a pointer to a FetchMemberParams struct 33 34 35 Name | Type | Description 36 ------------- | ------------- | ------------- 37 **PathAccountSid** | **string** | The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Member resource(s) to fetch. 38 39 ### Return type 40 41 [**ApiV2010Member**](ApiV2010Member.md) 42 43 ### Authorization 44 45 [accountSid_authToken](../README.md#accountSid_authToken) 46 47 ### HTTP request headers 48 49 - **Content-Type**: Not defined 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 ## ListMember 58 59 > []ApiV2010Member ListMember(ctx, QueueSidoptional) 60 61 62 63 Retrieve the members of the queue 64 65 ### Path Parameters 66 67 68 Name | Type | Description 69 ------------- | ------------- | ------------- 70 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 71 **QueueSid** | **string** | The SID of the Queue in which to find the members 72 73 ### Other Parameters 74 75 Other parameters are passed through a pointer to a ListMemberParams struct 76 77 78 Name | Type | Description 79 ------------- | ------------- | ------------- 80 **PathAccountSid** | **string** | The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Member resource(s) to read. 81 **PageSize** | **int** | How many resources to return in each list page. The default is 50, and the maximum is 1000. 82 **Limit** | **int** | Max number of records to return. 83 84 ### Return type 85 86 [**[]ApiV2010Member**](ApiV2010Member.md) 87 88 ### Authorization 89 90 [accountSid_authToken](../README.md#accountSid_authToken) 91 92 ### HTTP request headers 93 94 - **Content-Type**: Not defined 95 - **Accept**: application/json 96 97 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 98 [[Back to Model list]](../README.md#documentation-for-models) 99 [[Back to README]](../README.md) 100 101 102 ## UpdateMember 103 104 > ApiV2010Member UpdateMember(ctx, QueueSidCallSidoptional) 105 106 107 108 Dequeue a member from a queue and have the member's call begin executing the TwiML document at that URL 109 110 ### Path Parameters 111 112 113 Name | Type | Description 114 ------------- | ------------- | ------------- 115 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 116 **QueueSid** | **string** | The SID of the Queue in which to find the members to update. 117 **CallSid** | **string** | The [Call](https://www.twilio.com/docs/voice/api/call-resource) SID of the resource(s) to update. 118 119 ### Other Parameters 120 121 Other parameters are passed through a pointer to a UpdateMemberParams struct 122 123 124 Name | Type | Description 125 ------------- | ------------- | ------------- 126 **PathAccountSid** | **string** | The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Member resource(s) to update. 127 **Url** | **string** | The absolute URL of the Queue resource. 128 **Method** | **string** | How to pass the update request data. Can be `GET` or `POST` and the default is `POST`. `POST` sends the data as encoded form data and `GET` sends the data as query parameters. 129 130 ### Return type 131 132 [**ApiV2010Member**](ApiV2010Member.md) 133 134 ### Authorization 135 136 [accountSid_authToken](../README.md#accountSid_authToken) 137 138 ### HTTP request headers 139 140 - **Content-Type**: application/x-www-form-urlencoded 141 - **Accept**: application/json 142 143 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 144 [[Back to Model list]](../README.md#documentation-for-models) 145 [[Back to README]](../README.md) 146