Report Contact
POST {{URL}}/v1/contacts/{{Recipient-WA-ID}}/report
To report a contact, send a POST call to /v1/contacts/{phone_number}/report
and include a reason
if you are blocking another business account.
The contact must have sent you a message in the last 24 hours in order to report them.
Parameters
Parameter | Description |
---|---|
reason | Optional. Freeform block reason. Will be used when another business account is being blocked. Must be less than 60 characters. |
block | Optional. Default is False .Whether to also block the contact or only report them. |
message_id | Optional. Message ID to be reported. If not specified, the last 5 messages will be sent to WhatsApp. |
phone_number | Required. The numbers can be in any standard telephone number format. The recommended format for contact phone numbers is with a plus sign (+) and the country code. For more information, see Phone Number Formats. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"meta":{"api_status":"stable","version":"v2.45.1"}}