Retrieve a specific environment.
Represents a deployed build of a given set of Functions and/or Assets at a specific URL.
Retrieve a specific environment.
GET
/v1/Services/{ServiceSid}/Environments/{Sid}
curl \
--request GET 'https://serverless.twilio.com/v1/Services/{ServiceSid}/Environments/{Sid}' \
--user "username:password"
Response examples (200)
{
"sid": "ZE00000000000000000000000000000000",
"url": "https://serverless.twilio.com/v1/Services/ZS00000000000000000000000000000000/Environments/ZE00000000000000000000000000000000",
"links": {
"logs": "https://serverless.twilio.com/v1/Services/ZS00000000000000000000000000000000/Environments/ZE00000000000000000000000000000000/Logs",
"variables": "https://serverless.twilio.com/v1/Services/ZS00000000000000000000000000000000/Environments/ZE00000000000000000000000000000000/Variables",
"deployments": "https://serverless.twilio.com/v1/Services/ZS00000000000000000000000000000000/Environments/ZE00000000000000000000000000000000/Deployments"
},
"build_sid": "ZB00000000000000000000000000000000",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"domain_name": "foobar-1234-testing.twil.io",
"service_sid": "ZS00000000000000000000000000000000",
"unique_name": "testing-environment",
"date_created": "2018-11-10T20:00:00Z",
"date_updated": "2018-11-10T20:00:00Z",
"domain_suffix": "testing",
"custom_domain_name": null
}