Hooks
Save and test warm hook
Runs the script in a new sandbox and activates it only if it passes. Takes 30–90 seconds.
post/v1/environments/{environment_id}/warm-hooks/save-test
Request
- Base URLhttps://api.replicas.dev
- URLhttps://api.replicas.dev/v1/environments/{environment_id}/warm-hooks/save-test
- AuthHTTP bearer
Path parameters
environment_idstring required
Environment UUID.
Headers
X-Replicas-Api-Version'2026-10-07'
API version. 2026-10-07 returns snake_case responses. See versioning.
Request body
Response
Warm hook saved (test result included in body)
Changes
No recorded changes to this operation across all 1 revision of this API.