Retrieve a list of all Variables.
A key and value pair that is specific to an Environment.
Retrieve a list of all Variables.
Path parameters
-
The SID of the Service to read the Variable resources from.
-
The SID of the Environment with the Variable resources to read.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^ZE[0-9a-fA-F]{32}$
.
GET
/v1/Services/{ServiceSid}/Environments/{EnvironmentSid}/Variables
curl \
--request GET 'https://serverless.twilio.com/v1/Services/{ServiceSid}/Environments/{EnvironmentSid}/Variables' \
--user "username:password"
Response examples (200)
{
"meta": {
"key": "variables",
"url": "https://serverless.twilio.com/v1/Services/ZS00000000000000000000000000000000/Environments/ZE00000000000000000000000000000000/Variables?PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://serverless.twilio.com/v1/Services/ZS00000000000000000000000000000000/Environments/ZE00000000000000000000000000000000/Variables?PageSize=50&Page=0",
"previous_page_url": null
},
"variables": []
}