Transformations

Test a transformation

Changed on

This endpoint executes a transformation against a sample request payload and returns the transformed result without persisting anything.

put/transformations/run

Request

  • Base URL
    https://api.hookdeck.com/2025-07-01
  • Auth
    • HTTP bearer
    • or HTTP basic

Request body

envobject

Key-value environment variables to be passed to the transformation

webhook_idstring

ID of the connection (webhook) to use for the execution context

codestring

JavaScript code to be executed

transformation_idstring

Transformation ID

event_idstring

Response

Transformation run output

request_idstring nullable
transformation_idstring nullable
execution_idstring nullable
log_level'debug' | 'info' | 'warn' | 'error' | 'fatal' required

The minimum log level to open the issue on

Changes

    • info

      added the new optional request property /

    • info

      added the optional property / to the response with the status