Twilio Integration
Update a Twilio integration account
Update a Twilio integration account. Only the fields provided are changed.
patch/api/v2/integration-interfaces/twilio/accounts/{account_id}
Request
- Base URLhttps://api.datadoghq.com
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code/oauth2/v1/authorizeToken URL/oauth2/v1/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
account_idstring required
Unique identifier of the integration account.
Request body
Example request
{
"data": {
"attributes": {
"authentication": {
"auth_type": "basic",
"password": "your-password",
"username": "datadog"
},
"dataflows": {
"twilio-alerts-logs": {
"enabled": true
},
"twilio-call-summaries-logs": {
"enabled": true
},
"twilio-cloud-cost-metrics": {
"enabled": true
},
"twilio-events-logs": {
"enabled": true
},
"twilio-messages-logs": {
"enabled": true
}
},
"name": "twilio-prod",
"settings": {
"account_sid": "ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"censor_logs": true
}
},
"id": "953a0060-81ec-4221-aed4-d4733b59cd96",
"type": "integration-account"
}
}Response
OK
Example response
{
"data": {
"attributes": {
"authentication": {
"auth_type": "basic",
"username": "datadog"
},
"dataflows": {
"twilio-alerts-logs": {
"enabled": true,
"status": {
"health": "DATAFLOW_HEALTH_OK",
"updated_at": "2026-06-25T08:30:50Z"
}
},
"twilio-call-summaries-logs": {
"enabled": true,
"status": {
"health": "DATAFLOW_HEALTH_OK",
"updated_at": "2026-06-25T08:30:50Z"
}
},
"twilio-cloud-cost-metrics": {
"enabled": true,
"status": {
"health": "DATAFLOW_HEALTH_OK",
"updated_at": "2026-06-25T08:30:50Z"
}
},
"twilio-events-logs": {
"enabled": true,
"status": {
"health": "DATAFLOW_HEALTH_OK",
"updated_at": "2026-06-25T08:30:50Z"
}
},
"twilio-messages-logs": {
"enabled": true,
"status": {
"health": "DATAFLOW_HEALTH_OK",
"updated_at": "2026-06-25T08:30:50Z"
}
}
},
"name": "twilio-prod",
"settings": {
"account_sid": "ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"censor_logs": true
}
},
"id": "953a0060-81ec-4221-aed4-d4733b59cd96",
"type": "integration-account"
}
}Changes
Changes to this operation have not been checked yet.