Save Warm Hook
Environments
Save Warm Hook
Persists and activates the supplied script as the warm hook for the environment without running a test. Use this when you want to save quickly without waiting for a sandbox to spin up.
POST
Save Warm Hook
Authorizations
API key authentication. Obtain your API key from the Replicas dashboard under Settings > API Keys.
Path Parameters
Environment UUID, or the literal string global.
Body
application/json
Shell script to persist and activate
Response
Warm hook saved and activated
A warm hook — the shell script that runs while pre-warming workspaces for an environment.