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
Copy file name to clipboardexpand all lines: CHANGES.md
+45
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,50 @@
1
1
twilio-go changelog
2
2
====================
3
+
[2025-03-11] Version 1.24.0
4
+
---------------------------
5
+
**Api**
6
+
- Add the missing `emergency_enabled` field for `Address Service` endpoints
7
+
8
+
**Messaging**
9
+
- Add missing enums for A2P and TF
10
+
11
+
**Numbers**
12
+
- add missing enum values to hosted_number_order_status
13
+
14
+
**Twiml**
15
+
- Convert Twiml Attribute `speechModel` of type enum to string **(breaking change)**
16
+
17
+
**DataType Changes**
18
+
- Some attributes in multiple APIs has changed from Dictionary to Object **(breaking change)**. Please refer to the [API documentation](https://github.com/twilio/twilio-oai]) for more details.
19
+
20
+
21
+
[2025-02-20] Version 1.23.13
22
+
----------------------------
23
+
**Flex**
24
+
- Adding Digital Transfers APIs under v1/Interactions
25
+
26
+
**Numbers**
27
+
- Convert webhook_type to ienum type in v1/Porting/Configuration/Webhook/{webhook_type}
28
+
29
+
**Trusthub**
30
+
- Changing TrustHub SupportingDocument status enum from lowercase to uppercase since kyc-orch returns status capitalized and rest proxy requires strict casing
31
+
32
+
33
+
[2025-02-11] Version 1.23.12
34
+
----------------------------
35
+
**Api**
36
+
- Change downstream url and change media type for file `base/api/v2010/validation_request.json`.
37
+
38
+
**Intelligence**
39
+
- Add json_results for Generative JSON operator results
40
+
41
+
**Messaging**
42
+
- Add DestinationAlphaSender API to support Country-Specific Alpha Senders
43
+
44
+
**Video**
45
+
- Change codec type from enum to case-insensitive enum in recording and room_recording apis
*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/consents_bulk.go
+2-2
Original file line number
Diff line number
Diff line change
@@ -22,10 +22,10 @@ import (
22
22
// Optional parameters for the method 'CreateBulkConsents'
23
23
typeCreateBulkConsentsParamsstruct {
24
24
// 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
+2-2
Original file line number
Diff line number
Diff line change
@@ -22,10 +22,10 @@ import (
22
22
// Optional parameters for the method 'CreateBulkContacts'
23
23
typeCreateBulkContactsParamsstruct {
24
24
// 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.
0 commit comments