Twilio Twilio Serverless V1
Twilio Serverless is Twilio's hosted environment for running backend functions and assets for communications applications.
- Base URL:
https://serverless.twilio.com - Auth:
basic(pass your key via theapiKeyinput)
Operations
listservice— GET /v1/Services — Retrieve a list of all Services.listasset— GET /v1/Services/{ServiceSid}/Assets — Retrieve a list of all Assets.listassetversion— GET /v1/Services/{ServiceSid}/Assets/{AssetSid}/Versions — Retrieve a list of all Asset Versions.fetchassetversion— GET /v1/Services/{ServiceSid}/Assets/{AssetSid}/Versions/{Sid} — Retrieve a specific Asset Version.fetchasset— GET /v1/Services/{ServiceSid}/Assets/{Sid} — Retrieve a specific Asset resource.listbuild— GET /v1/Services/{ServiceSid}/Builds — Retrieve a list of all Builds.
Inputs
apiKey— your twilio-twilio-serverless-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: listservice
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: listservice, listasset, listassetversion, fetchassetversion, fetchasset, listbuild |
AssetSid |
string | no | — | Path parameter AssetSid (required by some operations). |
ServiceSid |
string | no | — | Path parameter ServiceSid (required by some operations). |
Sid |
string | no | — | Path parameter Sid (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |