TODO: Resource-level docs
Body
-
The Field Type of the new field. Can be: a Built-in Field Type, the
unique_name, or thesidof a custom Field Type. -
An application-defined string that uniquely identifies the new resource. This value must be a unique string of no more than 64 characters. It can be used as an alternative to the
sidin the URL path to address the resource.
POST
/v1/Assistants/{AssistantSid}/Tasks/{TaskSid}/Fields
curl \
--request POST 'https://autopilot.twilio.com/v1/Assistants/{AssistantSid}/Tasks/{TaskSid}/Fields' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'FieldType=string&UniqueName=string'
Response examples (201)
{
"account_sid": "string",
"assistant_sid": "string",
"date_created": "2026-05-04T09:42:00Z",
"date_updated": "2026-05-04T09:42:00Z",
"field_type": "string",
"sid": "string",
"task_sid": "string",
"unique_name": "string",
"url": "https://example.com"
}