Create field value
TODO: Resource-level docs
Path parameters
-
The SID of the Assistant that is the parent of the FieldType associated with the new resource.
-
The SID of the Field Type associated with the Field Value.
Body
-
The ISO language-country tag that specifies the language of the value. Currently supported tags:
en-US
-
SynonymOf string
The string value that indicates which word the field value is a synonym of.
-
The Field Value data.
POST /v1/Assistants/{AssistantSid}/FieldTypes/{FieldTypeSid}/FieldValues
curl \
-X POST https://autopilot.twilio.com/v1/Assistants/{AssistantSid}/FieldTypes/{FieldTypeSid}/FieldValues \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'Language=string&SynonymOf=string&Value=string'
Request example
{
"Language": "string",
"SynonymOf": "string",
"Value": "string"
}
Request examples
{
"Language": "string",
"SynonymOf": "string",
"Value": "string"
}
Response examples (201)
{
"account_sid": "string",
"assistant_sid": "string",
"date_created": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"field_type_sid": "string",
"language": "string",
"sid": "string",
"synonym_of": "string",
"url": "https://example.com",
"value": "string"
}
Response examples (201)
{
"value": "string",
"account_sid": "string",
"assistant_sid": "string",
"date_created": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"field_type_sid": "string",
"language": "string",
"sid": "string",
"synonym_of": "string",
"url": "https://example.com"
}