Connections

POST /connections/{phoneNumber}/group-create

Changed on

Create a new WhatsApp 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

subjectstring required

Group name/subject

participantsstring[] required

Array of participant JIDs to add to the group

Example request

{
  "subject": "My New Group",
  "participants": [
    "551101234567@s.whatsapp.net"
  ]
}

Response

Group created 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