Skip to main content
POST
/
api
/
v1
/
forms
/
{form_token}
/
integrations
/
webhooks
Create a webhook integration
curl --request POST \
  --url https://formhug.ai/api/v1/forms/{form_token}/integrations/webhooks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "https://hooks.example.com/incoming",
  "trigger_events": [
    "entry_created",
    "entry_updated"
  ],
  "enabled": true
}
'
{
  "data": {
    "id": "65a1f0c5d8e9b2a3f4c5d6e7",
    "url": "https://hooks.example.com/incoming",
    "trigger_events": [
      "entry_created"
    ],
    "enabled": true,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://formhug.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Personal Access Token prefixed with fh_. Sent as Authorization: Bearer fh_xxx. The scope required by each endpoint is listed in that endpoint's description.

Path Parameters

form_token
string
required

Form token

Body

application/json
url
string<uri>
required
Example:

"https://hooks.example.com/incoming"

trigger_events
enum<string>[]
required
Available options:
entry_created,
entry_updated,
entry_paid
Example:
["entry_created", "entry_updated"]
enabled
boolean
default:true

Response

Created

data
object
required
Last modified on May 21, 2026