Approve a completed plan and start implementation.
cURL
curl --request POST \ --url https://twill.ai/api/v1/tasks/{taskIdOrSlug}/approve-plan \ --header 'Authorization: Bearer <token>'
{ "success": true, "job": { "id": "<string>", "status": "PENDING" } }
mode: "plan"
planOutcome: "READY"
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Plan approved
Show child attributes
Was this page helpful?