メニュー

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?

Task Actions

TaskActions give the set of actions that power an Autopilot Task.

For information about Autopilot's available actions and expected formatting, please see Building Tasks with Autopilot Actions.

All Autopilot REST API resources use the following base URL:

https://autopilot.twilio.com/v1/

TaskActions properties

Names in PHP format
accountSid
sid<AC> Not PII

The unique ID of the Account that created this Field.

assistantSid
sid<UA> Not PII

The unique ID of the parent Assistant.

taskSid
sid<UD> Not PII

The unique ID of the Task.

url
url Not PII

data
オブジェクト Not PII

The JSON actions that instruct the Assistant how to perform this task.

Fetch a TaskActions resource

GET
https://autopilot.twilio.com/v1/Assistants/{AssistantSid}/Tasks/{TaskSid}/Actions
パラメーター
Names in None format
assistant_sid
必須
GET sid_like<UA> Not PII

The unique ID of the parent Assistant.

task_sid
必須
GET sid_like<UD> Not PII

The unique ID of the Task.

        
        
        
        

        Update a TaskActions resource

        post
        https://autopilot.twilio.com/v1/Assistants/{AssistantSid}/Tasks/{TaskSid}/Actions
        パラメーター
        Names in None format
        assistant_sid
        必須
        post sid_like<UA> Not PII

        The unique ID of the parent Assistant.

        task_sid
        必須
        post sid_like<UD> Not PII

        The unique ID of the Task.

        actions
        オプション
        post オブジェクト Not PII

        The JSON actions that instruct the Assistant how to perform this task.

        例 1
              
              
              
              
              例 2
                    
                    
                    
                    
                    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.