---
title: "Block User"
method: POST
path: "/wa/app/{appId}/user/block"
---

# Block User

`POST /wa/app/{appId}/user/block`

API to block user

Notes:
- You can only block users that have messaged your business in the last 24 hours.
- 64k blocklist limit

## Path parameters

- `appId` string, required

## Headers

- `apikey` string, required

## Request body

- object
  - `messaging_product` 'whatsapp', required — Must be "whatsapp"
  - `block_users` object[], required — List of users that need to be blocked
    - `user` string, required — Phone number of the user to block

## Response `200`

Successful operation

- object
  - `block_users` object
    - `added_users` object[]
      - `input` string — Phone number of a WhatsApp user
      - `wa_id` string — Unique ID of a WhatsApp user
  - `messaging_product` string
  - `status` string

## Other responses

- `400` — Bad request

---

[API](https://skmtc.dev/gupshup/apis/send-message-api.md) · [All operations](https://skmtc.dev/gupshup/apis/send-message-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gupshup/send-message-api/revisions/356200b5115b/schema)
