ZapZ WhatsApp API

v0.1.5
io.github.zapz-api/zapz-mcp Checked 10 hours ago Published 6 days ago

Send WhatsApp messages and manage instances, contacts, groups and webhooks with ZapZ.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

instances_list

List instances. (GET /v1/instances)

ParameterTypeDescription
externalIdstring
statusstring

instances_create

Create an instance. (POST /v1/instances)

ParameterTypeDescription
name *string
externalIdstringYour id for this instance (unique per account). Creating again with the same externalId returns the existing instance.
metadataobjectFree-form JSON object (max 4 KB).

instances_get

Get an instance. (GET /v1/instances/{id})

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)

instances_update

Rename or update an instance. (PATCH /v1/instances/{id})

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
metadataobject
namestring

instances_delete

Delete an instance. (DELETE /v1/instances/{id})

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)

instances_status

Connection status. (GET /v1/instances/{id}/status)

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)

instances_qr

QR code to pair the phone. (GET /v1/instances/{id}/qr)

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)

instances_request_pairing_code

Pair with a code instead of QR. (POST /v1/instances/{id}/pairing-code)

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
phone *stringPhone number of the WhatsApp account to link: country code + number, digits only.

instances_clear_session

Log out and clear the session. (POST /v1/instances/{id}/session/clear)

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)

contacts_list

List contacts. (GET /v1/instances/{id}/contacts)

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)

contacts_update

Update a contact. (PATCH /v1/instances/{id}/contacts/{jid})

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
jid *stringContact JID, e.g. 5511999999999@s.whatsapp.net
imgUrlstring
namestring
notifystring
statusstring

contacts_delete

Delete a contact. (DELETE /v1/instances/{id}/contacts/{jid})

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
jid *stringContact JID, e.g. 5511999999999@s.whatsapp.net

contacts_check_phones

Check which numbers have WhatsApp. (POST /v1/instances/{id}/contacts/check-phones) Phone numbers: country code + area code + number, digits only (e.g. 5511999999999); groups use their JID (…@g.us).

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
phones *arrayNumbers with country code, digits only

contacts_profile_picture

Profile picture URL. (GET /v1/instances/{id}/contacts/{jid}/profile-picture)

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
jid *stringContact JID, e.g. 5511999999999@s.whatsapp.net

contacts_about

Contact "about" text. (GET /v1/instances/{id}/contacts/{jid}/status)

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
jid *stringContact JID, e.g. 5511999999999@s.whatsapp.net

webhooks_list

List webhooks. (GET /v1/webhooks)

webhooks_create

Create a webhook. (POST /v1/webhooks)

ParameterTypeDescription
events *array
secret *string
url *string
instance_idstring | null

webhooks_update

Update a webhook. (PATCH /v1/webhooks/{id})

ParameterTypeDescription
webhook_id *stringWebhook id (from webhooks_list)
activebooleantrue also lifts an automatic pause
eventsarray
instance_idstring | null
secretstring
urlstring

webhooks_delete

Delete a webhook. (DELETE /v1/webhooks/{id})

ParameterTypeDescription
webhook_id *stringWebhook id (from webhooks_list)

webhooks_deliveries

Recent deliveries. (GET /v1/webhooks/{id}/logs)

ParameterTypeDescription
webhook_id *stringWebhook id (from webhooks_list)

webhooks_test

Send a test event. (POST /v1/webhooks/{id}/test)

ParameterTypeDescription
webhook_id *stringWebhook id (from webhooks_list)
eventstringEvent to simulate (default: the first subscribed event)

messages_send_text

Send text. (POST /v1/instances/{id}/send/text) Phone numbers: country code + area code + number, digits only (e.g. 5511999999999); groups use their JID (…@g.us). A clientMessageId is generated when missing, so retrying never sends twice; pass your own to correlate webhooks.

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
text *string
to *string
clientMessageIdstringOptional id chosen by the client — idempotency key and correlation id in webhooks.
linkPreviewbooleanCard with title/image for the first URL in the text (default true).
mentionsarrayPhones to @mention (country code + number). Put "@<phone>" in the text where it should appear.
replyTostringWhatsApp id of a message (sent or received in the last 3 days) to reply to.

