open-wa v5 is alpha. Use v4.76.0 for mature production systems unless you are validating v5.
The Client APIAPI ExplorerLicensing

All client methods

Alphabetical index of every client method, linking to its namespace reference.

Client Client Methods Wally

All client methods

Generated file warning: this page is generated by packages/schema/scripts/gen-client-reference-docs.ts. Do not edit generated method content by hand.

This is an alphabetical index of all 123 client methods. Each method links to its full reference on the namespace page (parameters, usage, HTTP route, and response).

MethodNamespaceDescriptionLicense
addLabellabelsAdd label to chat-
addParticipantgroupsAdd participant to group-
approveGroupJoinRequestgroupsApprove group join request-
archiveChatchatsArchive a chat-
blockContactcontactsBlock a contact-
checkNumberStatuscontactsCheck if number is on WhatsAppinsiders
checkReadReceiptscontactsCheck read receipts setting-
clearChatchatsClear chat history-
createGroupgroupsCreate new grouprestricted
decryptMediamediaDecrypts media from a message-
deleteAllStatusstatusDelete all statusesinsiders
deleteChatchatsDelete a chat-
deleteMessagemessagesDeletes a message-
deleteStatusstatusDelete statusinsiders
demoteParticipantgroupsDemote participant from admin-
downloadMediamediaDownloads and decrypts media from a message to a file-
forwardMessagesmessagesForwards messages to a chat-
getAllChatIdschatIdsGet all chat IDs-
getAllChatschatsRetrieves all chats-
getAllCommunitiescommunitiesGet all communities-
getAllContactscontactsRetrieves all contacts-
getAllGroupsgroupsGet all groups-
getAllLabelslabelsGet all labels-
getAllMessagesmessagesRetrieves all messages in the session-
getBatteryLevelsessionGet phone battery level-
getBlockedIdscontactsGet blocked contact IDs-
getBusinessProductsbusinessGet business products-
getBusinessProfilebusinessGet business profile-
getChatchatsGet specific chat by ID-
getChatsByLabellabelsGet chats by label-
getChatWithNonContactschatsGet chats with non-contacts-
getCommonGroupscontactsGet common groups with contact-
getCommunityAdminIdscommunitiesGet community admin IDs-
getCommunityAdminscommunitiesGet community admins-
getCommunityInfocommunitiesGet community metadata-
getCommunityParticipantIdscommunitiesGet community participant IDs-
getCommunityParticipantscommunitiesGet community participants-
getConnectionStatesessionGet connection state-
getContactcontactsGet specific contact-
getFeaturessessionGet enabled features-
getGroupAdminsgroupsGet group admins-
getGroupInfogroupsGet group metadata-
getGroupInviteLinkgroupsGet group invite link-
getGroupMembersgroupsRetrieves members of a group-
getGroupMembersIdgroupsGet group member IDs-
getHostNumbersessionGet host phone number-
getKickedGroupsgroupsGet groups where kicked-
getLicenseTypesessionGet license type-
getLoadedMessageCountsessionGet loaded message count-
getMesessionGet host account info-
getMessageByIdmessagesRetrieves a specific message by ID-
getMessageInfomessagesGet message delivery info-
getMessagesForLLMmessagesGet messages formatted for LLMs-
getMyLastMessagemessagesGet last message sent by host-
getNumberProfilecontactsGet profile of numberinsiders
getOrderbusinessGet order detailsinsiders
getProcessStatssessionGet process statistics-
getProfilePicturecontactsGet profile picture from server-
getSnapshotsessionTake screenshot-
getStarredMessagesmessagesGet starred messagesinsiders
getStatusmystatusGet specific statusinsiders
getStoriesstatusGet all storiesinsiders
getUnsentMessagesmessagesGet unsent/pending messages-
getUserAgentsessionGet user agent-
getVCardsmessagesExtract vCards from message-
getWAVersionsessionGet WhatsApp Web version-
healthChecksessionHealth check-
isChatOnlinechatsCheck if chat is online-
isPluggedsessionCheck if phone is charging-
joinGroupViaLinkgroupsJoin group via invite linkrestricted
leaveGroupgroupsLeave a group-
loadEarlierMessagesmessagesLoads earlier messages from a chat-
markAsReadchatsMark chat as read-
markAsUnreadchatsMark chat as unread-
muteChatchatsMute a chat-
pinChatchatsPin a chat-
postImageStatusstatusPost image statusinsiders
postTextStatusstatusPost text statusinsiders
postVideoStatusstatusPost video statusinsiders
promoteParticipantgroupsPromote participant to admin-
reactmessagesReact to message with emoji-
rejectGroupJoinRequestgroupsReject group join request-
removeLabellabelsRemove label from chat-
removeParticipantgroupsRemove participant from group-
revokeGroupInviteLinkgroupsRevoke group invite link-
sendAdvancedButtonsmessagesSends an advanced button message with media (deprecated)insiders
sendAudiomessagesSends an audio file to a chat-
sendBannermessagesSends a banner image-
sendButtonsmessagesSends a button message (deprecated)insiders
sendContactmessagesSends a single contact-
sendFilemessagesSends a file or document to a chat-
sendFileFromUrlmessagesDownloads a file from a URL and sends it to a chat-
sendImagemessagesSends an image to a chat-
sendLinkWithAutoPreviewmessagesSends a link with auto-generated preview-
sendListMessagemessagesSends a list/menu message (deprecated)insiders
sendLocationmessagesSends a location to a chat-
sendMessageWithThumbmessagesSends a link preview message with custom thumbnail-
sendMultipleContactsmessagesSends multiple contacts-
sendPaymentRequestmessagesSends a payment request message-
sendPollmessagesSends a poll message-
sendPttmessagesSends a voice note (push-to-talk) to a chat-
sendReplyWithMentionsmessagesSends a reply to a message that includes @mentions-
sendSeenmessagesMark message as seen-
sendTextmessagesSends a text message to a chat-
sendTextWithMentionsmessagesSends a text message that includes @mentions-
sendVCardmessagesSends a contact card (vCard)-
sendVideoAsGifmessagesSends a video as an animated GIF-
sendYouTubeLinkmessagesSends a YouTube link with auto-generated preview-
setChatEphemeralchatsSet ephemeral messages for chat-
setGroupDescriptiongroupsSet group description-
setGroupEditToAdminsOnlygroupsRestrict group editing to admins only-
setGroupIcongroupsSet group icon-
setGroupTitlegroupsSet group title-
setGroupToAdminsOnlygroupsRestrict group to admins only-
setMyNamesessionSet host name-
setMyStatussessionSet host status-
setProfilePicturesessionSet profile pictureinsiders
starMessagemessagesStar a message-
unarchiveChatchatsUnarchive a chat-
unblockContactcontactsUnblock a contact-
unmuteChatchatsUnmute a chat-
unpinChatchatsUnpin a chat-
unstarMessagemessagesUnstar a message-
Wally the Walrus typing

Was this helpful?

Wally and his cute companion coffee mug are coding day and night to keep this up-to-date!

On this page