Help Desk
  • Getting Started
    • ๐Ÿ™ŒWelcome to Whapi.Cloud
    • ๐Ÿ’ฐPricing
    • โ˜•Partners
    • ๐Ÿš€Getting started
    • ๐Ÿ‘จโ€๐Ÿ’ปAPI Docs
      • Developer hubs
      • Swagger environment
      • Postman collection
  • Sending
    • Introduction
    • Send text message
      • Whatsapp API send message PHP
      • Whatsapp API send message Python
      • Whatsapp API send message Node JS
      • Whatsapp API send message ะก#
      • Whatsapp API send message Java
      • API integration with VB6
      • Whatsapp API send message GO (Golang)
    • Send video, audio, image, document
    • Send Group message
    • Send post to WhatsApp Channel
    • Send message with Buttons
    • Send Emoji
    • Overview of other methods for sending
      • Send Voice message
      • Send contact (vCard)
      • Send message reactions
  • Receiving
    • Introduction
    • Webhooks
      • Our webhooks (Tracked events)
      • Where to Find the Webhook URL?
      • Set the webhook link to the channel
      • Detailed webhook settings
      • How to check the webhook?
      • Incoming webhooks format
        • Incoming message
        • Sent message
        • Chats
        • Groups
        • Account and device status
        • Other
          • Presences
          • Views of stories (statuses)
          • Story (status) from your contacts
          • Calls
      • Receive messages
        • Receive WhatsApp messages using PHP
        • Receive WhatsApp messages using Node js
        • Receive WhatsApp messages using Python
    • HTTP API
      • Retrieve a Specific User's Chat History
      • Get a full-size picture in the response
      • Get order items
      • Get a profile picture of a chat or user
    • File expiration period
  • Groups
    • Send Group message
      • Mentioning all participants in a WhatsApp group
    • Get list of group members
    • Add new member to Group
  • Channels
    • Send post to WhatsApp Channel
    • Get messages from Channels
    • Get votes from polls in the Channel
  • Communities
    • Introduction
    • Create a community
    • Add a member to a community
    • Send announcement
    • Get info on community participants
    • Add a group / Exclude a group from the community
  • Account
    • Setting "Auto Download"
    • Customizable Webhook Headers
    • How to find out the IP channel
    • How to Delete a Channel
    • Add Business Info to Invoice
  • Source code
    • WhatsApp ChatBot
      • WhatsApp Python Bot
      • WhatsApp PHP Bot
      • WhatsApp Node JS Bot
      • WhatsApp Java Bot
    • WhatsApp API Google Sheets
    • WhatsApp Phone Number Checker
    • Request Distributor (Balancer)
  • FAQ
    • Chat ID. What is it and how to get it?
    • Current status of Buttons on WhatsApp
    • How to send a paragraph (line break)
    • Inactive Links in WhatsApp Messages
    • WhatsApp Text Formatting
    • Checking if the number has Whatsapp
    • Specifics of sending messages to numbers of different countries
    • Why aren't participants being added to the group?
  • Does WhatsApp API Work with the Phone Turned Off?
  • Hints
    • Android Emulators
    • Virtual Numbers for WhatsApp
    • How to use polls as buttons?
    • How to check who blocked you in Whatsapp?
    • Setting up a WhatsApp proxy
  • Integrations
    • Make.com
      • Ready-Made Scenarios
        • WhatsApp & Whisper API: Voice-to-Text Integration
        • Automated WhatsApp Group Message Forwarding in Make.com
      • Request Scenario Setup
    • Pabbly Connect
    • Google Contacts
    • DialogFlow
    • n8n
  • Tools
    • WhatsApp Number Checker
    • Automatic warm-up module
    • WhatsApp Activity Safety Meter
    • Residential Proxies from Whapi.Cloud
  • Troubleshooting
    • Couldn't Link Device โ€“ WhatsApp QR Code or Pairing Code Fails
    • Channel status โ€œSYNC_ERRORโ€
    • Not getting a READ status on webhook
    • 429 (Too Many Requests) - Soft Ban
    • โ€œWaiting for this message. This may take a whileโ€ โ€“ WhatsApp Message Error
    • Missing push notifications after connecting to API
  • Blocking
    • How to not get Banned?
    • How to do mailings without the risk of being blocked?
    • If My Number Is Banned, Can It Be Restored?
    • Unlocking Your WhatsApp Number
    • Connecting a New WhatsApp Number After a Ban: Steps and Recommendations
    • Warming Up New Phone Numbers for WhatsApp API
  • Partner Documentation
    • Introduction
    • Partner Dashboard Overview
    • Partner Program Guidelines
      • Workflow: Step-by-Step
      • Billing for Partners
      • Allocating Days to Customer Channels: Best Practices & Guide
      • Interface for channel management
    • Partner Documentation
      • Channel creation
      • Changing channel mode
      • Channel extension
      • Channel deletion
      • Getting the list of channels
      • Notices of end of days on balance