messages_send_media

Send image, video, audio or document. (POST /v1/instances/{id}/send/media) Phone numbers: country code + area code + number, digits only (e.g. 5511999999999); groups use their JID (…@g.us). A clientMessageId is generated when missing, so retrying never sends twice; pass your own to correlate webhooks.

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
mediaType *stringvoice = voice note (PTT), gif = looping muted MP4, ptv = round video note
mediaUrl *stringPublic http(s) URL. `mediaPath` is intentionally NOT accepted (it would read files on the engine host).
to *string
captionstring
clientMessageIdstring
fileNamestring
mentionsarrayPhones to @mention (country code + number). Put "@<phone>" in the text where it should appear.
replyTostringWhatsApp id of a message (sent or received in the last 3 days) to reply to.
viewOncebooleanDisappears after opened once (image, video and voice).

messages_send_list

Send a list menu. (POST /v1/instances/{id}/send/list) Phone numbers: country code + area code + number, digits only (e.g. 5511999999999); groups use their JID (…@g.us). A clientMessageId is generated when missing, so retrying never sends twice; pass your own to correlate webhooks.

ParameterTypeDescription
buttonText *string
instance_id *stringInstance id (from instances_list)
sections *array
text *string
to *string
clientMessageIdstringOptional id chosen by the client — idempotency key and correlation id in webhooks.
footerstring
mentionsarrayPhones to @mention (country code + number). Put "@<phone>" in the text where it should appear.
replyTostringWhatsApp id of a message (sent or received in the last 3 days) to reply to.
titlestring

messages_send_interactive

Send buttons. (POST /v1/instances/{id}/send/interactive) Phone numbers: country code + area code + number, digits only (e.g. 5511999999999); groups use their JID (…@g.us). A clientMessageId is generated when missing, so retrying never sends twice; pass your own to correlate webhooks.

ParameterTypeDescription
buttons *array
instance_id *stringInstance id (from instances_list)
text *string
to *string
clientMessageIdstringOptional id chosen by the client — idempotency key and correlation id in webhooks.
footerstring
imageobject
mentionsarrayPhones to @mention (country code + number). Put "@<phone>" in the text where it should appear.
replyTostringWhatsApp id of a message (sent or received in the last 3 days) to reply to.
subtitlestring
titlestring
videoobject

messages_send_sticker

Send a sticker. (POST /v1/instances/{id}/send/sticker) Phone numbers: country code + area code + number, digits only (e.g. 5511999999999); groups use their JID (…@g.us). A clientMessageId is generated when missing, so retrying never sends twice; pass your own to correlate webhooks.

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
stickerUrl *stringPublic http(s) URL of a WebP sticker
to *string
clientMessageIdstringOptional id chosen by the client — idempotency key and correlation id in webhooks.
mentionsarrayPhones to @mention (country code + number). Put "@<phone>" in the text where it should appear.
replyTostringWhatsApp id of a message (sent or received in the last 3 days) to reply to.

messages_send_location

Send a location. (POST /v1/instances/{id}/send/location) Phone numbers: country code + area code + number, digits only (e.g. 5511999999999); groups use their JID (…@g.us). A clientMessageId is generated when missing, so retrying never sends twice; pass your own to correlate webhooks.

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
latitude *number
longitude *number
to *string
addressstring
captionstring
clientMessageIdstringOptional id chosen by the client — idempotency key and correlation id in webhooks.
livebooleanLive location (shown as "sharing live location")
mentionsarrayPhones to @mention (country code + number). Put "@<phone>" in the text where it should appear.
namestring
replyTostringWhatsApp id of a message (sent or received in the last 3 days) to reply to.

messages_send_contact

