hosting
Export selected app or environment secrets as dotenv text (audited)
get/api/v1/hosting/apps/{app_id}/secrets/dotenv
Request
- Base URLhttps://composal.com (the document declares no server; this is the origin it was published from)
- URLhttps://composal.com/api/v1/hosting/apps/{app_id}/secrets/dotenv
- AuthHTTP bearer
Path parameters
app_idstring required
Query parameters
environmentstring
Environment id, slug or name belonging to the app.
servicestring
Optional service id, slug or name. Requires an environment; applies service-specific preview overrides.
Response
Dotenv-formatted secrets (KEY=value pairs)
object required
Changes
No recorded changes to this operation across all 3 revisions of this API.