Path parameters
-
The SID of the Assistant that is the parent of the resource to update.
-
The Twilio-provided string that uniquely identifies the Query resource to update.
POST /v1/Assistants/{AssistantSid}/Queries/{Sid}
curl \
-X POST https://autopilot.twilio.com/v1/Assistants/{AssistantSid}/Queries/{Sid} \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'SampleSid=string&Status=string'
Request example
{
"SampleSid": "string",
"Status": "string"
}
Request examples
{
"SampleSid": "string",
"Status": "string"
}
Response examples (200)
{
"account_sid": "string",
"assistant_sid": "string",
"date_created": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"dialogue_sid": "string",
"language": "string",
"model_build_sid": "string",
"query": "string",
"sample_sid": "string",
"sid": "string",
"source_channel": "string",
"status": "string",
"url": "https://example.com"
}
Response examples (200)
{
"account_sid": "string",
"assistant_sid": "string",
"date_created": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"dialogue_sid": "string",
"language": "string",
"model_build_sid": "string",
"query": "string",
"sample_sid": "string",
"sid": "string",
"source_channel": "string",
"status": "string",
"url": "https://example.com"
}