メニュー

Rate this page:

Thanks for rating this page!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

The Autopilot Request

Autopilot will always send the following parameters with its request whether it is a URL configured directly on a task, a Redirect to URL Action, or a HandOff to a voice URL action.

These will send as either POST parameters or URL query parameters, depending on which HTTP method you've configured.

パラメーター 概要
AccountSid あなたのTwilio Account ID。ACから始まる34文字の文字列です。
AssistantSid The Autopilot assistant ID. It is 34 characters long, and always starts with UA.
DialogueSid The session identifier. It is 34 characters long, and always starts with the letters UK.
UserIdentifier The unique user identifier coming from the channel. For Voice and SMS it will be the user's phone number.
CurrentInput The last thing the user said.
CurrentTask The user's current task.
Field_{field-name}_Value The key-value pair of the field value recognized. A different key-value pair will be sent for each field value.
Field_{field-name}_Type The key-value pair of the field type recognized. A different key-value pair will be sent for each field type.
DialoguePayloadUrl A URL to the Dialogue JSON payload that contains the context and data collected during the Autopilot session.
Memory

A JSON Payload that contains all the Autopilot memory values.


NOTE: Memory is only sent in POST requests to prevent query params from getting truncated.

Channel

The channel the interaction is taking place.

Rate this page:

ヘルプが必要ですか?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd browsing the Twilio tag on Stack Overflow.