Authentication
Create a key in Settings → API Keys for the workspace you want to use. Keys start withtwill_ and are shown once. Store yours in TWILL_API_KEY:
Create a task
201 with task (including its id, slug, and url) and the first job. Use the returned task ID or slug with Get task or List task jobs to follow progress.
Responses and limits
- Base URL:
https://twill.ai/api/v1. - Rate limits: 100 requests per minute and 1,000 per hour per API key. A
429response includesRetry-After. - Errors: a JSON object with
error.code,error.message, and optionalerror.details. - Pagination: task and job lists accept
limitandcursor. Pass the returnednextCursorto fetch older entries.
Native plan approvals and interactive permission questions are handled in the
Twill task chat. There is no current public plan-approval endpoint. Sending a
follow-up message is not the same as answering a waiting native permission
request.