Skip to main content
DELETE
/
api
/
{session}
/
channels
/
{id}
Delete the channel
curl --request DELETE \
  --url https://{host}/api/{session}/channels/{id} \
  --header 'apikey: <api-key>'
{
  "success": true,
  "message": "Channel removed successfully"
}

Description

This endpoint allows you to delete a channel from your list, which means unfollowing the channel. Note that this does not permanently delete the channel, it only removes it from your list of followed channels.

URL Parameters

session
string
required
WhatsApp unique authenticated session ID
id
string
required
Unique ID of the channel to delete (unfollow)

Response

success
boolean
Indicates if the channel was deleted successfully
{
  "success": true,
  "message": "Channel removed successfully"
}

Status Codes

  • 200 - Channel deleted successfully
  • 400 - Invalid ID
  • 401 - Unauthorized
  • 404 - Channel not found
  • 500 - Internal server error

Usage Example

curl -X DELETE https://api.wappfy.com.br/api/my-session/channels/123456789@newsletter

Authorizations

apikey
string
header
required

Your Wappfy API key (get it at dash.wappfy.com.br)

Path Parameters

id
any
required

WhatsApp Channel ID

I