Skip to main content
POST
cURL

Authorizations

X-API-KEY
string
header
required

API key authentication. Get your API key from the Formal console.

Body

application/json
name
string
Minimum string length: 1
Pattern: ^[A-Za-z_][A-Za-z0-9_]*$
description
string
code
string
Minimum string length: 1
status
enum<string>
Available options:
draft,
active
timeoutMs
integer<int32>
Required range: x <= 60000
allowlistedEnvironmentVariables
string[]
Minimum string length: 1
Pattern: ^[A-Za-z_][A-Za-z0-9_]*$
allowlistedNetworkHosts
string[]
Minimum string length: 1

Response

Success

hook
hook · object