Kapso API icon

Kapso API

Send WhatsApp messages, templates, flows, media, contacts, broadcasts, and inbox records through Kapso. Choose a resource, then follow each operation setup hints.

Block User → Block Users

AI-generated

Summary

Blocks one or more WhatsApp users for a selected Kapso-connected phone number, using Meta's block_users API via Kapso.

Inputs

  • phoneNumberId (required) — The connected Kapso WhatsApp number (chosen from a list or set via expression) that will block the users.
  • blockedUsers (required) — Repeatable list of users to block. Each entry has a User Phone field in phone mode: 8–15 digits, no plus sign or spaces (e.g. 15551234567).

Output shape

JSON item(s) containing the API response for the block request.

The exact response fields are not defined in the provided source summary. Invalid phone numbers (not 8–15 digits) are rejected by validation before the request is sent.

Examples

Example 1: Block a spammer who messaged your support number.

Select the phone number, add one User entry with the sender's phone, e.g. 15551234567.

Example 2: Block several users at once from a moderation workflow.

Add multiple User entries, with each phone set via an expression such as {{ $json.phone }}.

Links

Discussion