Twilio Serverless v1
This is the public Twilio REST API.
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
This is the public Twilio REST API.
Endpoints 39
ServerlessV1Asset
- GETRetrieve a list of all Assets.
/v1/Services/:ServiceSid/Assets?PageSize=1&Page=0&PageToken=stringRetrieve a list of all Assets. - POSTCreate a new Asset resource.
/v1/Services/:ServiceSid/AssetsCreate a new Asset resource. - GETRetrieve a specific Asset resource.
/v1/Services/:ServiceSid/Assets/:SidRetrieve a specific Asset resource. - POSTUpdate a specific Asset resource.
/v1/Services/:ServiceSid/Assets/:SidUpdate a specific Asset resource. - DELETEDelete an Asset resource.
/v1/Services/:ServiceSid/Assets/:SidDelete an Asset resource.
ServerlessV1AssetVersion
- GETRetrieve a list of all Asset Versions.
/v1/Services/:ServiceSid/Assets/:AssetSid/Versions?PageSize=1&Page=0&PageToken=stringRetrieve a list of all Asset Versions. - GETRetrieve a specific Asset Version.
/v1/Services/:ServiceSid/Assets/:AssetSid/Versions/:SidRetrieve a specific Asset Version.
ServerlessV1Build
- GETRetrieve a list of all Builds.
/v1/Services/:ServiceSid/Builds?PageSize=1&Page=0&PageToken=stringRetrieve a list of all Builds. - POSTCreate a new Build resource. At least one function version or asset version is required.
/v1/Services/:ServiceSid/BuildsCreate a new Build resource. At least one function version or asset version is required. - GETRetrieve a specific Build resource.
/v1/Services/:ServiceSid/Builds/:SidRetrieve a specific Build resource. - DELETEDelete a Build resource.
/v1/Services/:ServiceSid/Builds/:SidDelete a Build resource.
ServerlessV1BuildStatus
- GETRetrieve a specific Build resource.
/v1/Services/:ServiceSid/Builds/:Sid/StatusRetrieve a specific Build resource.
ServerlessV1Deployment
- GETRetrieve a list of all Deployments.
/v1/Services/:ServiceSid/Environments/:EnvironmentSid/Deployments?PageSize=1&Page=0&PageToken=stringRetrieve a list of all Deployments. - POSTCreate a new Deployment.
/v1/Services/:ServiceSid/Environments/:EnvironmentSid/DeploymentsCreate a new Deployment. - GETRetrieve a specific Deployment.
/v1/Services/:ServiceSid/Environments/:EnvironmentSid/Deployments/:SidRetrieve a specific Deployment.
ServerlessV1Environment
- GETRetrieve a list of all environments.
/v1/Services/:ServiceSid/Environments?PageSize=1&Page=0&PageToken=stringRetrieve a list of all environments. - POSTCreate a new environment.
/v1/Services/:ServiceSid/EnvironmentsCreate a new environment. - GETRetrieve a specific environment.
/v1/Services/:ServiceSid/Environments/:SidRetrieve a specific environment. - DELETEDelete a specific environment.
/v1/Services/:ServiceSid/Environments/:SidDelete a specific environment.
ServerlessV1Function
- GETRetrieve a list of all Functions.
/v1/Services/:ServiceSid/Functions?PageSize=1&Page=0&PageToken=stringRetrieve a list of all Functions. - POSTCreate a new Function resource.
/v1/Services/:ServiceSid/FunctionsCreate a new Function resource. - GETRetrieve a specific Function resource.
/v1/Services/:ServiceSid/Functions/:SidRetrieve a specific Function resource. - POSTUpdate a specific Function resource.
/v1/Services/:ServiceSid/Functions/:SidUpdate a specific Function resource. - DELETEDelete a Function resource.
/v1/Services/:ServiceSid/Functions/:SidDelete a Function resource.
ServerlessV1FunctionVersion
- GETRetrieve a list of all Function Version resources.
/v1/Services/:ServiceSid/Functions/:FunctionSid/Versions?PageSize=1&Page=0&PageToken=stringRetrieve a list of all Function Version resources. - GETRetrieve a specific Function Version resource.
/v1/Services/:ServiceSid/Functions/:FunctionSid/Versions/:SidRetrieve a specific Function Version resource.
ServerlessV1FunctionVersionContent
- GETRetrieve a the content of a specific Function Version resource.
/v1/Services/:ServiceSid/Functions/:FunctionSid/Versions/:Sid/ContentRetrieve a the content of a specific Function Version resource.
ServerlessV1Log
- GETRetrieve a list of all logs.
/v1/Services/:ServiceSid/Environments/:EnvironmentSid/Logs?FunctionSid=ZH00000000000000000000000000000000&StartDate=2018-11-10T20:00:00Z&EndDate=2018-12-10T20:00:00Z&PageSize=1&Page=0&PageToken=stringRetrieve a list of all logs. - GETRetrieve a specific log.
/v1/Services/:ServiceSid/Environments/:EnvironmentSid/Logs/:SidRetrieve a specific log.
ServerlessV1Service
- GETRetrieve a list of all Services.
/v1/Services?PageSize=1&Page=0&PageToken=stringRetrieve a list of all Services. - POSTCreate a new Service resource.
/v1/ServicesCreate a new Service resource. - GETRetrieve a specific Service resource.
/v1/Services/:SidRetrieve a specific Service resource. - POSTUpdate a specific Service resource.
/v1/Services/:SidUpdate a specific Service resource. - DELETEDelete a Service resource.
/v1/Services/:SidDelete a Service resource.
ServerlessV1Variable
- GETRetrieve a list of all Variables.
/v1/Services/:ServiceSid/Environments/:EnvironmentSid/Variables?PageSize=1&Page=0&PageToken=stringRetrieve a list of all Variables. - POSTCreate a new Variable.
/v1/Services/:ServiceSid/Environments/:EnvironmentSid/VariablesCreate a new Variable. - GETRetrieve a specific Variable.
/v1/Services/:ServiceSid/Environments/:EnvironmentSid/Variables/:SidRetrieve a specific Variable. - POSTUpdate a specific Variable.
/v1/Services/:ServiceSid/Environments/:EnvironmentSid/Variables/:SidUpdate a specific Variable. - DELETEDelete a specific Variable.
/v1/Services/:ServiceSid/Environments/:EnvironmentSid/Variables/:SidDelete a specific Variable.
API details
- Base URL
https://serverless.twilio.com- Authentication
- HTTP Basic authentication (username and password)
- Operations
- 39 operations on 22 pathsGET 22POST 11DELETE 6
- Main resources
- ServerlessV1Asset 5ServerlessV1Function 5ServerlessV1Service 5ServerlessV1Variable 5ServerlessV1Build 4ServerlessV1Environment 4ServerlessV1Deployment 3ServerlessV1AssetVersion 2ServerlessV1FunctionVersion 2ServerlessV1Log 2
- Response formats
application/json- Description format
- OpenAPI 3.0.1, API version
1.0.0 - Links
- OpenAPI document · Terms of service · Support
- Listed from
- Twilio's published OpenAPI description (twilio/twilio-oai) (MIT)
How to test the Twilio Serverless v1 in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Twilio Serverless v1 collection, without the publisher's secrets.
- Add your credentialsThis API uses HTTP Basic authentication (username and password). Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Retrieve a list of all Assets.” (GET /v1/Services/:ServiceSid/Assets?PageSize=1&Page=0&PageToken=string), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Twilio Serverless v1?
This is the public Twilio REST API. It is listed under Communication and has 39 endpoints.
Who publishes the Twilio Serverless v1?
It is listed from Twilio's public API description (an OpenAPI document), not published by Twilio on Swastik Codes. Anyone who controls twilio.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Twilio Serverless v1?
Requests go to https://serverless.twilio.com. Endpoint paths are added to this base URL.
How do I authenticate with the Twilio Serverless v1?
With HTTP Basic authentication (username and password).
How many endpoints does the Twilio Serverless v1 have?
39 operations on 22 paths (22 GET, 11 POST, 6 DELETE). The largest groups are ServerlessV1Asset, ServerlessV1Function, ServerlessV1Service, ServerlessV1Variable.
Is forking the Twilio Serverless v1 free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.