Response payload for a list of Twilio integration accounts.
Expand All
フィールド
タイプ
説明
data [required]
[object]
List of Twilio integration accounts.
attributes [required]
object
Attributes of a Twilio integration account returned in responses.
authentication
<oneOf>
Authentication configured on the Twilio integration account.
<auth_type=basic>
object
The basic authentication method and username configured on the account.
auth_type [required]
enum
The authentication method type.
Allowed enum values: basic
default: basic
username [required]
string
Non-secret username or public identifier for the credential pair.
dataflows
object
Data Datadog collects from Twilio, keyed by dataflow id.
twilio-alerts-logs
object
Twilio Alert resource logs, which detail the errors and warnings raised when Twilio makes a webhook request to your server or when your application calls the Twilio REST API.
enabled
boolean
Whether Datadog collects this data.
status
object
Read-only collection status of a dataflow.
health
enum
Collection health of a single dataflow.
Allowed enum values: DATAFLOW_HEALTH_OK,DATAFLOW_HEALTH_BROKEN,DATAFLOW_HEALTH_UNKNOWN
message
string
Human-readable detail, populated when the dataflow is not healthy.
updated_at
date-time
Time the status was last computed.
twilio-call-summaries-logs
object
Twilio Call Summary resource logs, covering the metadata and performance of the calls made from your Twilio account. Requires Voice Insights Advanced Features to be enabled on the Twilio account; without it this dataflow collects no data.
enabled
boolean
Whether Datadog collects this data.
status
object
Read-only collection status of a dataflow.
health
enum
Collection health of a single dataflow.
Allowed enum values: DATAFLOW_HEALTH_OK,DATAFLOW_HEALTH_BROKEN,DATAFLOW_HEALTH_UNKNOWN
message
string
Human-readable detail, populated when the dataflow is not healthy.
updated_at
date-time
Time the status was last computed.
twilio-cloud-cost-metrics
object
Your Twilio cost data, so that Twilio spend can be broken down and attributed in Cloud Cost Management.
enabled
boolean
Whether Datadog collects this data.
status
object
Read-only collection status of a dataflow.
health
enum
Collection health of a single dataflow.
Allowed enum values: DATAFLOW_HEALTH_OK,DATAFLOW_HEALTH_BROKEN,DATAFLOW_HEALTH_UNKNOWN
message
string
Human-readable detail, populated when the dataflow is not healthy.
updated_at
date-time
Time the status was last computed.
twilio-events-logs
object
Twilio Event resource logs, which record virtually every action taken in your Twilio account, such as provisioning a phone number, changing account security settings, or deleting a recording. Actions are recorded whether they came from the REST API, a user in the Twilio Console, or Twilio itself. Cloud SIEM analyzes and correlates these logs to detect threats in real time.
enabled
boolean
Whether Datadog collects this data.
status
object
Read-only collection status of a dataflow.
health
enum
Collection health of a single dataflow.
Allowed enum values: DATAFLOW_HEALTH_OK,DATAFLOW_HEALTH_BROKEN,DATAFLOW_HEALTH_UNKNOWN
message
string
Human-readable detail, populated when the dataflow is not healthy.
updated_at
date-time
Time the status was last computed.
twilio-messages-logs
object
Twilio Message resource logs for inbound and outbound messages, used to track delivery and troubleshoot message errors. A log is produced when you send a message through the REST API, when Twilio executes a TwiML instruction, and when someone messages one of your Twilio numbers or channel addresses. Message bodies are never collected.
enabled
boolean
Whether Datadog collects this data.
status
object
Read-only collection status of a dataflow.
health
enum
Collection health of a single dataflow.
Allowed enum values: DATAFLOW_HEALTH_OK,DATAFLOW_HEALTH_BROKEN,DATAFLOW_HEALTH_UNKNOWN
message
string
Human-readable detail, populated when the dataflow is not healthy.
updated_at
date-time
Time the status was last computed.
name [required]
string
Human-readable name of the Twilio integration account.
settings [required]
object
Settings configured on the Twilio integration account.
account_sid [required]
string
Twilio Account SID that uniquely identifies your Twilio account.
censor_logs
boolean
When enabled, Twilio phone numbers in the to field and SMS message bodies are censored for privacy.
id [required]
string
Server-generated unique identifier of the Twilio integration account.
type [required]
enum
The type of the integration account resource. Always integration-account.
Allowed enum values: integration-account
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comuk1.datadoghq.comddog-gov.comus2.ddog-gov.com"DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"python3"example.py"
# List Twilio integration accounts returns "OK" responserequire"datadog_api_client"DatadogAPIClient.configuredo|config|config.access_token=ENV["DD_BEARER_TOKEN"]config.unstable_operations["v2.list_twilio_integration_accounts".to_sym]=trueendapi_instance=DatadogAPIClient::V2::TwilioIntegrationAPI.newpapi_instance.list_twilio_integration_accounts()
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comuk1.datadoghq.comddog-gov.comus2.ddog-gov.com"DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"rb"example.rb"
// List Twilio integration accounts returns "OK" responsepackagemainimport("context""encoding/json""fmt""os""github.com/DataDog/datadog-api-client-go/v2/api/datadog""github.com/DataDog/datadog-api-client-go/v2/api/datadogV2")funcmain(){ctx:=datadog.NewDefaultContext(context.Background())ctx=context.WithValue(ctx,datadog.ContextAccessToken,os.Getenv("DD_BEARER_TOKEN"))configuration:=datadog.NewConfiguration()configuration.SetUnstableOperationEnabled("v2.ListTwilioIntegrationAccounts",true)apiClient:=datadog.NewAPIClient(configuration)api:=datadogV2.NewTwilioIntegrationApi(apiClient)resp,r,err:=api.ListTwilioIntegrationAccounts(ctx)iferr!=nil{fmt.Fprintf(os.Stderr,"Error when calling `TwilioIntegrationApi.ListTwilioIntegrationAccounts`: %v\n",err)fmt.Fprintf(os.Stderr,"Full HTTP response: %v\n",r)}responseContent,_:=json.MarshalIndent(resp,""," ")fmt.Fprintf(os.Stdout,"Response from `TwilioIntegrationApi.ListTwilioIntegrationAccounts`:\n%s\n",responseContent)}
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comuk1.datadoghq.comddog-gov.comus2.ddog-gov.com"DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"go run"main.go"
// List Twilio integration accounts returns "OK" responseimportcom.datadog.api.client.ApiClient;importcom.datadog.api.client.ApiException;importcom.datadog.api.client.v2.api.TwilioIntegrationApi;importcom.datadog.api.client.v2.model.TwilioIntegrationAccountsResponse;publicclassExample{publicstaticvoidmain(String[]args){ApiClientdefaultClient=ApiClient.getDefaultApiClient();defaultClient.setAccessToken(System.getenv("DD_BEARER_TOKEN"));defaultClient.setUnstableOperationEnabled("v2.listTwilioIntegrationAccounts",true);TwilioIntegrationApiapiInstance=newTwilioIntegrationApi(defaultClient);try{TwilioIntegrationAccountsResponseresult=apiInstance.listTwilioIntegrationAccounts();System.out.println(result);}catch(ApiExceptione){System.err.println("Exception when calling TwilioIntegrationApi#listTwilioIntegrationAccounts");System.err.println("Status code: "+e.getCode());System.err.println("Reason: "+e.getResponseBody());System.err.println("Response headers: "+e.getResponseHeaders());e.printStackTrace();}}}
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comuk1.datadoghq.comddog-gov.comus2.ddog-gov.com"DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"java"Example.java"
// List Twilio integration accounts returns "OK" response
usedatadog_api_client::datadog;usedatadog_api_client::datadogV2::api_twilio_integration::TwilioIntegrationAPI;#[tokio::main]asyncfnmain(){letmutconfiguration=datadog::Configuration::new();configuration.set_unstable_operation_enabled("v2.ListTwilioIntegrationAccounts",true);letapi=TwilioIntegrationAPI::with_config(configuration);letresp=api.list_twilio_integration_accounts().await;ifletOk(value)=resp{println!("{:#?}",value);}else{println!("{:#?}",resp.unwrap_err());}}
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comuk1.datadoghq.comddog-gov.comus2.ddog-gov.com"DD_API_KEY="<API-KEY>"DD_APP_KEY="<APP-KEY>"cargo run
/**
* List Twilio integration accounts returns "OK" response
*/import{client,v2}from"@datadog/datadog-api-client";constconfiguration=client.createConfiguration({authMethods:{AuthZ:{accessToken: process.env.DD_BEARER_TOKENasstring,},},});configuration.unstableOperations["v2.listTwilioIntegrationAccounts"]=true;constapiInstance=newv2.TwilioIntegrationApi(configuration);apiInstance.listTwilioIntegrationAccounts().then((data: v2.TwilioIntegrationAccountsResponse)=>{console.log("API called successfully. Returned data: "+JSON.stringify(data));}).catch((error: any)=>console.error(error));
DD_SITE="datadoghq.comus3.datadoghq.comus5.datadoghq.comdatadoghq.euap1.datadoghq.comap2.datadoghq.comuk1.datadoghq.comddog-gov.comus2.ddog-gov.com"DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"tsc"example.ts"
パーソナライズされたデモをリクエスト
Datadog を始める
Ask AI
AI-generated responses may be inaccurate. Verify important info.