Get an environment
GET
Its name and each variable's name and last four characters.
Authorization
AuthorizationheaderrequiredBearer YOUR_API_KEY. Create a key in the dashboard.
Path parameters
environmentIdstringrequiredSandbox environment ID.
Responses
200The environment.
environmentobjectrequiredA named set of environment variables to start sandboxes with. Values are encrypted at rest and never returned.
5 properties
idstringrequirednamestringrequiredvariablesobject[]requiredEach variable's name and the last four characters of its value.
2 properties
keystringrequiredlast4stringrequired
createdAtstring<date-time>requiredupdatedAtstring<date-time>required
401Unauthorized.
codestringrequiredmessagestringrequireddetailsobject
404Environment not found, or it belongs to another project.
codestringrequiredmessagestringrequireddetailsobject