Menu
Create Webhook
This API helps you to create a new webhook.
POST
/webhooksUse it in a workflow
- Add a step and choose the WooCommerce connector.
- Pick the Create Webhook action (under Webhooks).
- Fill in the fields below, then reference the result from later steps as
{{createWebhook.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"id": 0,
"name": "string",
"status": "active",
"topic": "string",
"resource": "string",
"event": "string",
"hooks": [
"string"
],
"delivery_url": "string",
"secret": "string",
"date_created": "2025-01-01T00:00:00Z",
"date_created_gmt": "2025-01-01T00:00:00Z",
"date_modified": "2025-01-01T00:00:00Z"
}
Response
Returns 201 with an object. Read it in later steps with {{createWebhook.response.data.<field>}}.
{
"id": 0,
"name": "string",
"status": "active",
"topic": "string",
"resource": "string",
"event": "string",
"hooks": [
"string"
],
"delivery_url": "string",
"secret": "string",
"date_created": "2025-01-01T00:00:00Z",
"date_created_gmt": "2025-01-01T00:00:00Z",
"date_modified": "2025-01-01T00:00:00Z"
}
Need more? See the WooCommerce guide for connection setup and behaviour shared by every action.
Was this page helpful?