MICE Operations icon

MICE Operations

Interact with the MICE Operations API

Webhook → Create

AI-generated

Summary

Registers a new webhook in MICE Operations by POSTing to /webhooks, so the API calls your callback URL when the chosen event or invoice change occurs.

Inputs

  • Event (required) — Event to subscribe to: event.created, event.updated, event.deleted, event.status, event_activity.created, event_activity.updated, event_activity.deleted, invoice.created, invoice.updated or invoice.deleted. Defaults to event.created. Sent as event in the body.
  • URL (required) — Your callback URL that receives the webhook. Sent as url in the body.
  • Secret Key — Optional secret key sent as secret_key in the body.
  • Request Options — Optional node-level HTTP settings: batching (items per batch, interval), ignore SSL issues, proxy, and timeout (default 10000 ms).

Output shape

The JSON response from the MICE Operations API for the newly created webhook, one result per input item.

The source doesn't define the response fields, so the shape is whatever the API returns. It likely includes the webhook ID, which you can pass to the Delete operation. Authentication uses the miceoperationsApi credential against https://api.miceoperations.com/api/v1.

Examples

Example 1: Notify an n8n Webhook trigger whenever an invoice is created.

Event = Invoice Created; URL = your n8n production webhook URL; Secret Key left empty or set for payload verification.

Example 2: Track event status changes in an external system.

Event = Event Status; URL = https://example.com/hooks/mice; Secret Key = a shared secret.

Links

Discussion