Powered by GitBook
On this page
  • Enhanced Channel Stability
  • Seamless encoding of media files
  • Customizable Webhook Headers
  • New API Endpoint: Retrieve Media Files from Channel
  • Custom Message with Group Invite Links
  • Retrieve Group Information by invite code
  • New Endpoints for WhatsApp Channel Administration
  • Send Catalog by phone number
  • New 'Sort' Parameter in Message Retrieval

Was this helpful?

  1. Updates

April update

Channel performance, media file handling, endpoints for channels and groups

Last updated 11 months ago

Was this helpful?

Here you will find the basic information about the April update. You will find the whole update point by point in the .

Enhanced Channel Stability

We have optimized channel performance to significantly reduce the frequency of failures and session reconnection attempts. This enhancement ensures a more stable and reliable operation of the service.

Seamless encoding of media files

We've introduced automatic video and audio converters in our latest update. This feature ensures that all media files are automatically converted to codecs compatible with WhatsApp.

Customizable Webhook Headers

We've added a new "headers" parameter to channel settings, allowing you to set custom headers in callbacks. This enhancement in the "/settings" endpoint offers greater flexibility and control. Now you will be able to add any custom header and token to increase security.

curl --request PATCH \
     --url https://gate.whapi.cloud/settings \
     --header 'accept: application/json' \
     --header 'authorization: Bearer sliU224t0HqeUnjPapv7WHvkqUki3XkO' \
     --header 'content-type: application/json' \
     --data '
{
  "webhooks": [
    {
      "events": [
        {
          "type": "messages",
          "method": "post"
        }
      ],
      "mode": "body",
      "headers": {
        "customheader": "test"
      },
      "url": "<Webhook URL, http or https>"
    }
  ]
}
'

New API Endpoint: Retrieve Media Files from Channel

We have introduced a new API endpoint, "GET /media," which allows users to retrieve all media files stored in the cloud from their channel. Please note that all files are now retained in the cloud for 30 days, providing convenient access to your data while ensuring compliance with storage policies.

Custom Message with Group Invite Links

We've introduced a new endpoint, "POST /groups/link/{InviteCode}," which allows you to send a customized invitation link to a WhatsApp group. This feature lets you tailor link previews and messages, enhancing the invitation experience for recipients.

Retrieve Group Information by invite code

Additionally, we have launched a new endpoint for fetching detailed group information. The method retrieves comprehensive metadata about the group and its participants.

New Endpoints for WhatsApp Channel Administration

Send Newsletter Admin Invitation

We've added a new endpoint that facilitates inviting individuals to become administrators of your WhatsApp Channel (newsletter). This function allows you to send personalized messages directly, streamlining the process of expanding your admin team.

Accept Newsletter Admin Invitation

Another new endpoint enables recipients to accept invitations to become administrators of a WhatsApp Channel via API.

Revoke Newsletter Admin Invitation

To maintain control over your WhatsApp Channel's administration, we have introduced an endpoint that allows you to revoke previously sent admin invitations.

Remove Newsletter Admin

Finally, we have provided a method for removing a user from the administration of a WhatsApp Channel.

Send Catalog by phone number

This method allows you to directly send a link to a catalog to a specific contact ID by phone number. It also supports customization of the message preview, providing a tailored viewing experience for the recipient.

New 'Sort' Parameter in Message Retrieval

We've introduced a new 'sort' parameter in our API call for receiving messages, offering greater flexibility in how messages are displayed. By default, messages are sorted in descending order sort=desc, showing the most recent messages first. Now, you can also opt for ascending order sort=asc to view messages from oldest to newest.


A lot of fixes and small improvements were implemented this month. We will continue to improve our service. And if you need help, just email us at

changelog
LogoUpdate channel settingsWhapi Cloud - Whatsapp API for developers
Add custom callback headers in channel settings
LogoGet media filesWhapi Cloud - Whatsapp API for developers
This method is responsible for returning all of your media files
LogoSend group invite linkWhapi Cloud - Whatsapp API for developers
Change the group link preview freely
LogoGet group info by invite codeWhapi Cloud - Whatsapp API for developers
Get a list of group members by invitation code
LogoCreate Newsletter admin-inviteWhapi Cloud - Whatsapp API for developers
This method is responsible for sending an invitation for WhatsApp Channel administrator. Once the invitation is created, an invitation message will be sent to the contact
LogoAccept Newsletter admin-requestWhapi Cloud - Whatsapp API for developers
This method is responsible for accepting an request to become an administrator of a WhatsApp Channel. This request is a message that you can both send like invitation and receive through the received message webhook
LogoRevoke Newsletter admin-inviteWhapi Cloud - Whatsapp API for developers
This method is responsible for revoking an invitation for WhatsApp Channel administrator
LogoDemote Newsletter adminWhapi Cloud - Whatsapp API for developers
This method is responsible for removing a user from the administration of the WhatsApp Channel
LogoSend catalog by Contact ID (phone number)Whapi Cloud - Whatsapp API for developers
Send a catalog by knowing your phone number
LogoGet messagesWhapi Cloud - Whatsapp API for developers
The method contains a list of all received and sent messages in a particular chat. Sorting by descending date of message sending.
care@whapi.cloud
Callback Headers