Voiceflow bearer token
Set secret value
Sets a secret’s value on one environment version. Without `environmentAlias` it writes `main`’s published version, or its draft when `versionVariant` is `draft`; with it, `versionVariant` names the version. The value is never read back; MCP clients cannot call this.
Authorizations
Body
Which version of the environment to write: published, the version serving live traffic, or draft, the one used when testing. Required with environmentAlias. Without environmentAlias it defaults to published, and draft writes the main environment's draft version; a project with no main environment has no draft version, so the request is then handled as if versionVariant were omitted.
Response
Confirms the value was stored and names the environment version it was written to. Only when there is no environment to name, such as a project that predates environments, does the confirmation stand alone.