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.
Path parameters
-
The SID of the Service to fetch the Environment resource from.
-
The SID of the Environment resource to fetch.
GET /v1/Services/{ServiceSid}/Environments/{Sid}
curl \
-X GET https://serverless.twilio.com/v1/Services/{ServiceSid}/Environments/{Sid} \
--user "username:password"
Response examples (200)
{
"account_sid": "string",
"build_sid": "string",
"date_created": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"domain_name": "string",
"domain_suffix": "string",
"links": {},
"service_sid": "string",
"sid": "string",
"unique_name": "string",
"url": "https://example.com"
}
Response examples (200)
{
"account_sid": "string",
"build_sid": "string",
"date_created": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"domain_name": "string",
"domain_suffix": "string",
"links": {},
"service_sid": "string",
"sid": "string",
"unique_name": "string",
"url": "https://example.com"
}