Send a contact card. (POST /v1/instances/{id}/send/contact) Phone numbers: country code + area code + number, digits only (e.g. 5511999999999); groups use their JID (…@g.us). A clientMessageId is generated when missing, so retrying never sends twice; pass your own to correlate webhooks.

ParameterTypeDescription
displayName *string
instance_id *stringInstance id (from instances_list)
to *string
vcard *string
clientMessageIdstringOptional id chosen by the client — idempotency key and correlation id in webhooks.
mentionsarrayPhones to @mention (country code + number). Put "@<phone>" in the text where it should appear.
replyTostringWhatsApp id of a message (sent or received in the last 3 days) to reply to.

messages_send_reaction

React to a message. (POST /v1/instances/{id}/send/reaction) Phone numbers: country code + area code + number, digits only (e.g. 5511999999999); groups use their JID (…@g.us). A clientMessageId is generated when missing, so retrying never sends twice; pass your own to correlate webhooks.

ParameterTypeDescription
emoji *stringEmoji; empty string removes the reaction
instance_id *stringInstance id (from instances_list)
messageId *stringWhatsApp id of the message being reacted to (externalId in our webhooks)
to *string
clientMessageIdstringOptional id chosen by the client — idempotency key and correlation id in webhooks.
fromMebooleantrue when reacting to a message sent by this number
mentionsarrayPhones to @mention (country code + number). Put "@<phone>" in the text where it should appear.
replyTostringWhatsApp id of a message (sent or received in the last 3 days) to reply to.

messages_send_poll

Send a poll. (POST /v1/instances/{id}/send/poll) Phone numbers: country code + area code + number, digits only (e.g. 5511999999999); groups use their JID (…@g.us). A clientMessageId is generated when missing, so retrying never sends twice; pass your own to correlate webhooks.

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
name *string
options *array
to *string
clientMessageIdstringOptional id chosen by the client — idempotency key and correlation id in webhooks.
mentionsarrayPhones to @mention (country code + number). Put "@<phone>" in the text where it should appear.
replyTostringWhatsApp id of a message (sent or received in the last 3 days) to reply to.
selectableCountnumber

messages_send_pix

Send a Pix charge. (POST /v1/instances/{id}/send/pix) Phone numbers: country code + area code + number, digits only (e.g. 5511999999999); groups use their JID (…@g.us). A clientMessageId is generated when missing, so retrying never sends twice; pass your own to correlate webhooks.

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
key *stringPix key
keyType *stringEVP = random key
merchantName *stringName shown as the receiver
to *string
amountnumberAmount in BRL shown on the card (optional)
clientMessageIdstringOptional id chosen by the client — idempotency key and correlation id in webhooks.
descriptionstring
footerstring
mentionsarrayPhones to @mention (country code + number). Put "@<phone>" in the text where it should appear.
referenceIdstring
replyTostringWhatsApp id of a message (sent or received in the last 3 days) to reply to.
textstring
titlestring

messages_send_payment

Send a payment request. (POST /v1/instances/{id}/send/payment) Phone numbers: country code + area code + number, digits only (e.g. 5511999999999); groups use their JID (…@g.us). A clientMessageId is generated when missing, so retrying never sends twice; pass your own to correlate webhooks.

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
items *array
referenceId *string
to *string
clientMessageIdstringOptional id chosen by the client — idempotency key and correlation id in webhooks.
currencystring
mentionsarrayPhones to @mention (country code + number). Put "@<phone>" in the text where it should appear.
notestring
replyTostringWhatsApp id of a message (sent or received in the last 3 days) to reply to.
textstring

messages_send_album

Send an album. (POST /v1/instances/{id}/send/album) Phone numbers: country code + area code + number, digits only (e.g. 5511999999999); groups use their JID (…@g.us). A clientMessageId is generated when missing, so retrying never sends twice; pass your own to correlate webhooks.

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
items *array
to *string
clientMessageIdstringOptional id chosen by the client — idempotency key and correlation id in webhooks.
mentionsarrayPhones to @mention (country code + number). Put "@<phone>" in the text where it should appear.
replyTostringWhatsApp id of a message (sent or received in the last 3 days) to reply to.

