Request unbanning
#
Method#
/mobile/request-unbanningPOST
https://api.z-api.io/instances/YOUR_INSTANCE/token/YOUR_TOKEN/mobile/request-unbanning
#
HeaderKey | Value |
---|---|
Client-Token | ACCOUNT SECURITY TOKEN |
#
ConceptMethod used to request the unbanning of a number.
#
Attributes#
RequiredAttributes | Type | Description |
---|---|---|
appealToken | string | Token for unbanning a specific number |
description | string | Description to be sent for WhatsApp analysis |
#
Request Body#
Response#
200Attributes | Type | Description |
---|---|---|
success | boolean | Returns true if the request was successful |
status | string | Status of the unbanning request (IN_REVIEW, UNBANNED) |
#
Example#
400Invalid request. Check if the data you are sending is in accordance with the documentation above.
#
405In this case, make sure you are correctly sending the method specification, i.e., check if you sent the POST or GET as specified at the beginning of this topic.
#
415If you receive a 415 error, make sure to add the "Content-Type" of the object you are sending to the headers of the request, mostly "application/json"