Connections

POST /connections/{phoneNumber}/group-request-participants-update

Changed on

Approve or reject pending join requests for a group

Request

  • Base URL
    http://localhost:3025
  • Auth
    API key in header x-api-key

Path parameters

phoneNumberstring required
Example:+551234567890

Phone number for connection. Must have + prefix.

Request body

jidstring required

Group JID

participantsstring[] required

Array of participant JIDs to approve or reject

action'approve' | 'reject' required

Action to perform on join requests

Example request

{
  "jid": "123456789012345678@g.us",
  "participants": [
    "551101234567@s.whatsapp.net"
  ],
  "action": "approve"
}

Response

Join requests updated successfully

Changes

    • breaking

      removed the media type application/json for the response with the status

    • breaking

      removed the success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the success response with the status