WAOtomatis icon

WAOtomatis

Send WhatsApp messages and manage chats, contacts, media, storage, webhooks and tickets via WAOtomatis

Webhook → List

AI-generated

Summary

Lists the webhooks registered for a chosen WAOtomatis session (connected WhatsApp number) and returns each webhook as its own item.

Inputs

  • Session (required) — The WAOtomatis session to list webhooks for. Pick it from a searchable dropdown of your sessions, or enter a session ID (letters, digits, underscore, hyphen) or an expression. The operation errors with 'No session selected.' if the value is empty.

Output shape

One output item per registered webhook, taken from the data array of the API response (GET /v1/sessions/{sessionId}/webhooks). Each item's JSON is the webhook object as the API returns it.

Makes a single request with no pagination, Return All or Limit options, so only what the API returns in one response is emitted. If data is missing or empty, no items are produced. With Continue On Fail enabled, an error produces an item with an error message instead of stopping the workflow. Each output item is paired to the input item that produced it.

Examples

Example 1: Check which webhooks already exist on a session before creating a new one, to avoid duplicates.

Resource: Webhook, Operation: List, Session: select from list. Follow with an IF or Filter node that compares each item's URL to your target.

Example 2: Audit webhook registrations across several sessions.

Feed session IDs from a previous node, set Session to 'By ID' with an expression such as {{$json.id}}. The node runs once per input item.

Links

Discussion