You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*AuthTokensPromoteApi* | [**UpdateAuthTokenPromotion**](docs/AuthTokensPromoteApi.md#updateauthtokenpromotion) | **Post** /v1/AuthTokens/Promote | Promote the secondary Auth Token to primary. After promoting the new token, all requests to Twilio using your old primary Auth Token will result in an error.
35
+
*AuthTokensSecondaryApi* | [**CreateSecondaryAuthToken**](docs/AuthTokensSecondaryApi.md#createsecondaryauthtoken) | **Post** /v1/AuthTokens/Secondary | Create a new secondary Auth Token
36
+
*AuthTokensSecondaryApi* | [**DeleteSecondaryAuthToken**](docs/AuthTokensSecondaryApi.md#deletesecondaryauthtoken) | **Delete** /v1/AuthTokens/Secondary | Delete the secondary Auth Token from your account
*CredentialsAWSApi* | [**CreateCredentialAws**](docs/CredentialsAWSApi.md#createcredentialaws) | **Post** /v1/Credentials/AWS | Create a new AWS Credential
40
+
*CredentialsAWSApi* | [**DeleteCredentialAws**](docs/CredentialsAWSApi.md#deletecredentialaws) | **Delete** /v1/Credentials/AWS/{Sid} | Delete a Credential from your account
41
+
*CredentialsAWSApi* | [**FetchCredentialAws**](docs/CredentialsAWSApi.md#fetchcredentialaws) | **Get** /v1/Credentials/AWS/{Sid} | Fetch the AWS credentials specified by the provided Credential Sid
42
+
*CredentialsAWSApi* | [**ListCredentialAws**](docs/CredentialsAWSApi.md#listcredentialaws) | **Get** /v1/Credentials/AWS | Retrieves a collection of AWS Credentials belonging to the account used to make the request
43
+
*CredentialsAWSApi* | [**UpdateCredentialAws**](docs/CredentialsAWSApi.md#updatecredentialaws) | **Post** /v1/Credentials/AWS/{Sid} | Modify the properties of a given Account
44
+
*CredentialsPublicKeysApi* | [**CreateCredentialPublicKey**](docs/CredentialsPublicKeysApi.md#createcredentialpublickey) | **Post** /v1/Credentials/PublicKeys | Create a new Public Key Credential
45
+
*CredentialsPublicKeysApi* | [**DeleteCredentialPublicKey**](docs/CredentialsPublicKeysApi.md#deletecredentialpublickey) | **Delete** /v1/Credentials/PublicKeys/{Sid} | Delete a Credential from your account
46
+
*CredentialsPublicKeysApi* | [**FetchCredentialPublicKey**](docs/CredentialsPublicKeysApi.md#fetchcredentialpublickey) | **Get** /v1/Credentials/PublicKeys/{Sid} | Fetch the public key specified by the provided Credential Sid
47
+
*CredentialsPublicKeysApi* | [**ListCredentialPublicKey**](docs/CredentialsPublicKeysApi.md#listcredentialpublickey) | **Get** /v1/Credentials/PublicKeys | Retrieves a collection of Public Key Credentials belonging to the account used to make the request
48
+
*CredentialsPublicKeysApi* | [**UpdateCredentialPublicKey**](docs/CredentialsPublicKeysApi.md#updatecredentialpublickey) | **Post** /v1/Credentials/PublicKeys/{Sid} | Modify the properties of a given Account
49
+
*SafeListNumbersApi* | [**CreateSafelist**](docs/SafeListNumbersApi.md#createsafelist) | **Post** /v1/SafeList/Numbers | Add a new phone number to SafeList.
50
+
*SafeListNumbersApi* | [**DeleteSafelist**](docs/SafeListNumbersApi.md#deletesafelist) | **Delete** /v1/SafeList/Numbers | Remove a phone number from SafeList.
51
+
*SafeListNumbersApi* | [**FetchSafelist**](docs/SafeListNumbersApi.md#fetchsafelist) | **Get** /v1/SafeList/Numbers | Check if a phone number exists in SafeList.
Copy file name to clipboardexpand all lines: rest/accounts/v1/auth_tokens_promote.go
+3
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,10 @@ package openapi
16
16
17
17
import (
18
18
"encoding/json"
19
+
"fmt"
19
20
"net/url"
21
+
22
+
"github.com/twilio/twilio-go/client"
20
23
)
21
24
22
25
// Promote the secondary Auth Token to primary. After promoting the new token, all requests to Twilio using your old primary Auth Token will result in an error.
Copy file name to clipboardexpand all lines: rest/accounts/v1/consents_bulk.go
+5-2
Original file line number
Diff line number
Diff line change
@@ -16,16 +16,19 @@ package openapi
16
16
17
17
import (
18
18
"encoding/json"
19
+
"fmt"
19
20
"net/url"
21
+
22
+
"github.com/twilio/twilio-go/client"
20
23
)
21
24
22
25
// Optional parameters for the method 'CreateBulkConsents'
23
26
typeCreateBulkConsentsParamsstruct {
24
27
// This is a list of objects that describes a contact's opt-in status. Each object contains the following fields: `contact_id`, which must be a string representing phone number in [E.164 format](https://www.twilio.com/docs/glossary/what-e164); `correlation_id`, a unique 32-character UUID used to uniquely map the request item with the response item; `sender_id`, which can be either a valid messaging service SID or a from phone number; `status`, a string representing the consent status. Can be one of [`opt-in`, `opt-out`]; and `source`, a string indicating the medium through which the consent was collected. Can be one of [`website`, `offline`, `opt-in-message`, `opt-out-message`, `others`].
Copy file name to clipboardexpand all lines: rest/accounts/v1/contacts_bulk.go
+5-2
Original file line number
Diff line number
Diff line change
@@ -16,16 +16,19 @@ package openapi
16
16
17
17
import (
18
18
"encoding/json"
19
+
"fmt"
19
20
"net/url"
21
+
22
+
"github.com/twilio/twilio-go/client"
20
23
)
21
24
22
25
// Optional parameters for the method 'CreateBulkContacts'
23
26
typeCreateBulkContactsParamsstruct {
24
27
// A list of objects where each object represents a contact's details. Each object includes the following fields: `contact_id`, which must be a string representing phone number in [E.164 format](https://www.twilio.com/docs/glossary/what-e164); `correlation_id`, a unique 32-character UUID that maps the response to the original request; `country_iso_code`, a string representing the country using the ISO format (e.g., US for the United States); and `zip_code`, a string representing the postal code.
**Items** | Pointer to **interface{}** | A list of objects where each object represents the result of processing a `correlation_id`. Each object contains the following fields: `correlation_id`, a unique 32-character UUID that maps the response to the original request; `error_code`, an integer where 0 indicates success and any non-zero value represents an error; and `error_messages`, an array of strings describing specific validation errors encountered. If the request is successful, the error_messages array will be empty. |
7
+
**Items** | Pointer to **map[string]interface{}** | A list of objects where each object represents the result of processing a `correlation_id`. Each object contains the following fields: `correlation_id`, a unique 32-character UUID that maps the response to the original request; `error_code`, an integer where 0 indicates success and any non-zero value represents an error; and `error_messages`, an array of strings describing specific validation errors encountered. If the request is successful, the error_messages array will be empty. |
8
8
9
9
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**Items** | Pointer to **interface{}** | A list of objects where each object represents the result of processing a `correlation_id`. Each object contains the following fields: `correlation_id`, a unique 32-character UUID that maps the response to the original request; `error_code`, an integer where 0 indicates success and any non-zero value represents an error; and `error_messages`, an array of strings describing specific validation errors encountered. If the request is successful, the error_messages array will be empty. |
7
+
**Items** | Pointer to **map[string]interface{}** | A list of objects where each object represents the result of processing a `correlation_id`. Each object contains the following fields: `correlation_id`, a unique 32-character UUID that maps the response to the original request; `error_code`, an integer where 0 indicates success and any non-zero value represents an error; and `error_messages`, an array of strings describing specific validation errors encountered. If the request is successful, the error_messages array will be empty. |
8
8
9
9
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
[**UpdateAuthTokenPromotion**](AuthTokensPromoteApi.md#UpdateAuthTokenPromotion) | **Post** /v1/AuthTokens/Promote | Promote the secondary Auth Token to primary. After promoting the new token, all requests to Twilio using your old primary Auth Token will result in an error.
Promote the secondary Auth Token to primary. After promoting the new token, all requests to Twilio using your old primary Auth Token will result in an error.
16
16
17
17
Promote the secondary Auth Token to primary. After promoting the new token, all requests to Twilio using your old primary Auth Token will result in an error.
[**CreateSecondaryAuthToken**](AuthTokensSecondaryApi.md#CreateSecondaryAuthToken) | **Post** /v1/AuthTokens/Secondary | Create a new secondary Auth Token
8
+
[**DeleteSecondaryAuthToken**](AuthTokensSecondaryApi.md#DeleteSecondaryAuthToken) | **Delete** /v1/AuthTokens/Secondary | Delete the secondary Auth Token from your account
Copy file name to clipboardexpand all lines: rest/accounts/v1/docs/ConsentsBulkApi.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ Other parameters are passed through a pointer to a CreateBulkConsentsParams stru
27
27
28
28
Name | Type | Description
29
29
------------- | ------------- | -------------
30
-
**Items** | **[]interface{}** | This is a list of objects that describes a contact's opt-in status. Each object contains the following fields: `contact_id`, which must be a string representing phone number in [E.164 format](https://www.twilio.com/docs/glossary/what-e164); `correlation_id`, a unique 32-character UUID used to uniquely map the request item with the response item; `sender_id`, which can be either a valid messaging service SID or a from phone number; `status`, a string representing the consent status. Can be one of [`opt-in`, `opt-out`]; and `source`, a string indicating the medium through which the consent was collected. Can be one of [`website`, `offline`, `opt-in-message`, `opt-out-message`, `others`].
30
+
**Items** | **[]map[string]interface{}** | This is a list of objects that describes a contact's opt-in status. Each object contains the following fields: `contact_id`, which must be a string representing phone number in [E.164 format](https://www.twilio.com/docs/glossary/what-e164); `correlation_id`, a unique 32-character UUID used to uniquely map the request item with the response item; `sender_id`, which can be either a valid messaging service SID or a from phone number; `status`, a string representing the consent status. Can be one of [`opt-in`, `opt-out`]; and `source`, a string indicating the medium through which the consent was collected. Can be one of [`website`, `offline`, `opt-in-message`, `opt-out-message`, `others`].
Copy file name to clipboardexpand all lines: rest/accounts/v1/docs/ContactsBulkApi.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ Other parameters are passed through a pointer to a CreateBulkContactsParams stru
27
27
28
28
Name | Type | Description
29
29
------------- | ------------- | -------------
30
-
**Items** | **[]interface{}** | A list of objects where each object represents a contact's details. Each object includes the following fields: `contact_id`, which must be a string representing phone number in [E.164 format](https://www.twilio.com/docs/glossary/what-e164); `correlation_id`, a unique 32-character UUID that maps the response to the original request; `country_iso_code`, a string representing the country using the ISO format (e.g., US for the United States); and `zip_code`, a string representing the postal code.
30
+
**Items** | **[]map[string]interface{}** | A list of objects where each object represents a contact's details. Each object includes the following fields: `contact_id`, which must be a string representing phone number in [E.164 format](https://www.twilio.com/docs/glossary/what-e164); `correlation_id`, a unique 32-character UUID that maps the response to the original request; `country_iso_code`, a string representing the country using the ISO format (e.g., US for the United States); and `zip_code`, a string representing the postal code.
[**CreateCredentialAws**](CredentialsAWSApi.md#CreateCredentialAws) | **Post** /v1/Credentials/AWS | Create a new AWS Credential
8
+
[**DeleteCredentialAws**](CredentialsAWSApi.md#DeleteCredentialAws) | **Delete** /v1/Credentials/AWS/{Sid} | Delete a Credential from your account
9
+
[**FetchCredentialAws**](CredentialsAWSApi.md#FetchCredentialAws) | **Get** /v1/Credentials/AWS/{Sid} | Fetch the AWS credentials specified by the provided Credential Sid
10
+
[**ListCredentialAws**](CredentialsAWSApi.md#ListCredentialAws) | **Get** /v1/Credentials/AWS | Retrieves a collection of AWS Credentials belonging to the account used to make the request
11
+
[**UpdateCredentialAws**](CredentialsAWSApi.md#UpdateCredentialAws) | **Post** /v1/Credentials/AWS/{Sid} | Modify the properties of a given Account
0 commit comments