messages_send_event

Send an event invite. (POST /v1/instances/{id}/send/event) Phone numbers: country code + area code + number, digits only (e.g. 5511999999999); groups use their JID (…@g.us). A clientMessageId is generated when missing, so retrying never sends twice; pass your own to correlate webhooks.

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
name *string
startTime *string
to *string
callstringAdds a WhatsApp call link to the event
canceledboolean
clientMessageIdstringOptional id chosen by the client — idempotency key and correlation id in webhooks.
descriptionstring
endTimestring
extraGuestsAllowedboolean
locationobject
mentionsarrayPhones to @mention (country code + number). Put "@<phone>" in the text where it should appear.
replyTostringWhatsApp id of a message (sent or received in the last 3 days) to reply to.

messages_send_group_invite

Send a group invite card. (POST /v1/instances/{id}/send/group-invite) Phone numbers: country code + area code + number, digits only (e.g. 5511999999999); groups use their JID (…@g.us). A clientMessageId is generated when missing, so retrying never sends twice; pass your own to correlate webhooks.

ParameterTypeDescription
groupJid *string
groupName *string
instance_id *stringInstance id (from instances_list)
inviteCode *string
to *string
captionstring
clientMessageIdstringOptional id chosen by the client — idempotency key and correlation id in webhooks.
expirationnumberUnix seconds; default 3 days
mentionsarrayPhones to @mention (country code + number). Put "@<phone>" in the text where it should appear.
replyTostringWhatsApp id of a message (sent or received in the last 3 days) to reply to.

messages_send_request_phone

Ask for the phone number. (POST /v1/instances/{id}/send/request-phone) Phone numbers: country code + area code + number, digits only (e.g. 5511999999999); groups use their JID (…@g.us). A clientMessageId is generated when missing, so retrying never sends twice; pass your own to correlate webhooks.

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
to *string
clientMessageIdstringOptional id chosen by the client — idempotency key and correlation id in webhooks.
mentionsarrayPhones to @mention (country code + number). Put "@<phone>" in the text where it should appear.
replyTostringWhatsApp id of a message (sent or received in the last 3 days) to reply to.

messages_send_share_phone

Share your phone number. (POST /v1/instances/{id}/send/share-phone) Phone numbers: country code + area code + number, digits only (e.g. 5511999999999); groups use their JID (…@g.us). A clientMessageId is generated when missing, so retrying never sends twice; pass your own to correlate webhooks.

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
to *string
clientMessageIdstringOptional id chosen by the client — idempotency key and correlation id in webhooks.
mentionsarrayPhones to @mention (country code + number). Put "@<phone>" in the text where it should appear.
replyTostringWhatsApp id of a message (sent or received in the last 3 days) to reply to.

messages_send_product

Send a catalog product. (POST /v1/instances/{id}/send/product) Phone numbers: country code + area code + number, digits only (e.g. 5511999999999); groups use their JID (…@g.us). A clientMessageId is generated when missing, so retrying never sends twice; pass your own to correlate webhooks.

ParameterTypeDescription
businessOwnerJid *stringPhone of the WhatsApp Business account that owns the catalog
imageUrl *string
instance_id *stringInstance id (from instances_list)
price *number
productId *string
title *string
to *string
clientMessageIdstringOptional id chosen by the client — idempotency key and correlation id in webhooks.
currencystring
descriptionstring
footerstring
mentionsarrayPhones to @mention (country code + number). Put "@<phone>" in the text where it should appear.
replyTostringWhatsApp id of a message (sent or received in the last 3 days) to reply to.
retailerIdstring
salePricenumber
textstring
urlstring

messages_send_order

