cURL
curl --request POST \ --url https://app.oneform.one/api/v1/webhooks \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "form_id": "form_123", "url": "https://example.com/webhook", "name": "My Webhook", "signing_secret": "secret_key", "subscriber": "<string>" } '
{ "id": "webhook_123", "name": "My Webhook", "form_id": "form_123", "url": "https://example.com/webhook", "signing_secret": "secret_key", "enabled": true, "subscriber": "n8n", "created_at": "2024-01-01T12:00:00Z", "updated_at": "2024-01-02T12:00:00Z" }
Enter your API key
Form ID
"form_123"
"https://example.com/webhook"
"My Webhook"
"secret_key"
Subscriber type
webhook created
"webhook_123"
true
"n8n"
"2024-01-01T12:00:00Z"
"2024-01-02T12:00:00Z"