Skip to main content
POST
Preview a hook's rendered input

Authorizations

Authorization
string
header
required

API key in format: rg_live_xxxx. Pass as a Bearer token in the Authorization header.

Path Parameters

agentId
string<uuid>
required

Agent ID.

hookId
string<uuid>
required

Hook ID.

Body

application/json
variables
object

Call variables to render with. Optional.

Response

Success.

renderedInput
any

The input template with substitutions applied.

hook
object