Trigger Definite blocks from any external system via HTTPS
POST
. Send JSON to our endpoint, and Definite will execute your block immediately with your data and environment variables. This enables real-time pipelines for events like signups, payments, orders, alerts, and more.
WEBHOOK_DATA
and any env vars are merged into the block’s runtime.
/v2/webhook/blocks/{block_id}/execute
{block_id}
is the UUID of the block to execute.
{user_id}-{api_key_suffix}
data
object is injected as a JSON string into the WEBHOOK_DATA
environment variable.WEBHOOK_DATA
(built from request data
)environment_variables
(top-level in the request)python.environment_variables
(language-specific overrides)Authorization
header where possible.data.request_id
) if your sender may retry.environment_variables
, not in data
.data
is valid JSON if provided.POST
with JSON, we inject it into the block runtime, merge your environment variables, execute the block, and return execution metadata so you can trace outcomes—all with a single, simple integration.