Send an order. (POST /v1/instances/{id}/send/order) Phone numbers: country code + area code + number, digits only (e.g. 5511999999999); groups use their JID (…@g.us). A clientMessageId is generated when missing, so retrying never sends twice; pass your own to correlate webhooks.

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
orderId *string
sellerJid *string
to *string
token *string
clientMessageIdstringOptional id chosen by the client — idempotency key and correlation id in webhooks.
currencystring
itemCountnumber
mentionsarrayPhones to @mention (country code + number). Put "@<phone>" in the text where it should appear.
replyTostringWhatsApp id of a message (sent or received in the last 3 days) to reply to.
statusstring
textstring
thumbnailUrlstring
titlestring
totalnumber

messages_send_catalog

Send the catalog link. (POST /v1/instances/{id}/send/catalog) Phone numbers: country code + area code + number, digits only (e.g. 5511999999999); groups use their JID (…@g.us). A clientMessageId is generated when missing, so retrying never sends twice; pass your own to correlate webhooks.

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
to *string
clientMessageIdstringOptional id chosen by the client — idempotency key and correlation id in webhooks.
collectionobject
footerstring
imageUrlstring
mentionsarrayPhones to @mention (country code + number). Put "@<phone>" in the text where it should appear.
replyTostringWhatsApp id of a message (sent or received in the last 3 days) to reply to.
shopIdstringStorefront id (shop) — or use collection
subtitlestring
surfacenumber
textstring
titlestring

messages_forward

Forward a message. (POST /v1/instances/{id}/send/forward) A clientMessageId is generated when missing, so retrying never sends twice; pass your own to correlate webhooks.

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
messageId *stringWhatsApp id of a message sent or received by this number in the last 3 days
to *string
clientMessageIdstringOptional id chosen by the client — idempotency key and correlation id in webhooks.
mentionsarrayPhones to @mention (country code + number). Put "@<phone>" in the text where it should appear.
replyTostringWhatsApp id of a message (sent or received in the last 3 days) to reply to.

messages_pin

Pin or unpin a message. (POST /v1/instances/{id}/send/pin) A clientMessageId is generated when missing, so retrying never sends twice; pass your own to correlate webhooks.

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
messageId *string
to *string
clientMessageIdstringOptional id chosen by the client — idempotency key and correlation id in webhooks.
durationstring
mentionsarrayPhones to @mention (country code + number). Put "@<phone>" in the text where it should appear.
replyTostringWhatsApp id of a message (sent or received in the last 3 days) to reply to.
unpinboolean

messages_send_status

Post a status (story). (POST /v1/instances/{id}/send/status) Phone numbers: country code + area code + number, digits only (e.g. 5511999999999); groups use their JID (…@g.us). A clientMessageId is generated when missing, so retrying never sends twice; pass your own to correlate webhooks.

ParameterTypeDescription
audience *arrayPhones that will see the status (WhatsApp only shows it to contacts who have your number saved)
instance_id *stringInstance id (from instances_list)
type *string
backgroundColorstringHex color for text statuses, e.g. #128C7E
captionstring
clientMessageIdstring
fontnumber
textstring
urlstring

messages_list

List sent messages. (GET /v1/instances/{id}/messages)

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
limitinteger

messages_list_received

List received messages (newest first). (GET /v1/instances/{id}/messages/received)

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
beforestringPagination cursor: pass nextBefore from the previous page
chatstringOnly this conversation: phone number (digits) or group JID (…@g.us)
limitinteger
qstringText search in the message content
sincestringOnly messages received at or after this time

messages_get

Get a message and its status. (GET /v1/instances/{id}/messages/{messageId})

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
message_id *stringMessage id: the clientMessageId returned by a send, or the WhatsApp id

messages_edit

Edit a sent message. (PATCH /v1/instances/{id}/messages/{messageId})

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
message_id *stringMessage id: the clientMessageId returned by a send, or the WhatsApp id
text *string

messages_delete

Delete a message for everyone. (DELETE /v1/instances/{id}/messages/{messageId})

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
message_id *stringMessage id: the clientMessageId returned by a send, or the WhatsApp id

