Twilio Twilio Taskrouter V1
Twilio TaskRouter is a workflow and routing service for assigning tasks to the right workers, often in contact centers.
- Base URL:
https://taskrouter.twilio.com - Auth:
basic(pass your key via theapiKeyinput)
Operations
listworkspace— GET /v1/Workspacesfetchworkspace— GET /v1/Workspaces/{Sid}listactivity— GET /v1/Workspaces/{WorkspaceSid}/Activitiesfetchactivity— GET /v1/Workspaces/{WorkspaceSid}/Activities/{Sid}fetchworkspacecumulativestatistics— GET /v1/Workspaces/{WorkspaceSid}/CumulativeStatisticslistevent— GET /v1/Workspaces/{WorkspaceSid}/Events
Inputs
apiKey— your twilio-twilio-taskrouter-v1 API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: listworkspace
apiKey: <your key>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
apiKey |
string | yes | — | DEPRECATED — bind an API Key credential to the task with credentialName instead. A key pasted here is stored in the workflow definition in clear and appears in every export of it. Still honoured for workflows built before the change. |
operation |
string | yes | — | One of: listworkspace, fetchworkspace, listactivity, fetchactivity, fetchworkspacecumulativestatistics, listevent |
Sid |
string | no | — | Path parameter Sid (required by some operations). |
WorkspaceSid |
string | no | — | Path parameter WorkspaceSid (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |