Body
-
Instructs the Speech Recognition service to automatically transcribe all recordings made on the account.
-
Data logging allows Twilio to improve the quality of the speech recognition & language understanding services through using customer data to refine, fine tune and evaluate machine learning models. Note: Data logging cannot be activated via API, only via www.twilio.com, as it requires additional consent.
-
A human readable description of this resource, up to 64 characters.
-
Provides a unique and addressable name to be assigned to this Service, assigned by the developer, to be optionally used in addition to SID.
-
Instructs the Speech Recognition service to automatically redact PII from all transcripts made on this service.
-
Instructs the Speech Recognition service to automatically redact PII from all transcripts media made on this service. The auto_redaction flag must be enabled, results in error otherwise.
-
The URL Twilio will request when executing the Webhook.
-
The HTTP method for the Webhook. One of
GET
orPOST
.Values are
GET
,POST
, orNULL
.
curl \
--request POST 'https://intelligence.twilio.com/v2/Services/{Sid}' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--header "If-Match: string" \
--data 'UniqueName=something&WebhookUrl=https%3A%2F%2Fwww.sendgrid.com&FriendlyName=some+friendly+name&WebhookHttpMethod=GET'
{"UniqueName"=>"something", "WebhookUrl"=>"https://www.sendgrid.com", "FriendlyName"=>"some friendly name", "WebhookHttpMethod"=>"GET"}
{
"sid": "GAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://intelligence.twilio.com/v2/Services/GAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"version": 2,
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"unique_name": "something",
"webhook_url": "https://www.sendgrid.com",
"data_logging": true,
"date_created": "2010-08-31T20:36:28Z",
"date_updated": "2010-08-31T20:36:28Z",
"friendly_name": "some friendly name",
"language_code": "en-US",
"auto_redaction": false,
"auto_transcribe": true,
"media_redaction": false,
"webhook_http_method": "GET",
"read_only_attached_operator_sids": [
"LYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
]
}