messages_mark_read

Mark messages as read. (POST /v1/instances/{id}/messages/read)

ParameterTypeDescription
chatId *stringChat the messages belong to: phone (country code + number) or group jid.
instance_id *stringInstance id (from instances_list)
messageIds *arrayWhatsApp ids of the received messages (`data.id` / `key.id` of the incoming webhook).
participantstringIn groups: who sent the messages (phone).

messages_send_presence

Typing / recording / online. (POST /v1/instances/{id}/presence) Phone numbers: country code + area code + number, digits only (e.g. 5511999999999); groups use their JID (…@g.us).

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
presence *stringcomposing = "digitando…", recording = "gravando áudio…", paused = stop.
to *string

instances_health

Sending health and anti-ban state. (GET /v1/instances/{id}/health)

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)

instances_resume

Reconnect the session. (POST /v1/instances/{id}/resume)

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)

sandbox_inbound

Simulate a received message. (POST /v1/sandbox/inbound) Only works with sk_test_ keys.

sandbox_event

Fire any webhook event. (POST /v1/sandbox/events) Only works with sk_test_ keys.

sandbox_set_message_status

Move a test message to a status. (POST /v1/sandbox/messages/{messageId}/status) Only works with sk_test_ keys.

ParameterTypeDescription
message_id *stringMessage id: the clientMessageId returned by a send, or the WhatsApp id

groups_list

List groups. (GET /v1/instances/{id}/groups)

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
participantsbooleanInclude the participant list

groups_create

Create a group. (POST /v1/instances/{id}/groups)

ParameterTypeDescription
instance_id *stringInstance id (from instances_list)
subject *string
participantsarrayPhones (digits, with country code). Optional: the connected number is always the owner.

groups_invite_info

Preview a group from an invite code. (GET /v1/instances/{id}/groups/invite-info)

ParameterTypeDescription
code *string
instance_id *stringInstance id (from instances_list)

groups_join

Join with an invite code. (POST /v1/instances/{id}/groups/join)

ParameterTypeDescription
code *stringInvite code or full link (https://chat.whatsapp.com/…)
instance_id *stringInstance id (from instances_list)

groups_get

Get a group. (GET /v1/instances/{id}/groups/{groupId})

ParameterTypeDescription
group_id *stringGroup JID, e.g. 120363000000000000@g.us (from groups_list)
instance_id *stringInstance id (from instances_list)

groups_update

Update subject, description, picture or settings. (PATCH /v1/instances/{id}/groups/{groupId})

ParameterTypeDescription
group_id *stringGroup JID, e.g. 120363000000000000@g.us (from groups_list)
instance_id *stringInstance id (from instances_list)
announcebooleantrue = only admins send messages
descriptionstring | nullnull or "" removes the description
ephemeralSecondsnumberDisappearing messages: 0 (off), 86400 (24h), 604800 (7d) or 7776000 (90d)
lockedbooleantrue = only admins edit group info
pictureUrlstringImage (JPEG, PNG or WebP) for the group picture
subjectstring

groups_update_participants

Add, remove, promote or demote. (POST /v1/instances/{id}/groups/{groupId}/participants)

ParameterTypeDescription
action *string
group_id *stringGroup JID, e.g. 120363000000000000@g.us (from groups_list)
instance_id *stringInstance id (from instances_list)
participants *array

groups_revoke_invite

Revoke the invite link. (POST /v1/instances/{id}/groups/{groupId}/invite/revoke)

ParameterTypeDescription
group_id *stringGroup JID, e.g. 120363000000000000@g.us (from groups_list)
instance_id *stringInstance id (from instances_list)

groups_leave

Leave the group. (POST /v1/instances/{id}/groups/{groupId}/leave)

ParameterTypeDescription
group_id *stringGroup JID, e.g. 120363000000000000@g.us (from groups_list)
instance_id *stringInstance id (from instances_list)