Liftbay
API referenceEnvironments

Export as a .env file

GET
/v1/orgs/{org}/projects/{project}/environments/{env}/export

Authorization

cookielb_session<token>

Dashboard session cookie, set by the sign-in endpoints.

Path Parameters

org*string

Organization slug

project*string

Project slug

env*string

Environment slug

Response Body

.env file (secrets excluded)

response?stringtext/plain
curl -X GET "https://example.com/v1/orgs/string/projects/string/environments/string/export"
"string"