Skip to main content

Block users

POST 

/v1/:phone_number_id/block_users

Blocks one or more numbers. A blocked number can no longer send messages to your WhatsApp Business.

Meta only allows blocking someone who has already exchanged messages with you.

Request​

Responses​

Meta Cloud API's response, passed through unchanged. The shape depends on the endpoint — see Meta's documentation.

Response Headers
    X-RateLimit-Category

    Which rate limit category applied — send, media or default.

    X-RateLimit-Scope

    Which bucket the other headers describe — key (the API key), session (the dashboard) or account (the account ceiling).

    X-RateLimit-Limit

    Request ceiling for this category in the current window.

    X-RateLimit-Remaining

    Requests left in the current window.