Realtime: Create destination
webhook_create_destinationCreate a realtime event destination for this Nilyo user. Nilyo uses its global Unipile control-plane key server-side but ALWAYS restricts the Unipile endpoint to account IDs owned by this authenticated user. By default matching future accounts are automatically added. Explicit account_ids without a providers filter stay restricted to those accounts, even with auto_include_new_accounts=true. For n8n use its Test URL first, validate with a Development/Mock event, then update to Production URL. The endpoint signing secret is kept encrypted server-side and is never returned by MCP: never ask for it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| events | Yes | Exact Unipile V2 event types. Call webhook_list_available_events first when unsure. Do not invent event names. | |
| runtime | Yes | ||
| providers | No | Optional provider filter. google includes Gmail and outlook includes Microsoft accounts. With auto_include_new_accounts=true, Nilyo keeps this Unipile endpoint's account_ids synchronized when the user connects matching accounts later. | |
| account_ids | No | Optional explicit Unipile account IDs returned by list_connected_accounts. Nilyo rejects the whole request if any ID is not owned by the authenticated user. | |
| request_url | Yes | Public HTTPS POST receiver URL supplied by the target runtime, without user:password@ credentials or #fragment. Never guess a URL. | |
| auto_include_new_accounts | Yes |