hosting

Export selected app or environment secrets as dotenv text (audited)

get/api/v1/hosting/apps/{app_id}/secrets/dotenv

Request

  • Base URL
    https://composal.com (the document declares no server; this is the origin it was published from)
  • URL
    https://composal.com/api/v1/hosting/apps/{app_id}/secrets/dotenv
  • Auth
    HTTP 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.